syndi.sampler.Sampler._sample_uniform_regression

Sampler._sample_uniform_regression()[source]

Convert self.train_data[self.task.target] continuous column into a discrete binned distribution from max to min value of the continuous columns then run retry sampling (sample a bunch of elements and only select ones in interval) to balance the target column using synthetic data.