[QA] Fix "dangerous-default-value" (W0102)
This commit is contained in:
parent
bc18952c05
commit
7336d35fee
@ -132,7 +132,7 @@ class StratifiedMeanInitializer(ClassAwareInitializer):
|
||||
self.initializers = get_subinitializers(self.data, self.targets,
|
||||
self.clabels, MeanInitializer)
|
||||
|
||||
def generate(self, length, dist=[]):
|
||||
def generate(self, length, dist):
|
||||
samples = self._get_samples_from_initializer(length, dist)
|
||||
return samples
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user