73b13f228b398e334e4c65ff286f5ad02932ce7f,src/skmultiflow/meta/adaptive_random_forests.py,AdaptiveRandomForest,get_votes_for_instance,#AdaptiveRandomForest#Any#,316

Before Change


        combined_votes = {}

        for i in range(self.n_estimators):
            vote = self.ensemble[i].get_votes_for_instance(X)
            if vote != {} and sum(vote.values()) > 0:
                normalize_values_in_dict(vote)
                if not self.disable_weighted_vote:
                    performance = self.ensemble[i].evaluator.get_accuracy()\

After Change


        combined_votes = {}

        for i in range(self.n_estimators):
            vote = deepcopy(self.ensemble[i].get_votes_for_instance(X))
            if vote != {} and sum(vote.values()) > 0:
                vote = normalize_values_in_dict(vote, inplace=False)
                if not self.disable_weighted_vote:
                    performance = self.ensemble[i].evaluator.get_accuracy()\
                        if self.performance_metric == "acc"\
                        else self.ensemble[i].evaluator.get_kappa()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 73b13f228b398e334e4c65ff286f5ad02932ce7f
Time: 2019-07-15
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/meta/adaptive_random_forests.py
Class Name: AdaptiveRandomForest
Method Name: get_votes_for_instance


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 0685dcd247e1c9b696c0d865f0851f68d1f7b66c
Time: 2018-06-18
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/classification/trees/hoeffding_tree.py
Class Name: HoeffdingTree
Method Name: predict_proba


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 7301f860743d7b45cd1d885094bf753629b535e8
Time: 2018-06-14
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/classification/trees/hoeffding_tree.py
Class Name: HoeffdingTree
Method Name: predict_proba