https://github.com/jalajthanaki/linear-regression-workshop
This is the code for the "Introduction to Data Science and How to Do Linear Regression" workshop session by Jalaj Thanaki at IIT-Bombay on 24th August, 2017
https://github.com/jalajthanaki/linear-regression-workshop
datascience gradient-descent linear-regression machine-learning natural-language-processing
Last synced: 6 months ago
JSON representation
This is the code for the "Introduction to Data Science and How to Do Linear Regression" workshop session by Jalaj Thanaki at IIT-Bombay on 24th August, 2017
- Host: GitHub
- URL: https://github.com/jalajthanaki/linear-regression-workshop
- Owner: jalajthanaki
- License: mit
- Created: 2017-08-20T13:18:54.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-08-24T10:14:59.000Z (about 8 years ago)
- Last Synced: 2025-03-23T18:54:20.881Z (7 months ago)
- Topics: datascience, gradient-descent, linear-regression, machine-learning, natural-language-processing
- Language: Jupyter Notebook
- Homepage:
- Size: 3.02 MB
- Stars: 7
- Watchers: 2
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Linear Regression Workshop at IIT-Bombay
This is the code for the "How to Do Linear Regression" workshop session by Jalaj Thanaki at IIT-Bombay.## Overview
* Find the dataset from [here](https://github.com/jalajthanaki/Linear-Regression-Workshop/blob/master/data/data.csv)
* Find the Code in form of Jupyter Notebook from [here](https://github.com/jalajthanaki/Linear-Regression-Workshop/blob/master/Linear%20Regression%20Demo.ipynb)
* Find the images from [here](https://github.com/jalajthanaki/Linear-Regression-Workshop/tree/master/image).## Data
I'm using a very small dataset of student test scores and the amount of hours they studied.
Intuitively, we know that there must be a relationship right? The more you study, the better your test scores should be.
We're going to use linear regression to prove this relationship.## Dependencies
We need two dependencies1. numpy
2. Jupyter Notebook#### Installation of dependencies
* numpy```
For Pythton 2
$ pip install numpy
For Python 3
$ pip3 install numpy
```
* Jupyter Notebook
```
For Pythton 2
$ pip install jupyter
For Python 3
$ pip3 install jupyter
```Python 2 and 3 both work for this. Use [pip](https://pip.pypa.io/en/stable/) to install any dependencies.
## Usage
I have used Python 2 but if you want to use Python 3 then just choose Python3 when you will run code on Jupyter Notebook.
As well as change syntax of print command.## Credits
Credits for this code go to [mattnedrich](https://github.com/mattnedrich) and [Siraj Raval](https://github.com/llSourcell/linear_regression_live). I've merely created a wrapper to get people started.