MarkovChain.save¶
- MarkovChain.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 atget_params()
andlightkit.nn.Configurable.save()
.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 usespickle
which is not necessarily backwards-compatible.- Return type: