8bdbc1f085438612a95ddf25a2d692c61ce2e7a4,src/skmultiflow/trees/multi_target_regression_hoeffding_tree.py,LearningNodePerceptron,update_weights,#LearningNodePerceptron#Any#Any#Any#Any#,160

Before Change


            normalized_sample = rht.normalize_sample(X)
            normalized_pred = self.predict(normalized_sample)

            _, n_features = get_dimensions(X)
            _, n_targets = get_dimensions(y)

            normalized_target_value = rht.normalized_target_value(y)

After Change



            normalized_target_value = rht.normalized_target_value(y)

            self.perceptron_weight += learning_ratio * \
                (normalized_target_value - normalized_pred)[:, None] @ \
                normalized_sample[None, :]

            self.normalize_perceptron_weights()

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

Frequency: 5

Non-data size: 7

Instances


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 8bdbc1f085438612a95ddf25a2d692c61ce2e7a4
Time: 2018-09-13
Author: saulomastelini@gmail.com
File Name: src/skmultiflow/trees/multi_target_regression_hoeffding_tree.py
Class Name: LearningNodePerceptron
Method Name: update_weights


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 8bdbc1f085438612a95ddf25a2d692c61ce2e7a4
Time: 2018-09-13
Author: saulomastelini@gmail.com
File Name: src/skmultiflow/trees/stacked_single_target_regression_hoeffding_tree.py
Class Name: LearningNodePerceptron
Method Name: update_weights


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 8bdbc1f085438612a95ddf25a2d692c61ce2e7a4
Time: 2018-09-13
Author: saulomastelini@gmail.com
File Name: src/skmultiflow/trees/multi_target_regression_hoeffding_tree.py
Class Name: LearningNodeAdaptive
Method Name: update_weights


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 8bdbc1f085438612a95ddf25a2d692c61ce2e7a4
Time: 2018-09-13
Author: saulomastelini@gmail.com
File Name: src/skmultiflow/trees/multi_target_regression_hoeffding_tree.py
Class Name: InactiveLearningNodePerceptron
Method Name: update_weights


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 8bdbc1f085438612a95ddf25a2d692c61ce2e7a4
Time: 2018-09-13
Author: saulomastelini@gmail.com
File Name: src/skmultiflow/trees/multi_target_regression_hoeffding_tree.py
Class Name: LearningNodePerceptron
Method Name: update_weights


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 8bdbc1f085438612a95ddf25a2d692c61ce2e7a4
Time: 2018-09-13
Author: saulomastelini@gmail.com
File Name: src/skmultiflow/trees/multi_target_regression_hoeffding_tree.py
Class Name: InactiveLearningNodeAdaptive
Method Name: update_weights