NERsuite  1.1.1
Classes | Public Member Functions
ME_Model Class Reference

List of all members.

Classes

struct  hashfun_str
struct  ME_Feature
struct  ME_FeatureBag
struct  MiniStringBag
struct  Sample
struct  StringBag

Public Member Functions

void add_training_sample (const ME_Sample &s)
int train (const int cutoff=0, const double sigma=0, const double widthfactor=0)
std::vector< double > classify (ME_Sample &s) const
bool load_from_file (const std::string &filename)
bool save_to_file (const std::string &filename) const
int num_classes () const
std::string get_class_label (int i) const
int get_class_id (const std::string &s) const
void get_features (std::list< std::pair< std::pair< std::string, std::string >, double > > &fl)
void set_heldout (const int h, const int n=0)
bool load_from_array (const ME_Model_Data data[])
void set_reference_model (const ME_Model &ref_model)
int train (const std::vector< ME_Sample > &train, const int cutoff=0, const double sigma=0, const double widthfactor=0)

The documentation for this class was generated from the following files:
 All Classes Functions Variables