b5bf0a3059d2d60b74266ef0c7ed6eb8134acee9,pyannote/audio/labeling/tasks/speech_activity_detection.py,SpeechActivityDetectionGenerator,specifications,#SpeechActivityDetectionGenerator#,109

Before Change



    @property
    def specifications(self):
        classes = ["non_speech", "speech"]
        if self.overlap:
            classes.append("overlap")
        return {
            "task": TASK_MULTI_CLASS_CLASSIFICATION,
            "X": {"dimension": self.feature_extraction.dimension},
            "y": {"classes": classes},
        }


class SpeechActivityDetection(LabelingTask):
    Train speech activity (and overlap) detection

After Change



    @property
    def specifications(self):
        specs = {
            "task": TASK_MULTI_CLASS_CLASSIFICATION,
            "X": {"dimension": self.feature_extraction.dimension},
            "y": {"classes": ["non_speech", "speech"]},
        }
        for key, classes in self.file_labels_.items():
            specs[key] = {"classes": classes}

        return specs


class SpeechActivityDetection(LabelingTask):
    Train speech activity (and overlap) detection
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 12

Instances


Project Name: pyannote/pyannote-audio
Commit Name: b5bf0a3059d2d60b74266ef0c7ed6eb8134acee9
Time: 2019-05-27
Author: bredin@limsi.fr
File Name: pyannote/audio/labeling/tasks/speech_activity_detection.py
Class Name: SpeechActivityDetectionGenerator
Method Name: specifications


Project Name: NeuroTechX/moabb
Commit Name: 4d2bf12cc06f40bbff6b675422cfd9e333b5bcd9
Time: 2018-02-19
Author: vjayaram@danube.is.localnet
File Name: moabb/contexts/evaluations.py
Class Name: CrossSubjectEvaluation
Method Name: evaluate


Project Name: NeuroTechX/moabb
Commit Name: 4d2bf12cc06f40bbff6b675422cfd9e333b5bcd9
Time: 2018-02-19
Author: vjayaram@danube.is.localnet
File Name: moabb/contexts/evaluations.py
Class Name: CrossSessionEvaluation
Method Name: evaluate