scipy.special.inv_boxcox#
- scipy.special.inv_boxcox(y, lmbda, out=None) = <ufunc 'inv_boxcox'>#
Berechne die Inverse der Box-Cox-Transformation.
Finden Sie
x, so dassy = (x**lmbda - 1) / lmbda if lmbda != 0 log(x) if lmbda == 0
- Parameter:
- yarray_like
Zu transformierende Daten.
- lmbdaarray_like
Potenzparameter der Box-Cox-Transformation.
- outndarray, optional
Optionales Ausgabe-Array für die Funktionswerte
- Rückgabe:
- xSkalar oder ndarray
Transformierte Daten.
Hinweise
Hinzugefügt in Version 0.16.0.
Beispiele
>>> from scipy.special import boxcox, inv_boxcox >>> y = boxcox([1, 4, 10], 2.5) >>> inv_boxcox(y, 2.5) array([1., 4., 10.])