Using dataset of test scores of students and amount of hours they studied for it, we are finding relationship between these two values using Linear Regression.
For computing the error which is the difference in distance of values of y coordinate of our data set and the random line we create
### Equation 2 ### Computing partial derivative of error function, partial derivative gives us the tangent line from which we update values of b and mWhat is Linear Regression? https://onlinecourses.science.psu.edu/stat501/node/251
What is Gradient Descent? https://en.wikipedia.org/wiki/Gradient_descent
Visualization of Gradient Descent
- Numpy
Python 3 Use pip to install any dependencies.
Run linear_regression.py to see results.