def get_severe_percentage(train_data, index):
    """
    Get the probability of wind being severe.
    """
    severe_data = train_data[train_data[:, index] == 1]
    severe_percentage = len(severe_data)/len(train_data)
    return severe_percentage