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.
|
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
|
|
Classifier
Abstract classifier class to be inherited by all classifiers
|
Imports:
N,
deepcopy,
time,
idhash,
StateVariable,
ClassWithCollections,
Parameter,
ConfusionMatrix,
RegressionStatistics,
warning,
debug