ModErn Text Analysis
META Enumerates Textual Applications
Namespaces | Functions
nearest_centroid.cpp File Reference
#include <vector>
#include <unordered_map>
#include "cpptoml.h"
#include "classify/classifier/nearest_centroid.h"
#include "corpus/document.h"
#include "index/postings_data.h"

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