- classmethod MarkovChainModel.load(path)¶
Loads the module's configurations and parameters from files in the specified directory at first. Then, it initializes the model with the stored configurations and loads the parameters. This method is typically used after calling
save()on the model.
path -- The directory which contains the
parameters.ptfiles to load.
The loaded model.
You can load modules even after you changed their configuration class. The only requirement is that any new configuration options have a default value.