Inheritance diagram of BestDetector

class mvpa2.featsel.helpers.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


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.