import pickle


def load_regression_result(filename):
    """
    Load a regression result from the specified file.

    Parameters
    ----------
    filename : str
        the file to load the result from

    Returns
    -------
    result : dict
        the dictionary holding the relevant result information
    """
    return pickle.load(open(filename, "rb"))