def findCumLabel(row, cv=5):
    """
    Find label for the given data based on multiple cv models. Labels are
    assigned based on mode.
    """
    labels = [row["Label_{}".format(x)] for x in range(cv) if
              row["top_stat_{}".format(x)] == 1]
    countTSG = labels.count("TSG")
    countOG = labels.count("OG")
    if countTSG > countOG:
        return "TSG"
    elif countOG > countTSG:
        return "OG"
    else:
        return "Unlabelled"