Skip to content

Visualizing data points with Roassal2 and fitting them with PMLinearRegression

Notifications You must be signed in to change notification settings

PharoClub/LinearRegressionVis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

LinearRegressionVis

Visualizing 30 data points with Roassal2 and fitting them with PMLinearRegression.

model := PMLinearRegression new.
n := 30.
rand := Random new.
points := (1 to: n) collect: [ :x | x@(2 * x + (rand next * 20 - 10)) ].
points do: [ :p | 
  model add: p ].

Visualization of linear regression

About

Visualizing data points with Roassal2 and fitting them with PMLinearRegression

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published