Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
README.md
data.csv
gradientDescent.py

README.md

Linear Regression

This is the code for 'Linear Regression - Giving Best Fit Line' post by Piyush Malhotra on codeflaunt.wordpress.com

Overview

This is the code for this blog post by Piyush Malhotra.I'm using a small dataset of student test scores and the amount of hours they studied. Intuitively, we can think of a relationship between them. Like, the more you study the more you score. Method used here is Linear Regression using Gradient Descent.

Dependencies

-numpy Python 2 or 3 both work just fine. Use pip to install the dependencies.

Usage

Run gradientDescent.py to see the result.