statsmodels.discrete.discrete_model.BinaryResults.load

classmethod BinaryResults.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.