Simulation of Linear Regression algorithm using P5.JS and Tensorflow.js
I have created the simulation of Linear Regression using P5.JS graphics library and Tensorflow.js Deep Learning library.
User can insert the data-points on canvas at runtime and accordingly the bestfit line would change its parameters.
Tensorflow.js is used for minimization of loss function.
sketch.js contains the core logic for the simulation.