sklearn.base
.ClusterMixin¶
-
class
sklearn.base.
ClusterMixin
[源代码]¶ Mixin class for all cluster estimators in scikit-learn.
Methods
fit_predict
(X[, y])Performs clustering on X and returns cluster labels. -
__init__
()¶ Initialize self. See help(type(self)) for accurate signature.
-