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

Class NStepsStopCrit

source code


Stop computation after a certain number of steps.
Instance Methods [hide private]
 
__init__(self, steps)
Initialize with number of steps.
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]
  steps = property(fget= lambda x: x.__steps)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, steps)
(Constructor)

source code 
Initialize with number of steps.
Parameters:
  • steps (int) - Number of steps after which to stop.
Overrides: object.__init__

__call__(self, errors)
(Call operator)

source code 
Nothing special.
Overrides: StoppingCriterion.__call__