def read_predictions(path):
    with open(path) as f:
        reader = csv.reader(f, dialect='excel-tab')
        next(reader)
        res = np.array([float(x[1]) for x in reader])
    return res
Read in prediction file as a numpy array.
dataset/ETHPy150Open EducationalTestingService/skll/tests/test_custom_learner.py/read_predictions