Skip to content

lettier/interactive-simple-linear-regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Simple Linear Regression

Interactive Simple Linear Regression

Input 2D data points and fit a simple linear regression model using gradient descent. Built with PureScript. Playable at lettier.com/simple-linear-regression/.

Documentation

For a full write up, visit Let's make a Linear Regression Calculator with PureScript.

Get Started

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/