/ml

Machine Learning libraries

Primary LanguageC++

ml

Machine Learning libraries

KNN

C++ implementation of K Nearest Neighbors algorithm.

Description

This is a template class so any data type can be used as soon as it supports the operations involved in the algorithm.

Usage

Compilation is made via CMakeLists files :

cd knn
mkdir build
cd build
cmake ..
make

Once compiled, execute the example with

./examples/example