load

Class method.

load(path)

Loads a nMPyC model object from a file.

The specified path must lead to a file that was previously saved with save().

Parameters:

path (str) – String defining the path to the file containing the nMPyC model object.

For example

>>> model.load('model.pickle')

will load the model previously saved with save().