#include <ml.hpp>
Public Member Functions | |
virtual const int * | get_cat_var_data (CvDTreeNode *n, int vi, int *cat_values_buf) |
virtual const int * | get_cv_labels (CvDTreeNode *n, int *labels_buf) |
virtual void | get_ord_var_data (CvDTreeNode *n, int vi, float *ord_values_buf, int *missing_buf, const float **ord_values, const int **missing, int *sample_buf=0) |
virtual const int * | get_sample_indices (CvDTreeNode *n, int *indices_buf) |
virtual void | get_vectors (const CvMat *_subsample_idx, float *values, uchar *missing, float *responses, bool get_class_idx=false) |
virtual void | set_data (const CvMat *trainData, int tflag, const CvMat *responses, const CvMat *varIdx=0, const CvMat *sampleIdx=0, const CvMat *varType=0, const CvMat *missingDataMask=0, const CvDTreeParams ¶ms=CvDTreeParams(), bool _shared=false, bool _add_labels=false, bool _update_data=false) |
virtual CvDTreeNode * | subsample_data (const CvMat *_subsample_idx) |
Public Attributes | |
const CvMat * | missing_mask |
virtual const int* CvERTreeTrainData::get_cat_var_data | ( | CvDTreeNode * | n, | |
int | vi, | |||
int * | cat_values_buf | |||
) | [virtual] |
Reimplemented from CvDTreeTrainData.
virtual const int* CvERTreeTrainData::get_cv_labels | ( | CvDTreeNode * | n, | |
int * | labels_buf | |||
) | [virtual] |
Reimplemented from CvDTreeTrainData.
virtual void CvERTreeTrainData::get_ord_var_data | ( | CvDTreeNode * | n, | |
int | vi, | |||
float * | ord_values_buf, | |||
int * | missing_buf, | |||
const float ** | ord_values, | |||
const int ** | missing, | |||
int * | sample_buf = 0 | |||
) | [virtual] |
Reimplemented from CvDTreeTrainData.
virtual const int* CvERTreeTrainData::get_sample_indices | ( | CvDTreeNode * | n, | |
int * | indices_buf | |||
) | [virtual] |
Reimplemented from CvDTreeTrainData.
virtual void CvERTreeTrainData::get_vectors | ( | const CvMat * | _subsample_idx, | |
float * | values, | |||
uchar * | missing, | |||
float * | responses, | |||
bool | get_class_idx = false | |||
) | [virtual] |
Reimplemented from CvDTreeTrainData.
virtual void CvERTreeTrainData::set_data | ( | const CvMat * | trainData, | |
int | tflag, | |||
const CvMat * | responses, | |||
const CvMat * | varIdx = 0 , |
|||
const CvMat * | sampleIdx = 0 , |
|||
const CvMat * | varType = 0 , |
|||
const CvMat * | missingDataMask = 0 , |
|||
const CvDTreeParams & | params = CvDTreeParams() , |
|||
bool | _shared = false , |
|||
bool | _add_labels = false , |
|||
bool | _update_data = false | |||
) | [virtual] |
Reimplemented from CvDTreeTrainData.
virtual CvDTreeNode* CvERTreeTrainData::subsample_data | ( | const CvMat * | _subsample_idx | ) | [virtual] |
Reimplemented from CvDTreeTrainData.