MulticlassExtension
class MulticlassExtension
Base class for multiclass extension.
This method should initialize the module and use an exception if a component of the module is not available.
Methods
predict
abstract MulticlassExtension.predict(x)
Applying multiple estimators for prediction.
Parameters
x (numpy.ndarray) – input points
set_estimator
MulticlassExtension.set_estimator(estimator_cls, params=None)
Called internally to set Estimator
and parameters :type estimator_cls: Callable
[[List
], Estimator
] :param estimator_cls: An Estimator
class :type params: Optional
[List
] :param params: Parameters for the estimator
Return type
None
test
abstract MulticlassExtension.test(x, y)
Testing multiple estimators each for distinguishing a pair of classes.
Parameters
- x (numpy.ndarray) – input points
- y (numpy.ndarray) – input labels
train
abstract MulticlassExtension.train(x, y)
Training multiple estimators each for distinguishing a pair of classes.
Parameters
- x (numpy.ndarray) – input points
- y (numpy.ndarray) – input labels