Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/coding-ai/machine_learning_cpp

Machine Learning C++
https://github.com/coding-ai/machine_learning_cpp

algorithms cpp linear-models linear-regression linearregression linearregression-gradientdescent logistic-regression logistic-regression-algorithm machine-learning machine-learning-algorithms machinelearning machinelearning-cpp tutorials

Last synced: 6 days ago
JSON representation

Machine Learning C++

Awesome Lists containing this project

README

        

# Machine Learning with C++ Tutorial

In this repository, you can find all the code from my series of tutorials of Machine Learning with C++: [YouTube Playlist](https://www.youtube.com/watch?v=jKtbNvCT8Dc&list=PLNpKaH98va-FJ1YN8oyMQWnR1pKzPu-GI).

# Usage

Fork and clone/download the repository.

## Linear Regression

To compile simply run the code:

`g++ -std=c++11 LinearRegression/LinearRegression.cpp ETL/ETL.cpp main/LinearRegression.cpp -o linregr`

To run and test:

`./linregr datasets/winedata.csv ","`

## Logistic Regression

To compile simply run the code:

`g++ -std=c++11 LogisticRegression/LogisticRegression.cpp ETL/ETL.cpp main/LogisticRegression.cpp -o logregr`

To run and test:

`./logregr datasets/adult_data.csv ","`