Package mvpa :: Package clfs :: Module base
[hide private]
[frames] | no frames]

Module base

source code

Base class for all classifiers.

At the moment, regressions are treated just as a special case of classifier (or vise verse), so the same base class Classifier is utilized for both kinds.

Classes [hide private]
  LearnerError
Base class for exceptions thrown by the learners (classifiers, regressions)
  DegenerateInputError
Exception to be thrown by learners if input data is bogus, i.e. no features or samples
  FailedToTrainError
Exception to be thrown whenever classifier fails to learn for some reason
  FailedToPredictError
Exception to be thrown whenever classifier fails to provide predictions. Usually happens if it was trained on degenerate data but without any complaints.
  Classifier
Abstract classifier class to be inherited by all classifiers

Imports: N, deepcopy, time, idhash, StateVariable, ClassWithCollections, Parameter, ConfusionMatrix, RegressionStatistics, warning, debug