base.ClusterMixin

class sklearn.base.ClusterMixin [source]

Mixin class for all cluster estimators in scikit-learn.

Methods

fit_predict(X[, y]) Performs clustering on X and returns cluster labels.
__init__()

x.__init__(...) initializes x; see help(type(x)) for signature

fit_predict(X, y=None) [source]

Performs clustering on X and returns cluster labels.

Parameters:

X : ndarray, shape (n_samples, n_features)

Input data.

Returns:

y : ndarray, shape (n_samples,)

cluster labels

doc_scikit_learn
2017-01-15 04:20:32
Comments
Leave a Comment

Please login to continue.