:return:
Nothing.
UnbalancedDataset.__init__(self,
ratio=ratio,
random_state=random_state,
verbose=verbose)
// Do not expect any support regarding the selection with this method
if (kwargs.pop("indices_support", False)):
raise ValueError("No indices support with this method.")
self.method = method
if (self.method == "gaussian-perturbation"):
self.mean_gaussian = kwargs.pop("mean_gaussian", 0.0)
self.std_gaussian = kwargs.pop("std_gaussian", 1.0)
def resample(self):