I have created the simulation of Linear Regression algorithm using P5.JS graphics library.
User can insert the data-points on canvas at runtime and accordingly the bestfit line would change its parameters.
Gradient Descent algorithm is implemented to minimize the cost function associated with Linear Regression.
sketch.js contains the core logic for the simulation.
forked from kaustubholpadkar/Linear_Regression_Simulation
-
Notifications
You must be signed in to change notification settings - Fork 0
Simulation of Linear Regression algorithm using P5.JS
License
simulations-ml/Linear_Regression_Simulation
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simulation of Linear Regression algorithm using P5.JS
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 83.3%
- HTML 16.7%