ModErn Text Analysis
META Enumerates Textual Applications
Classes | Namespaces | Functions
naive_bayes.h File Reference
#include <unordered_map>
#include "index/forward_index.h"
#include "classify/classifier/classifier.h"
#include "classify/classifier_factory.h"
#include "meta.h"
#include "stats/multinomial.h"
#include "util/sparse_vector.h"

Go to the source code of this file.

Classes

class  meta::classify::naive_bayes
 Implements the Naive Bayes classifier, a simplistic probabilistic classifier that uses Bayes' theorem with strong feature independence assumptions. 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_classifier< naive_bayes > (const cpptoml::table &config, std::shared_ptr< index::forward_index > idx)
 Specialization of the factory method used for creating naive bayes 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.