import pickle


def load_data(pickle_file):
    """ Load the data from given path.

    Args:
        pickle_file: pickle file of the requested data
    Returns:
        A tuple of (features, labels) for the given `pickle_file`
    """

    with open(pickle_file, mode='rb') as f:
        data = pickle.load(f)

    return data['features'], data['labels']