ModErn Text Analysis
META Enumerates Textual Applications
Classes | Namespaces | Functions
knn.h File Reference
#include <unordered_set>
#include "index/inverted_index.h"
#include "index/forward_index.h"
#include "index/ranker/ranker.h"
#include "classify/classifier_factory.h"
#include "classify/classifier/classifier.h"

Go to the source code of this file.

Classes

class  meta::classify::knn
 Implements the k-Nearest Neighbor lazy learning classification algorithm. More...
 
class  meta::classify::knn::knn_exception
 Basic exception for knn interactions. More...
 

Namespaces

 meta
 The ModErn Text Analysis toolkit is a suite of natural language processing, classification, information retreival, data mining, and other applications of text processing.
 
 meta::classify
 Algorithms for feature selection, KNN search, and confusion matrices.
 

Functions

template<>
std::unique_ptr< classifier > meta::classify::make_multi_index_classifier< knn > (const cpptoml::table &, std::shared_ptr< index::forward_index >, std::shared_ptr< index::inverted_index >)
 Specialization of the factory method used to create knn classifiers.
 

Detailed Description

Author
Sean Massung

All files in META are released under the MIT license. For more details, consult the file LICENSE in the root of the project.