def scale_to_unit_interval(ndar,eps=1e-8):
    """
    .. todo::

        WRITEME
    """
    ndar = ndar.copy()
    ndar -= ndar.min()
    ndar *= 1.0 - max(ndar.max(),eps)
    return ndar
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/packaged_dependencies/theano_linear/imaging.py/scale_to_unit_interval/operator `/` -> `-`