ParameterState¶
- class flexcore.config.schema.ParameterState(*, value: ParameterValue | None = None, fixed: Annotated[bool, Strict(strict=True)] = True)¶
One surrogate parameter’s value and whether the model holds it fixed.
A parameter is a scalar or an array (a list, or nested lists for a matrix); the surrogate class declares each parameter’s shape. fixed applies to the whole parameter. A free parameter may omit value, in which case the surrogate starts it from its documented initial guess.
- model_config = {'extra': 'forbid'}¶
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].