models.CvPath
Cross-validated scores along an elastic-net path, from
Usage
models.CvPath()Attributes
| Name | Description |
|---|---|
| fold_scores | Each fold’s mean deviance per lam. |
| lam_1se | The largest lam within one standard error of the lowest. |
| lam_min | lam with the lowest mean deviance. |
| lams | Penalty strengths, in the order given. |
| mean | Mean deviance over folds (weighted by fold weight), per lam. |
| se | Standard error of mean, per lam. |
fold_scores
Each fold’s mean deviance per lam.
fold_scores: list[list[float]]
lam_1se
The largest lam within one standard error of the lowest.
lam_1se: float
lam_min
lam with the lowest mean deviance.
lam_min: float
lams
Penalty strengths, in the order given.
lams: list[float]
mean
Mean deviance over folds (weighted by fold weight), per lam.
mean: list[float]
se
se: list[float]