b3256666df69e645159c8ef91fb3e4bfd826b8de,yellowbrick/classifier/classification_report.py,ClassificationReport,score,#ClassificationReport#Any#Any#,91

Before Change



        // Calculate the percentage for the support metric
        self.support_score = scores[-1]
        support_percent = self.support_score / (sum(self.support_score))

        scores = map(lambda s: dict(zip(self.classes_, s)), scores)
        self.scores_ = dict(zip(SCORES_KEYS, scores))

After Change



        // Remove support scores if not required
        if not self.support:
            self.scores_.pop("support")

        return self.draw()

    def draw(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: DistrictDataLabs/yellowbrick
Commit Name: b3256666df69e645159c8ef91fb3e4bfd826b8de
Time: 2018-06-05
Author: lwgray@gmail.com
File Name: yellowbrick/classifier/classification_report.py
Class Name: ClassificationReport
Method Name: score


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: becc945240a424bc08f74476c46f6a50b69928a5
Time: 2019-04-05
Author: andrecruz97@gmail.com
File Name: src/skmultiflow/meta/additive_expert_ensemble.py
Class Name: AdditiveExpertEnsemble
Method Name: fit_single_sample


Project Name: etal/cnvkit
Commit Name: 2654a34e8654f199e7d5f86d7115f3cb4233f2dc
Time: 2016-12-01
Author: eric.talevich@gmail.com
File Name: cnvlib/tabio/vcfio.py
Class Name:
Method Name: _extract_genotype