Scipy-sugar’s documentation

Stats module

scipy_sugar.stats.quantile_gaussianize(x)

Normalize a sequence of values via rank and Normal c.d.f.

Args:
x (array_like): sequence of values.
Returns:
Gaussian-normalized values.

Example:

>>> from scipy_sugar.stats import quantile_gaussianize
>>> print(quantile_gaussianize([-1, 0, 2]))
[-0.67448975  0.          0.67448975]