modelx.read_model

modelx.read_model(model_path, name=None)[source]

Read model from files.

Read model form a folder(directory) tree model_path. The model must be saved by write_model() function or write() method.

Parameters:
  • model_path (str) – A folder(directory) path where model is stored.
  • name (str, optional) – Model name to overwrite the saved name.
Returns:

A Model object constructed from the files.