ModelSelectionRegressor¶
A model selector for regression.
Parameters¶
-
models
Type →
Iterator[base.Estimator] -
metric
Type →
metrics.base.Metric
Attributes¶
-
best_model
The current best model.
-
models
Methods¶
learn_one
Fits to a set of features x and a real-valued target y.
Parameters
- x —
dict[base.typing.FeatureName, Any] - y —
base.typing.RegTarget
predict_one
Predict the output of features x.
Parameters
- x
Returns
The prediction.