Skip to content

pbondoer/42-ft_linear_regression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ft_linear_regression @ 42

Screenshot

Rust implementation of the linear regression project.

Compiling

You can compile the project with cargo build.

Running

Training program

cargo run --bin train

This will train with the dataset in data/data.csv.

This program will write it's results to data/values.

Predicting program

cargo run --bin predict

This will predict a price based on the training done from the previous program.

Visualizer

You can open visualizer.html in your favorite browser, drag-and-drop the data.csv and values files, and preview the dataset.

License

GPL logo

ft_linear_regression is licensed under the GNU General Public License 3.0.

Releases

No releases published

Packages

No packages published