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

  • X'pd.DataFrame'
  • y'pd.Series'

learn_one

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

Parameters

  • x'dict'
  • y'base.typing.RegTarget'

predict_many

Predict the outcome for each given sample.

Parameters

  • X'pd.DataFrame'

Returns

pd.Series: The predicted outcomes.

predict_one

Predict the output of features x.

Parameters

  • x'dict'

Returns

base.typing.RegTarget: The prediction.