Skip to main content

models.RelaxedCv

Cross-validated relaxed fits, from ElasticNet.cross_validate_relaxed.

Usage

Source

models.RelaxedCv()

Attributes

Name Description
gamma_1se gamma of the one-standard-error choice.
gamma_min gamma of the lowest mean deviance.
gammas The relaxations, in the order given.
lam_1se lam of the one-standard-error choice.
lam_min lam of the lowest mean deviance.
paths The scores along the path at each gamma, in the same order.

gamma_1se

gamma of the one-standard-error choice.

gamma_1se: float


gamma_min

gamma of the lowest mean deviance.

gamma_min: float


gammas

The relaxations, in the order given.

gammas: list[float]


lam_1se

lam of the one-standard-error choice.

lam_1se: float


lam_min

lam of the lowest mean deviance.

lam_min: float


paths

The scores along the path at each gamma, in the same order.

paths: list[CvPath]