Skip to content

About

Linear regression implementation - ML project at Ecole 42

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

Linear regression

Task

full version in pdf
wiki about linear regression

Run

for ex: ./training.py && ./prediction.py -v 100000 -d data/data.csv

Utils

./training.py [-h] [-d datafile] [-i iterations] [-lr learning rate] [-s storage]

This one trains linear model on datafile, saves coefficients to storage and demonstrates error decreasing through iterations (it also depends on learning rate though).

Alt text

Alt text

./prediction.py [-h] -v value [-d datafile] [-s storage] \

This one predicts result for value, based on coefficients from storage, and with given datafile plots it all together with data.

Alt text

Alt text

About

Linear regression implementation - ML project at Ecole 42

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages