Skip to content

turkdogan/k-nearest-neighbors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

k-nearest-neighbors

A Simple k-nearest neighbors implementation in C++

This simple program loads iris.data, normalizes it. Then 1/2 test/training split is done after shuffling data. The final success percentage is written to the console.

Some C++11 featuers are used. Therefore the following command should be used for compilation:

 g++ -std=c++11  *.cpp

About

A Simple k-nearest neighbors implementation in C++

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages