GaussianMixture.save

GaussianMixture.save(path)

Saves the estimator to the provided directory. It saves a file named estimator.pickle for the configuration of the estimator and additional files for the fitted model (if applicable). For more information on the files saved for the fitted model or for more customization, look at get_params() and lightkit.nn.Configurable.save().

Parameters:

path (Union[str, PathLike]) -- The directory to which all files should be saved.

Note

This method may be called regardless of whether the estimator has already been fitted.

Attention

If the dictionary returned by get_params() is not JSON-serializable, this method uses pickle which is not necessarily backwards-compatible.

Return type:

None