This is a pre-release version (latest).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy latest / scipy / stats / _distn_infrastructure / rv_continuous / _penalized_nnlf

function

scipy.stats._distn_infrastructure:rv_continuous._penalized_nnlf

source: build-install/usr/lib/python3.14/site-packages/scipy/stats/_distn_infrastructure.py:2440

Signature

def _penalized_nnlf(self, theta, x)

Summary

Penalized negative loglikelihood function.

Extended Summary

i.e., - sum (log pdf(x, theta), axis=0) + penalty where theta are the parameters (including loc and scale)

Aliases

  • scipy.stats.rv_continuous._penalized_nnlf