/Linear-Regression

Linear Regression Implementation using pandas, matplotlib and sklearn.linear_model

Primary LanguagePython

Linear Regression Implementation

Using pandas, matplotlib, numpy and sklearn.linear_model

Python Files

two_var_regression.py: Linear Regression Implementation for bmi_and_life_expectancy and brain_body dataset
challenge_regression.py: Linear Regression Implementation for challenge_dataset
multiple_var_regression.py: Multiple Linear Regression for boston housing prices dataset
linear_regression_gradient_descent.py: Implementation of Linear Regression to demonstrate Gradient Descent in numpy

Datasets

bmi_and_life_expectancy: Prediction of life expectancy using bmi
brain_body: Prediction of animal's body weight given it's brain weight
boston data: Prediction of housing prices (https://archive.ics.uci.edu/ml/datasets/Housing)
challenge_dataset: Linear Regression Challenge Set from Siraj Raval (https://github.com/llSourcell/linear_regression_demo)
live_data.csv: Dataset from Siraj Raval's Livestream (https://github.com/llSourcell/linear_regression_live)

Installation

Run pip install -r requirements.txt in terminal to install the necessary dependencies.