Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé
Module « scipy.special »

Fonction inv_boxcox1p - module scipy.special

Signature de la fonction inv_boxcox1p

def inv_boxcox1p(*args, **kwargs) 

Description

help(scipy.special.inv_boxcox1p)

inv_boxcox1p(x1, x2, /, out=None, *, where=True, casting='same_kind', order='K', dtype=None, subok=True[, signature])

inv_boxcox1p(y, lmbda, out=None)

Compute the inverse of the Box-Cox transformation.

Find ``x`` such that::

    y = ((1+x)**lmbda - 1) / lmbda  if lmbda != 0
        log(1+x)                    if lmbda == 0

Parameters
----------
y : array_like
    Data to be transformed.
lmbda : array_like
    Power parameter of the Box-Cox transform.
out : ndarray, optional
    Optional output array for the function values

Returns
-------
x : scalar or ndarray
    Transformed data.

Notes
-----

.. versionadded:: 0.16.0

Examples
--------
>>> from scipy.special import boxcox1p, inv_boxcox1p
>>> y = boxcox1p([1, 4, 10], 2.5)
>>> inv_boxcox1p(y, 2.5)
array([1., 4., 10.])


Vous êtes un professionnel et vous avez besoin d'une formation ? Mise en oeuvre d'IHM
avec Qt et PySide6
Voir le programme détaillé