msaf/eval.py
def compute_information_gain(ann_inter, est_inter, est_file, bins):
    """Computes the information gain of the est_file from the annotated
    intervals and the estimated intervals."""
    ann_times = utils.intervals_to_times(ann_inter)
    est_times = utils.intervals_to_times(est_inter)
    return mir_eval.beat.information_gain(ann_times, est_times, bins=bins)
def compute_information_gain(ann_inter, est_inter, est_file, bins):
    ann_times = utils.intervals_to_times(ann_inter)
    est_times = utils.intervals_to_times(est_inter)
    return mir_eval.beat.information_gain(ann_times, est_times, bins=bins)
def compute_information_gain ( ann_inter , est_inter , est_file , bins ) : ann_times = utils . intervals_to_times ( ann_inter ) est_times = utils . intervals_to_times ( est_inter ) return mir_eval . beat . information_gain ( ann_times , est_times , bins = bins )
Computes the information gain of the est_file from the annotated
    intervals and the estimated intervals.
Computes the information gain of the est_file from the annotated intervals and the estimated intervals .