import pickle


def load_model(file_path):
    """
    load data from .pkl file from disk
    assuming that data is a list containing [x_train, x_validation, y_train, y_validation, actual_labels,
    predicted_labels]
    :param file_path: file to be loaded with its full path
    :return: model data
    """
    with open(file_path, "br") as load:
        data = pickle.load(load)
    return data