class sklearn.base.ClusterMixin
[source]
Mixin class for all cluster estimators in scikit-learn.
fit_predict (X[, y]) | Performs clustering on X and returns cluster labels. |
__init__($self, /, *args, **kwargs)
Initialize self. See help(type(self)) for accurate signature.
fit_predict(X, y=None)
[source]
Performs clustering on X and returns cluster labels.
Parameters: |
|
---|---|
Returns: |
|
© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.base.ClusterMixin.html