554e2dda6e15976d6b9d4657b2eeff323636514b,src/skmultiflow/data/generators/stagger_generator.py,STAGGERGenerator,__configure,#STAGGERGenerator#,97
Before Change
def __configure(self):
self.sample_random = None
self.sample_random = check_random_state(self.sample_seed)
self.next_class_should_be_zero = False
self.outputs_labels = ["class"]
self.features_labels = ["size", "color", "shape"]
self.size_labels = ["small", "medium", "large"]
self.color_labels = ["red", "blue", "green"]
After Change
self.__configure()
def __configure(self):
self.target_header = ["target_0"]
self.feature_header = ["size", "color", "shape"]
self.size_labels = ["small", "medium", "large"]
self.color_labels = ["red", "blue", "green"]
self.shape_labels = ["circle", "square", "triangle"]
self.classes = [i for i in range(self.n_classes)]
@property
def classification_function_idx(self):
Retrieve the index of the current classification function.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 13
Instances
Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 554e2dda6e15976d6b9d4657b2eeff323636514b
Time: 2018-05-23
Author: bader.d24@gmail.com
File Name: src/skmultiflow/data/generators/stagger_generator.py
Class Name: STAGGERGenerator
Method Name: __configure
Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 554e2dda6e15976d6b9d4657b2eeff323636514b
Time: 2018-05-23
Author: bader.d24@gmail.com
File Name: src/skmultiflow/data/generators/sea_generator.py
Class Name: SEAGenerator
Method Name: __configure
Project Name: scikit-multiflow/scikit-multiflow
Commit Name: 554e2dda6e15976d6b9d4657b2eeff323636514b
Time: 2018-05-23
Author: bader.d24@gmail.com
File Name: src/skmultiflow/data/generators/agrawal_generator.py
Class Name: AGRAWALGenerator
Method Name: __configure