ModErn Text Analysis
META Enumerates Textual Applications
Namespaces | Functions
classifier_test.cpp File Reference
#include <random>
#include "test/classifier_test.h"
#include "classify/loss/all.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::testing
 Contains unit testing functions for the META toolkit.
 

Functions

template<class Index , class Classifier >
void meta::testing::check_cv (Index &idx, Classifier &c, double min_accuracy)
 Checks that the CV accuracy is above a threshold. More...
 
template<class Index , class Classifier >
void meta::testing::check_split (Index &idx, Classifier &c, double min_accuracy)
 Checks that the split accuracy is above a threshold. More...
 
int meta::testing::run_tests (const std::string &type)
 Runs the classifier tests. More...
 
int meta::testing::classifier_tests ()
 Runs the classifier tests. More...
 

Detailed Description

Author
Sean Massung