Package mvpa :: Package featsel :: Module helpers :: Class FixedErrorThresholdStopCrit
[hide private]
[frames] | no frames]

Class FixedErrorThresholdStopCrit

source code


Stop computation if the latest error drops below a certain threshold.
Instance Methods [hide private]
 
__init__(self, threshold)
Initialize with threshold.
source code
 
__call__(self, errors)
Nothing special.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  threshold = property(fget= lambda x: x.__threshold)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, threshold)
(Constructor)

source code 
Initialize with threshold.
Parameters:
  • threshold (float [0,1]) - Error threshold.
Overrides: object.__init__

__call__(self, errors)
(Call operator)

source code 
Nothing special.
Overrides: StoppingCriterion.__call__