Skip to content

changx03/JavaApacheLinearRegressionDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java linear regression tutorial program

This is an example of how to use simple linear or polynomial regression in Java.

Requirements

  • apache.commons.math3
  • Download the official Apache commons math download page
  • Include lib file "commons-math3-3.6.1.jar" in the project

Results

The regression modal computes beta[] in such order: y = beta[0] + beta[1]*x(0) + beta[2]*x(1) + beta[3]*x2)

About

2D array linear regression using OLSMultipleLinearRegression.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages