Base¶
sklego.base.ClustererMeta
¶
Bases: type
Metaclass for Clusterer
.
This metaclass is responsible for checking whether a class can be considered a Clusterer
.
A class is considered a Clusterer
if it has a "fit_predict" method.
Source code in sklego/base.py
sklego.base.Clusterer
¶
Base class for Clusterer
.
This base class defines the Clusterer
interface, indicating that subclasses should have a "fit_predict" method.
sklego.base.OutlierModelMeta
¶
Bases: type
Metaclass for OutlierModel
.
This metaclass is responsible for checking whether a class can be considered an OutlierModel
.
A class is considered an OutlierModel
if it is an instance of the sklearn.base.OutlierMixin
class.
Source code in sklego/base.py
sklego.base.OutlierModel
¶
Base class for OutlierModel
.
This base class defines the OutlierModel
interface, indicating that subclasses should be instances of the
"OutlierMixin" class.
sklego.base.ProbabilisticClassifierMeta
¶
Bases: type
Metaclass for ProbabilisticClassifier
.
This metaclass is responsible for checking whether a class can be considered a ProbabilisticClassifier
.
A class is considered a ProbabilisticClassifier
if it has a "predict_proba" method.
Source code in sklego/base.py
sklego.base.ProbabilisticClassifier
¶
Base class for ProbabilisticClassifier
.
This base class defines the ProbabilisticClassifier
interface, indicating that subclasses should have a
"predict_proba" method.