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 -- The values to set.

Returns:

The estimator where the values have been set.