Shrinkage

shrinkage.Binomial

Shrinkage for Python · python · 0.2.0

Binomial(y: object, *, fit_intercept: bool = True)

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

y: object = field(repr=False)

fit_intercept

fit_intercept: bool = field(default=True, kw_only=True)