Skip to content

Latest commit

 

History

History
 
 

linear_regression

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Project Overview

In this project, we'll build a linear regression algorithm from scratch. Linear regression is the most popular machine learning model. Understanding how it works can help you apply it more effectively.

We'll create our algorithm using python and pandas. We'll then compare it to the reference implementation from scikit-learn.

Code

You can find the code for this project here.

File overview:

  • regression.ipynb - the full code from this project

Local Setup

Installation

To follow this project, please install the following locally:

  • Python 3.8+
  • Python packages
    • pandas
    • numpy
    • scikit-learn

Data

We'll be using data from the Olympics, which was originally on Kaggle.

You can download the file we'll use in this project here:

  • teams.csv - the team-level data that we use in this project.