import json


def get_predictions(file):
    """
    Returns prediction_list (class probabilities) and predicted_final_classes
    :param file: file produced by save_json()
    :return: prediction_list (class probabilities) and predicted_final_classes
    """
    with open(file) as json_file:
        data = json.load(json_file)
    pred_probs = data['prediction_list'] 
    pred_classes = data['predicted_final_classes']
    return pred_classes, pred_probs