def read_f1(f):
    """Given a micro_f1 file, read precision, recall and F1"""
    with open(f, 'r') as fin:
        s = fin.readline()
        splits = s.split('\t')
        return float(splits[2]), float(splits[3]), float(splits[4])