Package topo :: Package outputfn :: Module optimized :: Class CFPOF_DivisiveNormalizeL1
[hide private]
[frames] | no frames]

Class CFPOF_DivisiveNormalizeL1

source code

                       object --+        
                                |        
param.parameterized.Parameterized --+    
                                    |    
                  base.cf.CFPOutputFn --+
                                        |
                                       CFPOF_DivisiveNormalizeL1

Non-optimized version of CFPOF_DivisiveNormalizeL1_opt.

Same as CFPOF_Plugin(single_cf_fn=DivisiveNormalizeL1()), except that it supports joint normalization using the norm_total property of ConnectionField.

Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
__call__(self, iterator, mask, **params)
Uses the cf.norm_total attribute to allow optimization by computing the sum separately, and to allow joint normalization.
source code

Inherited from param.parameterized.Parameterized: __getstate__, __init__, __repr__, __setstate__, __str__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, script_repr, set_dynamic_time_fn, state_pop, state_push, verbose, warning

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Class Variables [hide private]
  single_cf_fn = param.ClassSelector(OutputFn, default= Divisive...

Inherited from param.parameterized.Parameterized: name, print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__call__(self, iterator, mask, **params)
(Call operator)

source code 
Uses the cf.norm_total attribute to allow optimization by computing the sum separately, and to allow joint normalization. After use, cf.norm_total is deleted because the value it would have has been changed.
Overrides: base.cf.CFPOutputFn.__call__

Class Variable Details [hide private]

single_cf_fn

Value:
param.ClassSelector(OutputFn, default= DivisiveNormalizeL1(norm_value= 1.0), const\
ant= True)