cleverly.estimators.atmle_result.WorkingModelFold#
- class cleverly.estimators.atmle_result.WorkingModelFold(fold: int | None, selection_rows: int, effect_columns: tuple[str, ...], bias_columns: tuple[str, ...], effect_penalty: float, bias_penalty: float, effect_risk: float, bias_risk: float)[source]#
The working models one fold selected, and the size of each.
- Parameters:
- fold
intorNone The outer fold whose training rows selected the models, or
Noneforform="pooled".- selection_rows
int The rows the models were selected on.
- effect_columns
tupleofstr The selected effect-model columns.
- bias_columns
tupleofstr The selected bias-model columns.
- effect_penalty
float The cross-validated lasso penalty of the effect model.
- bias_penalty
float The cross-validated lasso penalty of the bias model.
- effect_risk
float The smallest cross-validated risk on the effect model’s penalty grid.
- bias_risk
float The smallest cross-validated risk on the bias model’s penalty grid.
- fold