Skip to content

ldemesla/ft_linear_regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

linear regression

Program written in Python to perform a gradient descent on a linear function, and print the best fit line on a graph, for educational purpose

Train

If you want to train with the providen dataset juste run make train, else if you want to train with your own dataset, just run python3.7 srcs/train.py [dataset]

Predict

To make a prediction you need to run python3.7 srcs/predict.py [input]

Dependencies

matplotlib

License

This project is licensed under the GNU General Public License 3.

About

Linear regression in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published