modelx.read_model

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.

New in version 0.0.22.

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.