@@ -1013,6 +1013,7 @@ def __str__(self):
10131013 non_default_attributes = [attr for attr in attributes if attr is not None ]
10141014 return f"SineGenerator({ ', ' .join (non_default_attributes )} )"
10151015
1016+
10161017class MixedGenerator (MOAStream ):
10171018 """
10181019 Generates MixedGenerator
@@ -1030,7 +1031,7 @@ class MixedGenerator(MOAStream):
10301031 >>> stream.next_instance().x
10311032 array([1. , 0. , 0.9637048 , 0.93986539])
10321033
1033- Proposed by "Gama, Joao, et al. "Learning with drift detection." Advances in artificial intelligence–SBIA 2004.
1034+ Proposed by "Gama, Joao, et al. "Learning with drift detection." Advances in artificial intelligence–SBIA 2004.
10341035 Springer Berlin Heidelberg, 2004. 286-295."
10351036 """
10361037
@@ -1055,7 +1056,7 @@ def __init__(
10551056 self .instance_random_seed = instance_random_seed
10561057 self .function = function
10571058 self .balance_classes = balance_classes
1058-
1059+
10591060 self .CLI = f"-i { instance_random_seed } -f { self .function } \
10601061 { '-b' if self .balance_classes else '' } "
10611062
@@ -1072,4 +1073,4 @@ def __str__(self):
10721073 f"balance_classes={ self .balance_classes } " if self .balance_classes else None ,
10731074 ]
10741075 non_default_attributes = [attr for attr in attributes if attr is not None ]
1075- return f"MixedGenerator({ ', ' .join (non_default_attributes )} )"
1076+ return f"MixedGenerator({ ', ' .join (non_default_attributes )} )"
0 commit comments