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


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


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


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

Return type: