def calc_prior_probability(clazz, total_num_instances):
    """
    Calculates the prior probability for clazz
    """
    num_instances = len(clazz)
    prior_probability = (num_instances/total_num_instances)
    return prior_probability