#include <RandomForestModel.h>
Public Member Functions | |
void | treeTest (const DataMatrix &X, std::vector< double > &Ysoft) const |
Data Fields | |
int | l_X |
int | l_D |
int * | classes |
std::vector< Model > | weakModels |
std::vector< double > | leafdist |
Definition at line 182 of file RandomForestModel.h.
void TreeModel::treeTest | ( | const DataMatrix & | X, | |
std::vector< double > & | Ysoft | |||
) | const |
Definition at line 38 of file treeTest.C.
References c, copy(), rfmodel::DataMatrix::data, rfmodel::DataMatrix::findIndicesNE(), rfmodel::DataMatrix::findValue(), int, l_D, l_X, leafdist, n, rfmodel::DataMatrix::num_cols, rfmodel::DataMatrix::num_rows, rfmodel::DataMatrix::repmat(), rfmodel::DataMatrix::subset_cols(), rfmodel::DataMatrix::subset_rows(), and weakModels.
Definition at line 184 of file RandomForestModel.h.
std::vector<Model> rfmodel::TreeModel::weakModels |
std::vector<double> rfmodel::TreeModel::leafdist |