A C++ library for building, testing and learning machine learning models and algorithms. Each algorithm's individual directory contains examples of how to use it. Detailed algorithm write-ups can be found here: https://www.numericalprogrammingwithparker.com/.
- C++ 17 (or greater)
- CMake (3.10.0 or greater)
- Eigen (3.3 or greater)
mkdir build
cd build
cmake ..
make
./MltTest
This library contains examples for all the algorithms implemented. The example executables can be built by enabling them in the CMake command by using a flag. For example:
mkdir build
cd build
cmake .. -DBUILD_LINEAR_REGRESSION=true
make
./LinearRegressionExample
Depending on which flags are used, the associated binaries will be output to the build directory. The current list of supported examples are (entire CMake and run command included below for convenience):
# Linear Regression
cmake .. -DBUILD_LINEAR_REGRESSION=true # CMake command
./LinearRegressionExample # Run command