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

Go to the source code of this file.

Classes

class  meta::classify::nearest_centroid
 Implements the nearest centroid classification algorithm. More...
 
class  meta::classify::nearest_centroid::nearest_centroid_exception
 Basic exception for nearest_centroid 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< nearest_centroid > (const cpptoml::table &, std::shared_ptr< index::forward_index >, std::shared_ptr< index::inverted_index >)
 Specialization of the factory method used to create nearest_centroid 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.