Edinburgh Speech Tools  2.1-release
wagon.cc File Reference
#include <cstdlib>
#include <iostream>
#include <fstream>
#include <cstring>
#include "EST_Token.h"
#include "EST_FMatrix.h"
#include "EST_multistats.h"
#include "EST_Wagon.h"
#include "EST_math.h"
Include dependency graph for wagon.cc:

Go to the source code of this file.

Functions

 Declare_TList_T (WVector *, WVectorP) Declare_TVector_Base_T(WVector *
 
WVectorP void wgn_load_datadescription (EST_String fname, LISP ignores)
 
void wgn_load_dataset (WDataSet &dataset, EST_String fname)
 
float summary_results (WNode &tree, ostream *output)
 
WNodewgn_build_tree (float &score)
 
void wgn_find_split (WQuestion &q, WVectorVector &ds, WVectorVector &y, WVectorVector &n)
 
float wgn_score_question (WQuestion &q, WVectorVector &ds)
 
WNodewagon_stepwise (float limit)
 

Variables

Discretes wgn_discretes
 
WDataSet wgn_dataset
 
WDataSet wgn_test_dataset
 
EST_FMatrix wgn_DistMatrix
 
EST_Track wgn_VertexTrack
 
EST_Track wgn_VertexFeats
 
EST_Track wgn_UnitTrack
 
int wgn_min_cluster_size = 50
 
int wgn_held_out = 0
 
int wgn_prune = TRUE
 
int wgn_quiet = FALSE
 
int wgn_verbose = FALSE
 
int wgn_count_field = -1
 
EST_String wgn_count_field_name = ""
 
int wgn_predictee = 0
 
EST_String wgn_predictee_name = ""
 
float wgn_float_range_split = 10
 
float wgn_balance = 0
 
EST_String wgn_opt_param = ""
 
EST_String wgn_vertex_output = "mean"
 
EST_String wgn_vertex_otype = "mean"
 
 NULL
 

Function Documentation

Declare_TList_T ( WVector ,
WVectorP   
)
WVectorP void wgn_load_datadescription ( EST_String  fname,
LISP  ignores 
)

Definition at line 111 of file wagon.cc.

void wgn_load_dataset ( WDataSet dataset,
EST_String  fname 
)

Definition at line 118 of file wagon.cc.

float summary_results ( WNode tree,
ostream *  output 
)

Definition at line 215 of file wagon.cc.

WNode* wgn_build_tree ( float &  score)

Definition at line 239 of file wagon.cc.

void wgn_find_split ( WQuestion q,
WVectorVector ds,
WVectorVector y,
WVectorVector n 
)

Definition at line 775 of file wagon.cc.

float wgn_score_question ( WQuestion q,
WVectorVector ds 
)

Definition at line 1091 of file wagon.cc.

WNode* wagon_stepwise ( float  limit)

Definition at line 1098 of file wagon.cc.

Variable Documentation

Discretes wgn_discretes

Definition at line 57 of file wagon.cc.

WDataSet wgn_dataset

Definition at line 59 of file wagon.cc.

WDataSet wgn_test_dataset

Definition at line 60 of file wagon.cc.

EST_FMatrix wgn_DistMatrix

Definition at line 61 of file wagon.cc.

EST_Track wgn_VertexTrack

Definition at line 62 of file wagon.cc.

EST_Track wgn_VertexFeats

Definition at line 63 of file wagon.cc.

EST_Track wgn_UnitTrack

Definition at line 64 of file wagon.cc.

int wgn_min_cluster_size = 50

Definition at line 66 of file wagon.cc.

int wgn_held_out = 0

Definition at line 67 of file wagon.cc.

int wgn_prune = TRUE

Definition at line 68 of file wagon.cc.

int wgn_quiet = FALSE

Definition at line 69 of file wagon.cc.

int wgn_verbose = FALSE

Definition at line 70 of file wagon.cc.

int wgn_count_field = -1

Definition at line 71 of file wagon.cc.

EST_String wgn_count_field_name = ""

Definition at line 72 of file wagon.cc.

int wgn_predictee = 0

Definition at line 73 of file wagon.cc.

EST_String wgn_predictee_name = ""

Definition at line 74 of file wagon.cc.

float wgn_float_range_split = 10

Definition at line 75 of file wagon.cc.

float wgn_balance = 0

Definition at line 76 of file wagon.cc.

EST_String wgn_opt_param = ""

Definition at line 77 of file wagon.cc.

EST_String wgn_vertex_output = "mean"

Definition at line 78 of file wagon.cc.

EST_String wgn_vertex_otype = "mean"

Definition at line 79 of file wagon.cc.

NULL

Definition at line 98 of file wagon.cc.