Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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++
- Host: GitHub
- URL: https://github.com/coding-ai/machine_learning_cpp
- Owner: coding-ai
- Created: 2020-09-27T16:08:06.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-04-29T20:46:02.000Z (over 1 year ago)
- Last Synced: 2024-05-01T15:33:57.546Z (7 months ago)
- Topics: algorithms, cpp, linear-models, linear-regression, linearregression, linearregression-gradientdescent, logistic-regression, logistic-regression-algorithm, machine-learning, machine-learning-algorithms, machinelearning, machinelearning-cpp, tutorials
- Language: Jupyter Notebook
- Homepage:
- Size: 396 KB
- Stars: 62
- Watchers: 4
- Forks: 20
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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 ","`