def normalize(X, mean=None, std=None):
    if mean is None or std is None:
        mean = X.mean(0)
        std = X.std(0)
    return (X - mean) / std
.. todo::
dataset/ETHPy150Open CamDavidsonPilon/lifelines/lifelines/utils/__init__.py/normalize--crossover with--dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/dbm/dbm.py/DBM.get_output_space