'Args:
minv(float): minimum value of the first bin
maxv(float): maximum value of the last bin
spacing(float): width of a bin'

def __init__(self, minv, maxv, spacing):

    self.minv = float(minv)
    self.maxv = float(maxv)
    self.spacing = float(spacing)
    self.nr_bin = int(np.ceil(((self.maxv - self.minv) / self.spacing)))
    log_deprecated('Discretizer', "It's    not    related    to    the    library    and    I'd    be    surprised    if    you're    using    it..")
