| Class | Description |
|---|---|
| LinearRegression |
This example implements a basic Linear Regression to solve the y = theta0 + theta1*x problem using batch gradient descent algorithm.
|
| LinearRegression.Data |
A simple data sample, x means the input, and y means the target.
|
| LinearRegression.Params |
A set of parameters -- theta0, theta1.
|
| LinearRegression.SubUpdate |
Compute a single BGD type update for every parameters.
|
| LinearRegression.Update |
Compute the final update by average them.
|
| LinearRegression.UpdateAccumulator |
Accumulator all the update.
|
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.