Input 2D data points and fit a simple linear regression model using gradient descent. Built with PureScript. Playable at lettier.com/simple-linear-regression/.
For a full write up, visit Let's make a Linear Regression Calculator with PureScript.
git clone git@github.com:lettier/interactive-simple-linear-regression.git
cd interactive-simple-linear-regression
# Install nvm, npm, and yarn.
nvm use
yarn run installPackages
yarn run buildDist
xdg-open dist/index.html
(C) 2017 David Lettier
http://www.lettier.com/