Skip to content

Regressor

A regressor.

Methods

learn_one

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

Parameters

  • x (dict)
  • y (numbers.Number)

Returns

Regressor: self

predict_one

Predict the output of features x.

Parameters

  • x (dict)

Returns

Number: The prediction.