Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

mlABTree Class Reference

#include <adaboost.h>

Collaboration diagram for mlABTree:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 mlABTree (double *p0)
 mlABTree (int f, mlABTree *wrFalse, mlABTree *wrTrue)
 ~mlABTree ()
void classify (input *i, double *pred)
void print (char *carry)
void write_to_stream (ofstream &os)

Static Public Member Functions

static void set_nlabels (int nl)
static void set_verbose (int level)
static void set_epsilon (double eps)
static mlABTreeread_from_stream (istream &is)
static mlABTreelearn (dataset *ds, double *Z, int max_depth0)

Private Member Functions

 mlABTree (const mlABTree &wr0)

Static Private Member Functions

static mlABTreelearn_0 (dataset *ds, double *Z, int depth)
static int stopping_criterion (dataset *ds, int depth)
static int best_feature (dataset *ds, double *W)
static double Zcalculus (double *W, int ndim)
static void Cprediction (int v, double *W, double result[])

Private Attributes

int feature
mlABTree ** sons
double * predictions

Static Private Attributes

static int nlabels
static double epsilon
static int max_depth
static int * used_features
static int verbose

Constructor & Destructor Documentation

mlABTree::mlABTree const mlABTree wr0  )  [private]
 

mlABTree::mlABTree double *  p0  ) 
 

mlABTree::mlABTree int  f,
mlABTree wrFalse,
mlABTree wrTrue
 

mlABTree::~mlABTree  ) 
 


Member Function Documentation

static int mlABTree::best_feature dataset ds,
double *  W
[static, private]
 

void mlABTree::classify input i,
double *  pred
 

static void mlABTree::Cprediction int  v,
double *  W,
double  result[]
[static, private]
 

static mlABTree* mlABTree::learn dataset ds,
double *  Z,
int  max_depth0
[static]
 

static mlABTree* mlABTree::learn_0 dataset ds,
double *  Z,
int  depth
[static, private]
 

void mlABTree::print char *  carry  ) 
 

static mlABTree* mlABTree::read_from_stream istream &  is  )  [static]
 

static void mlABTree::set_epsilon double  eps  )  [static]
 

static void mlABTree::set_nlabels int  nl  )  [static]
 

static void mlABTree::set_verbose int  level  )  [static]
 

static int mlABTree::stopping_criterion dataset ds,
int  depth
[static, private]
 

void mlABTree::write_to_stream ofstream &  os  ) 
 

static double mlABTree::Zcalculus double *  W,
int  ndim
[static, private]
 


Member Data Documentation

double mlABTree::epsilon [static, private]
 

int mlABTree::feature [private]
 

int mlABTree::max_depth [static, private]
 

int mlABTree::nlabels [static, private]
 

double* mlABTree::predictions [private]
 

mlABTree** mlABTree::sons [private]
 

int* mlABTree::used_features [static, private]
 

int mlABTree::verbose [static, private]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 26 12:58:20 2006 for FreeLing by  doxygen 1.4.4