Skip to content

ModelSelectionRegressor

A model selector for regression.

Parameters

  • models

    TypeIterator[base.Estimator]

  • metric

    Typemetrics.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.