Skip to content

C++ ADT comes really handy to develop O(logn) algorithms in Data Science.

Notifications You must be signed in to change notification settings

adaboostmm/DataScience_cpp

Repository files navigation

Simple KNN algorithm in C++

Problem Derscription Hubble Space Telescope has identified yet another new planet, NASA scientists has named it Luminary and they want to find out the nearest neighbors of Luminary in Solar System. There are different types of planets in planetary system, scientists measured different features of 196 planetary objects and labeled them into six categories(Label 1,Label 2, Label 3, Label 5, Label 6, Label 7). Now we like to find out top K nearest neighbor of Luminary. We got a validation set with 13 datapoints with similar features. Let's code a basic KNN algorithm in C++ and measure the accuracy with the validation set.

The code uses Stanford C++ libraries.

About

C++ ADT comes really handy to develop O(logn) algorithms in Data Science.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages