Skip to content

MiniBatchRegressor

A regressor that can operate on mini-batches.

Methods

learn_many

Update the model with a mini-batch of features X and real-valued targets y.

Parameters

  • Xpd.DataFrame
  • ypd.Series

learn_one

Fits to a set of features x and a real-valued target y.

Parameters

  • xdict[base.typing.FeatureName, Any]
  • ybase.typing.RegTarget

predict_many

Predict the outcome for each given sample.

Parameters

  • Xpd.DataFrame

Returns

pd.Series: The predicted outcomes.

predict_one

Predict the output of features x.

Parameters

  • xdict[base.typing.FeatureName, Any]

Returns

base.typing.RegTarget: The prediction.