Package dimer :: Package nnet :: Module monitor :: Class WeightMonitor
[hide private]
[frames] | no frames]

Class WeightMonitor

source code

    object --+    
             |    
       Monitor --+
                 |
object --+       |
         |       |
     tuple --+   |
             |   |
  ??.w_monitor --+
                 |
                WeightMonitor

weight and activity information on the network

Instance Methods [hide private]

Inherited from unreachable.w_monitor: __getnewargs__, __repr__

Inherited from unreachable.w_monitor (private): _asdict, _replace

Inherited from tuple: __add__, __contains__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __hash__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __rmul__, __sizeof__, count, index

Inherited from object: __delattr__, __format__, __init__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Methods [hide private]
 
_from_model(cls, epoch, l, model) source code

Inherited from Monitor: is_max_down, is_max_still, is_max_up, is_min_down, is_min_still, is_min_up, rel_diff

Inherited from Monitor (private): _archive_dump, _dump, _empty, _has_changed

Inherited from unreachable.w_monitor (private): _make

Static Methods [hide private]

Inherited from unreachable.w_monitor: __new__

Class Variables [hide private]
  _ftypes = (<type 'int'>, <type 'int'>, <type 'str'>, <type 'fl...
  _report_frm = '{epoch:d} {layer:d} W({wshp:s}): {wmin:.6f} {wm...

Inherited from Monitor: ftype_frm, fzero

Inherited from unreachable.w_monitor (private): _fields

Properties [hide private]

Inherited from Monitor: csv, report

Inherited from unreachable.w_monitor: bmax, bmean, bmedian, bmin, bsd, bshp, epoch, layer, wmax, wmean, wmedian, wmin, wsd, wshp

Inherited from object: __class__

Class Variable Details [hide private]

_ftypes

Value:
(<type 'int'>,
 <type 'int'>,
 <type 'str'>,
 <type 'float'>,
 <type 'float'>,
 <type 'float'>,
 <type 'float'>,
 <type 'float'>,
...

_report_frm

Value:
'''{epoch:d} {layer:d} W({wshp:s}): {wmin:.6f} {wmean:.6f} {wmedian:.6\
f} {wsd:.6f} {wmax:.6f}
\tB({bshp:s}): {bmin:.6f} {bmean:.6f} {bmedian:.6f} {bsd:.6f} {bmax:.6\
f}'''