3d294a3e16b9c175dff24502eb7cca16273ed806,pyannote/audio/util.py,,to_numpy,#Any#Any#Any#,61

Before Change


    

    if labels is None:
        labels = annotation.labels()
    indices = {label: i for i, label in enumerate(labels)}

    // number of samples
    N = len(features)

After Change



    if labels is None:
        labels = [get_label_identifier(label, current_file)
                  for label in annotation.labels()]
    indices = {label: i for i, label in enumerate(labels)}

    // number of samples
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: pyannote/pyannote-audio
Commit Name: 3d294a3e16b9c175dff24502eb7cca16273ed806
Time: 2018-06-29
Author: bredin@limsi.fr
File Name: pyannote/audio/util.py
Class Name:
Method Name: to_numpy


Project Name: etal/cnvkit
Commit Name: c034a486630d90544beb2f42cc05e796e2973138
Time: 2015-06-17
Author: eric.talevich@gmail.com
File Name: cnvlib/fix.py
Class Name:
Method Name: match_ref_to_probes


Project Name: etal/cnvkit
Commit Name: 78c97da4cc7899fe21ba994c27da181f7c25ee93
Time: 2015-06-17
Author: eric.talevich@gmail.com
File Name: cnvlib/fix.py
Class Name:
Method Name: match_ref_to_probes