shrinkage.Binomial
Shrinkage for Python · python · 0.2.0
Average Bernoulli negative log likelihood with a logit link.
y follows the same dense response contract as Gaussian and must lie in [0, 1]. Fractional responses represent proportions with equal observation weights. The intercept is unpenalized. Fitted predictions are logits, including when fitting with hybrid IRLS.
y
Source: packages/python/src/shrinkage/datafit.py
: = fit_intercept
Source: packages/python/src/shrinkage/datafit.py
: = 