ModErn Text Analysis
META Enumerates Textual Applications
Classes | Namespaces | Functions
classifier_factory.h File Reference
#include "classify/classifier/classifier.h"
#include "util/factory.h"
#include "util/shim.h"

Go to the source code of this file.

Classes

class  meta::classify::classifier_factory
 Factory that is responsible for creating classifiers from configuration files. 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

std::unique_ptr< classifier > meta::classify::make_classifier (const cpptoml::table &config, std::shared_ptr< index::forward_index > idx, std::shared_ptr< index::inverted_index > inv_idx=nullptr)
 Convenience method for creating a classifier using the factory. More...
 
template<class Classifier >
std::unique_ptr< classifier > meta::classify::make_classifier (const cpptoml::table &, std::shared_ptr< index::forward_index > idx)
 Factory method for creating a classifier. More...
 
template<class Classifier >
std::unique_ptr< classifier > meta::classify::make_multi_index_classifier (const cpptoml::table &, std::shared_ptr< index::forward_index > idx, std::shared_ptr< index::inverted_index > inv_idx)
 Factory method for creating a classifier that takes both index types. More...
 
template<class Classifier >
void meta::classify::register_classifier ()
 Registration method for classifiers. More...
 
template<class Classifier >
void meta::classify::register_multi_index_classifier ()
 Registration method for multi-index classifiers. More...
 

Detailed Description

Author
Chase Geigle

All files in META are dual-licensed under the MIT and NCSA licenses. For more details, consult the file LICENSE.mit and LICENSE.ncsa in the root of the project.