Skip to content

【42 Project】Implement a simple linear regression from scratch

Notifications You must be signed in to change notification settings

chrisduvivier/42_linear_regression

Repository files navigation

42_linear_regression

The goal is to implement a simple linear regression from scratch, using numpy

Run

just run make and activate the virtual env with the code below

Activate Python3 virutal environment

source .venv/bin/activate

To predict

python3 predict.py

To train the model

python3 train.py