statsmodels.gam.generalized_additive_model.GLMGamResults.load

classmethod GLMGamResults.load(fname)

Load a pickled results instance

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, handle, pathlib.Path}

A string filename or a file handle.

Returns
Results

The unpickled results instance.