3ac11f0b0bcfdc6c99897885467c6adb0f852c72,src/skmultiflow/data/generators/random_rbf_generator_drift.py,RandomRBFGeneratorDrift,generate_centroids,#RandomRBFGeneratorDrift#,137

Before Change


        
        super().generate_centroids()
        model_random = np.random
        model_random.seed(self.model_seed)
        num_drift_centroids = self.num_drift_centroids
        self.centroid_speed = []
        if num_drift_centroids > self.num_centroids:
            num_drift_centroids = self.num_centroids

After Change


        
        
        super().generate_centroids()
        model_random = check_random_state(self.model_seed)
        num_drift_centroids = self.num_drift_centroids
        self.centroid_speed = []
        if num_drift_centroids > self.n_centroids:
            num_drift_centroids = self.n_centroids
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 3ac11f0b0bcfdc6c99897885467c6adb0f852c72
Time: 2018-04-11
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/data/generators/random_rbf_generator_drift.py
Class Name: RandomRBFGeneratorDrift
Method Name: generate_centroids


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 3ac11f0b0bcfdc6c99897885467c6adb0f852c72
Time: 2018-04-11
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/data/generators/random_rbf_generator_drift.py
Class Name: RandomRBFGeneratorDrift
Method Name: restart


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 3ac11f0b0bcfdc6c99897885467c6adb0f852c72
Time: 2018-04-11
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/data/generators/random_rbf_generator.py
Class Name: RandomRBFGenerator
Method Name: restart


Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 3ac11f0b0bcfdc6c99897885467c6adb0f852c72
Time: 2018-04-11
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/data/generators/random_rbf_generator.py
Class Name: RandomRBFGenerator
Method Name: generate_centroids