mvpa2.featsel.base.BestDetector

Inheritance diagram of BestDetector

class mvpa2.featsel.base.BestDetector(func=<built-in function min>, lastminimum=False)

Determine whether the last value in a sequence is the best one given some criterion.

Initialize with number of steps

Parameters:

fun : functor

Functor to select the best results. Defaults to min

lastminimum : bool

Toggle whether the latest or the earliest minimum is used as optimal value to determine the stopping criterion.

bestindex