Edinburgh Speech Tools  2.1-release
WNode Class Reference

#include <include/EST_Wagon.h>

Public Member Functions

 WNode ()
 
 ~WNode ()
 
WVectorVectorget_data (void)
 
void set_subnodes (WNode *l, WNode *r)
 
void set_impurity (const WImpurity &imp)
 
void set_question (const WQuestion &q)
 
void prune (void)
 
void held_out_prune (void)
 
WImpurityget_impurity (void)
 
WQuestionget_question (void)
 
EST_Val predict (const WVector &w)
 
WNodepredict_node (const WVector &d)
 
int samples (void) const
 

Friends

ostream & operator<< (ostream &s, WNode &n)
 

Detailed Description

Definition at line 225 of file EST_Wagon.h.

Constructor & Destructor Documentation

WNode::WNode ( )
inline

Definition at line 236 of file EST_Wagon.h.

WNode::~WNode ( )
inline

Definition at line 237 of file EST_Wagon.h.

Member Function Documentation

WVectorVector& WNode::get_data ( void  )
inline

Definition at line 239 of file EST_Wagon.h.

void WNode::set_subnodes ( WNode l,
WNode r 
)
inline

Definition at line 240 of file EST_Wagon.h.

void WNode::set_impurity ( const WImpurity imp)
inline

Definition at line 241 of file EST_Wagon.h.

void WNode::set_question ( const WQuestion q)
inline

Definition at line 242 of file EST_Wagon.h.

void WNode::prune ( void  )

Definition at line 83 of file wagon_aux.cc.

void WNode::held_out_prune ( void  )

Definition at line 107 of file wagon_aux.cc.

WImpurity& WNode::get_impurity ( void  )
inline

Definition at line 245 of file EST_Wagon.h.

WQuestion& WNode::get_question ( void  )
inline

Definition at line 246 of file EST_Wagon.h.

EST_Val WNode::predict ( const WVector w)

Definition at line 51 of file wagon_aux.cc.

WNode * WNode::predict_node ( const WVector d)

Definition at line 61 of file wagon_aux.cc.

int WNode::samples ( void  ) const
inline

Definition at line 249 of file EST_Wagon.h.

Friends And Related Function Documentation

ostream& operator<< ( ostream &  s,
WNode n 
)
friend

Definition at line 153 of file wagon_aux.cc.


The documentation for this class was generated from the following files: