Skip to content

vjarysta/ft_linear_regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_linear_regression

42 School project In this project, the aim was to implement a linear regression with one variable.

Train your program

Just execute ./run_trainer [data.csv] where data.csv is a 2-columns csv file, with the first line as data names.

At the end of execution, the program will generate a graph with scatter plots in red, and the computed slope in red

The trainer will create a file named data_thetas.csv.

Guess a feature

./run_predictor [data_thetas.csv] will ask you your first column value, then return the feature value.

Made by vjarysta & gsaynac

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages