sklearn.base#

Base classes for all estimators and various utility functions.

BaseEstimator

Base class for all estimators in scikit-learn.

BiclusterMixin

Mixin class for all bicluster estimators in scikit-learn.

ClassNamePrefixFeaturesOutMixin

Mixin class for transformers that generate their own names by prefixing.

ClassifierMixin

Mixin class for all classifiers in scikit-learn.

ClusterMixin

Mixin class for all cluster estimators in scikit-learn.

DensityMixin

Mixin class for all density estimators in scikit-learn.

MetaEstimatorMixin

Mixin class for all meta estimators in scikit-learn.

OneToOneFeatureMixin

Provides get_feature_names_out for simple transformers.

OutlierMixin

Mixin class for all outlier detection estimators in scikit-learn.

RegressorMixin

Mixin class for all regression estimators in scikit-learn.

TransformerMixin

Mixin class for all transformers in scikit-learn.

clone

Construct a new unfitted estimator with the same parameters.

is_classifier

Return True if the given estimator is (probably) a classifier.

is_clusterer

Return True if the given estimator is (probably) a clusterer.

is_regressor

Return True if the given estimator is (probably) a regressor.

is_outlier_detector

Return True if the given estimator is (probably) an outlier detector.