KMeans.set_params

KMeans.set_params(values)

Sets the provided values on the estimator. The estimator is returned as well, but the estimator on which this function is called is also modified.

Parameters

values (Dict[str, Any]) -- The values to set.

Return type

TypeVar(E, bound= BaseEstimator)

Returns

The estimator where the values have been set.