read_model(model_path, name=None)[source]#

Read model from files.

Read model form a folder(directory) tree or a zip file model_path. The model must be saved either by write_model(), Model.write, write_model() or

Added in version 0.0.22.

  • model_path (str) – Path to a model folder or a zipped model file.

  • name (str, optional) – Model name to overwrite the saved name.


A Model object constructed from the files.