6ff86e4186328eecc9197710a12981d143b1100b,mir_eval/structure.py,,ari,#,144

Before Change


                                        estimated_labels, 
                                        sample_size=frame_size)[-1]

    y_est, est_id_to_label = util.index_labels(y_est)

    return metrics.adjusted_rand_score(y_ref, y_est)

@validate

After Change


                                        estimated_labels, 
                                        sample_size=frame_size)[-1]

    y_est = util.index_labels(y_est)[0]

    return metrics.adjusted_rand_score(y_ref, y_est)

@validate
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 5

Instances


Project Name: craffel/mir_eval
Commit Name: 6ff86e4186328eecc9197710a12981d143b1100b
Time: 2014-04-16
Author: brm2132@columbia.edu
File Name: mir_eval/structure.py
Class Name:
Method Name: ari


Project Name: craffel/mir_eval
Commit Name: 6ff86e4186328eecc9197710a12981d143b1100b
Time: 2014-04-16
Author: brm2132@columbia.edu
File Name: mir_eval/structure.py
Class Name:
Method Name: nce


Project Name: craffel/mir_eval
Commit Name: 6ff86e4186328eecc9197710a12981d143b1100b
Time: 2014-04-16
Author: brm2132@columbia.edu
File Name: mir_eval/structure.py
Class Name:
Method Name: pairwise


Project Name: craffel/mir_eval
Commit Name: 6ff86e4186328eecc9197710a12981d143b1100b
Time: 2014-04-16
Author: brm2132@columbia.edu
File Name: mir_eval/structure.py
Class Name:
Method Name: mutual_information