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'
- y — 'base.typing.RegTarget'
Returns
Regressor: self
predict_one
Predict the output of features x
.
Parameters
- x
Returns
The prediction.