Regressor¶
- class flexparameterize.regression.base.Regressor(*args, **kwargs)¶
Structural contract every pluggable regressor conforms to.
Conformance is structural (
isinstanceonly checks the methods exist — call them to verify behavior, not just presence).to_surrogate_spectakes**kwargsbecause different regressors need different unit metadata at that boundary; each regressor documents its own keywords.- to_surrogate_spec(**kwargs) SurrogateSpec¶
Return this fit as a persistable
SurrogateSpec, once fitted.