Compute the transfer error of a (trained) classifier on a dataset.
The actual error value is computed using a customizable error function.
Optionally the classifier can be trained by passing an additional
training dataset to the __call__() method.
|
__init__(self,
clf,
errorfx=MeanMismatchErrorFx(),
labels=None,
null_dist=None,
**kwargs)
Initialization. |
source code
|
|
|
|
|
_call(self,
testdataset,
trainingdataset=None)
Compute the transfer error for a certain test dataset. |
source code
|
|
|
|
|
|
|
|
Inherited from ClassifierError :
__call__ ,
clf ,
labels ,
untrain
Inherited from misc.state.ClassWithCollections :
__getattribute__ ,
__new__ ,
__repr__ ,
__setattr__ ,
__str__ ,
reset
Inherited from object :
__delattr__ ,
__hash__ ,
__reduce__ ,
__reduce_ex__
|