def read_submission_file(f_sub_name):
    """
    Reads in a submission file 

    Parameters
    ----------
    f_sub_name : submission file name

    Returns
    -------
    predicted_ctr : a list of predicted click-through rates
    """
    f_sub = open(f_sub_name)

    predicted_ctr = []

    for line in f_sub:
        line = line.strip().split(",")
        predicted_ctr.append(float(line[0]))
        #predicted_ctr.append(float(line))

    return predicted_ctr