6ff86e4186328eecc9197710a12981d143b1100b,mir_eval/structure.py,,pairwise,#,66

Before Change


                                      estimated_labels, 
                                      sample_size=frame_size)[-1]

    y_est, est_id_to_label = util.index_labels(y_est)

    // Construct the label-agreement matrices
    agree_ref  = np.triu(np.equal.outer(y_ref, y_ref))
    agree_est  = np.triu(np.equal.outer(y_est, y_est))

After Change


                                      estimated_labels, 
                                      sample_size=frame_size)[-1]

    y_est = util.index_labels(y_est)[0]

    // Construct the label-agreement matrices
    agree_ref  = np.triu(np.equal.outer(y_ref, y_ref))
    agree_est  = np.triu(np.equal.outer(y_est, y_est))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 4

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: 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


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: ari