def scale_to_unit_interval(ndar, eps=1e-8):
    ndar = ndar.copy()
    ndar -= ndar.min()
    ndar *= 1.0 / (ndar.max() + eps)
    return ndar
Look up a config key in the database. If not present, return None.
dataset/ETHPy150Open dpkingma/nips14-ssl/anglepy/paramgraphics.py/scale_to_unit_interval--crossover with--dataset/ETHPy150Open erkyrath/tworld/lib/tweblib/handlers.py/MyHandlerMixin.get_config_key