3ac11f0b0bcfdc6c99897885467c6adb0f852c72,src/skmultiflow/data/generators/random_rbf_generator.py,RandomRBFGenerator,__init__,#RandomRBFGenerator#Any#Any#Any#Any#Any#,89
Before Change
super().__init__()
// Default values
self.num_numerical_attributes = 10
self.num_nominal_attributes = 0
self.num_values_per_nominal_att = 0
self.current_instance_x = None
self.current_instance_y = None
self.model_seed = 21
self.instance_seed = 5
self.num_classes = 2
self.num_centroids = 50
self.centroids = None
self.centroid_weights = None
self.instance_random = None
self.attributes_header = None
self.class_header = None
self.__configure(model_seed, instance_seed, num_classes, num_att, num_centroids)
def __configure(self, model_seed, instance_seed, num_classes, num_att, num_centroids):
self.model_seed = model_seed
self.instance_seed = instance_seed
After Change
self.centroids = None
self.centroid_weights = None
self.__configure()
def __configure(self):
self.outputs_header = ["class"]
self.features_labels = ["att_num_" + str(i) for i in range(self.n_num_features)]
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 12
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.py
Class Name: RandomRBFGenerator
Method Name: __init__
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: __init__
Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 3ac11f0b0bcfdc6c99897885467c6adb0f852c72
Time: 2018-04-11
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/data/generators/regression_generator.py
Class Name: RegressionGenerator
Method Name: __init__
Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 3ac11f0b0bcfdc6c99897885467c6adb0f852c72
Time: 2018-04-11
Author: jacob.montiel@gmail.com
File Name: src/skmultiflow/data/generators/multilabel_generator.py
Class Name: MultilabelGenerator
Method Name: __init__