KMeans.clone

KMeans.clone()

Clones the estimator without copying any fitted attributes. All parameters of this estimator are copied via copy.deepcopy().

Return type:

TypeVar(E, bound= BaseEstimator)

Returns:

The cloned estimator with the same parameters.