Skip to main content

Module linear_regression

Module linear_regression 

Source
Expand description

Online linear regression using SGD or AdaGrad.

The model learns y ≈ w·x + b incrementally, one sample at a time. Prediction is side-effect free; learning computes the gradient of the configured loss and applies one optimizer step.

Structs§

LinearRegression
Online linear regression model.
LinearRegressionConfig
Configuration for LinearRegression.