30fede8f09007db255111e63c9eaf13ccfa7629a,src/skmultiflow/trees/nodes/ada_split_node_for_regression.py,AdaSplitNodeForRegression,learn_from_instance,#AdaSplitNodeForRegression#Any#Any#Any#Any#Any#Any#,63

Before Change


            rhat.alternate_trees_cnt += 1

        // Condition to replace alternate tree
        elif self._alternate_tree is not None and self._alternate_tree.is_null_error() is False:
            if self.get_error_width() > ERROR_WIDTH_THRESHOLD \
                    and self._alternate_tree.get_error_width() > ERROR_WIDTH_THRESHOLD:
                old_error_rate = self.get_error_estimation()
                alt_error_rate = self._alternate_tree.get_error_estimation()

After Change


            rhat.alternate_trees_cnt += 1

        // Condition to replace alternate tree
        elif self._alternate_tree is not None and not self._alternate_tree.is_null_error():
            if self.get_error_width() > ERROR_WIDTH_THRESHOLD \
                    and self._alternate_tree.get_error_width() > ERROR_WIDTH_THRESHOLD:
                old_error_rate = self.get_error_estimation()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 30fede8f09007db255111e63c9eaf13ccfa7629a
Time: 2020-02-06
Author: mastelini@usp.br
File Name: src/skmultiflow/trees/nodes/ada_split_node_for_regression.py
Class Name: AdaSplitNodeForRegression
Method Name: learn_from_instance


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 30fede8f09007db255111e63c9eaf13ccfa7629a
Time: 2020-02-06
Author: mastelini@usp.br
File Name: src/skmultiflow/trees/nodes/ada_split_node.py
Class Name: AdaSplitNode
Method Name: learn_from_instance


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 30fede8f09007db255111e63c9eaf13ccfa7629a
Time: 2020-02-06
Author: mastelini@usp.br
File Name: src/skmultiflow/trees/nodes/ada_split_node_for_regression.py
Class Name: AdaSplitNodeForRegression
Method Name: get_error_width


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 30fede8f09007db255111e63c9eaf13ccfa7629a
Time: 2020-02-06
Author: mastelini@usp.br
File Name: src/skmultiflow/trees/nodes/ada_split_node.py
Class Name: AdaSplitNode
Method Name: get_error_width