Skip to content

Commit 809c208

Browse files
committed
first commit
0 parents  commit 809c208

File tree

13 files changed

+10592
-0
lines changed

13 files changed

+10592
-0
lines changed

.gitignore

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# See https://help.github.com/ignore-files/ for more about ignoring files.
2+
3+
# dependencies
4+
/node_modules
5+
6+
# testing
7+
/coverage
8+
9+
# production
10+
/build
11+
12+
# misc
13+
.DS_Store
14+
.env.local
15+
.env.development.local
16+
.env.test.local
17+
.env.production.local
18+
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Linear Regression with Gradient Descent
2+
3+
This example project demonstrates how the [gradient descent](http://en.wikipedia.org/wiki/Gradient_descent) algorithm may be used to solve a [linear regression](http://en.wikipedia.org/wiki/Linear_regression) problem.
4+
5+
The project showcases how a gradient descent may be used to solve the linear regression problem of fitting a line to a set of points in JavaScript. React is used as view later. In this problem, we wish to model a set of points using a line. The line model is defined by two parameters - the line's slope `m`, and y-intercept `b`. Gradient descent attemps to find the best values for these parameters, subject to a cost function.
6+
7+
## Installation
8+
9+
* `git clone git@github.com:rwieruch/linear-regression-gradient-descent.git`
10+
* `cd linear-regression-gradient-descent`
11+
* `npm install`
12+
* `npm start`
13+
* visit http://localhost:3000/

0 commit comments

Comments
 (0)