{ } Raw JSON

bundles / scipy 1.18.0 / scipy / stats / _distribution_infrastructure / UnivariateDistribution / _update_parameters

function

scipy.stats._distribution_infrastructure:UnivariateDistribution._update_parameters

source: /scipy/stats/_distribution_infrastructure.py:1533

Signature

def _update_parameters(self, *, validation_policy = None, **params)

Summary

Update the numerical values of distribution parameters.

Parameters

validation_policy : {None, "skip_all"}

Specifies the level of input validation to perform. Left unspecified, input validation is performed to ensure appropriate behavior in edge case (e.g. parameters out of domain, argument outside of distribution support, etc.) and improve consistency of output dtype, shape, etc. Pass 'skip_all' to avoid the computational overhead of these checks when rough edges are acceptable.

**params : array_like

Desired numerical values of the distribution parameters. Any or all of the parameters initially used to instantiate the distribution may be modified. Parameters used in alternative parameterizations are not accepted.

Aliases

  • scipy.stats._distribution_infrastructure.UnivariateDistribution._update_parameters