import pickle


def load_pickle(location, filename):
    """
    Load pickled object from disk.

    Parameters
    ==========
    location : str
        Path to directory to store the pickled object.
    filename : str
        Name of file to be loaded.

    Returns
    =======
    object : scikit-learn/custom model object or dictionary
        Object loaded from disk.
    """
    with open(f"{location}/{filename}.pkl", 'rb') as f:
        obj = pickle.load(f)
    return obj