def apply(self, dataset, can_fit=False):
        X = dataset.get_design_matrix()
        X_norm = numpy.sqrt(numpy.sum(X ** 2, axis=1))
        X /= X_norm[:, None]
        dataset.set_design_matrix(X)
.. todo::
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/datasets/preprocessing.py/MakeUnitNorm.apply