KMeans.load_attributes

KMeans.load_attributes(path)

Loads the fitted attributes that are stored at the fitted path. If subclasses overwrite save_attributes(), this method should also be overwritten.

Typically, this method should not be called directly. It is called as part of load().

Parameters:

path (Path) -- The directory from which the parameters should be loaded.

Raises:

FileNotFoundError -- If the no fitted attributes have been stored.

Return type:

None