HoldoutConfig¶
- class flexparameterize.config.HoldoutConfig(*, k: Annotated[int, Ge(ge=2)], r: Annotated[int, Ge(ge=0)])¶
Which rows are held out of the fit: those at position p with p % k == r.
- model_config = {'extra': 'forbid', 'frozen': True}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].