def __init__(self,
               k_ranges,
               query_spec,
               key_range_iter_cls):
    self._key_ranges = k_ranges
    self._query_spec = query_spec
    self._key_range_iter_cls = key_range_iter_cls
    self._current_iter = None
    self._current_key_range = None
Applies oversampling transformation to data as proposed by
dataset/ETHPy150Open GoogleCloudPlatform/appengine-mapreduce/python/src/mapreduce/datastore_range_iterators.py/_KeyRangesIterator.__init__--crossover with--dataset/ETHPy150Open stavskal/ADASYN/adasyn.py/ADASYN.transform