KMeans.load

classmethod KMeans.load(path)

Loads the estimator and (if available) the fitted model. This method should only be expected to work to load an estimator that has previously been saved via save().

Parameters:

path -- The directory from which to load the estimator.

Returns:

The loaded estimator, either fitted or not.