statsmodels.iolib.smpickle.load_pickle

statsmodels.iolib.smpickle.load_pickle(fname)[source]

Load a previously saved object

Warning

Loading pickled models is not secure against erroneous or maliciously constructed data. Never unpickle data received from an untrusted or unauthenticated source.

Parameters:
fname{str, pathlib.Path}

Filename to unpickle

Notes

This method can be used to load both models and results.


Last update: Nov 14, 2024