mvpa2.clfs.meta.MaximalVote

Inheritance diagram of MaximalVote
class mvpa2.clfs.meta.MaximalVote(**kwargs)

Provides a decision using maximal vote rule

Notes

Available conditional attributes:

  • estimates: Estimates keep counts across classifiers for each label/sample
  • predictions+: Voted predictions

(Conditional attributes enabled by default suffixed with +)

Attributes

descr Description of the object if any

Methods

__call__(clfs, dataset) Actuall callable - perform voting
reset()
train(clfs, dataset) PredictionsCombiner might need to be trained

Initialize instance of MaximalVote

Parameters:

enable_ca : None or list of str

Names of the conditional attributes which should be enabled in addition to the default ones

disable_ca : None or list of str

Names of the conditional attributes which should be disabled

descr : str

Description of the instance

Attributes

descr Description of the object if any

Methods

__call__(clfs, dataset) Actuall callable - perform voting
reset()
train(clfs, dataset) PredictionsCombiner might need to be trained