ModErn Text Analysis
META Enumerates Textual Applications
Namespaces | Functions
classifier_test.h File Reference
#include <fstream>
#include <iostream>
#include "test/unit_test.h"
#include "test/inverted_index_test.h"
#include "classify/classifier/all.h"
#include "classify/kernel/all.h"
#include "caching/all.h"
#include "index/ranker/all.h"

Go to the source code of this file.

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

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.