#include <lRandomTree.hh>
|
| lRandomTree (const char *filename) |
|
| lRandomTree (std::stringstream &in) |
|
| lRandomTree () |
|
| ~lRandomTree () |
|
unsigned int | GetMaxDepth () const |
|
int | getMaxLabel () const |
|
void | growTree (float **TrainX, int *TrainL, std::vector< int > &TrainSet, int m, int n, int maxLabel, float *classWeight, CvRNG *pRNG, int m_try, int max_depth, int min_samples=1, int num_grid=20) |
|
int | predict (const float *f) const |
|
void | proximity (const float *f, int cl, std::map< int, double > &proximityCounter) const |
|
bool | saveTree (const char *filename) const |
|
bool | saveTree (std::stringstream &out) const |
|
void | setMaxLabel (int _maxLabel) |
|
Definition at line 73 of file lRandomTree.hh.
◆ lRandomTree() [1/3]
lRandomTree::lRandomTree |
( |
const char * |
filename | ) |
|
◆ lRandomTree() [2/3]
lRandomTree::lRandomTree |
( |
std::stringstream & |
in | ) |
|
◆ lRandomTree() [3/3]
lRandomTree::lRandomTree |
( |
| ) |
|
◆ ~lRandomTree()
lRandomTree::~lRandomTree |
( |
| ) |
|
◆ GetMaxDepth()
unsigned int lRandomTree::GetMaxDepth |
( |
| ) |
const |
◆ predict()
int lRandomTree::predict |
( |
const float * |
f | ) |
const |
◆ proximity()
void lRandomTree::proximity |
( |
const float * |
f, |
|
|
int |
cl, |
|
|
std::map< int, double > & |
proximityCounter |
|
) |
| const |
◆ saveTree() [1/2]
bool lRandomTree::saveTree |
( |
const char * |
filename | ) |
const |
◆ saveTree() [2/2]
bool lRandomTree::saveTree |
( |
std::stringstream & |
out | ) |
const |
◆ growTree()
void lRandomTree::growTree |
( |
float ** |
TrainX, |
|
|
int * |
TrainL, |
|
|
std::vector< int > & |
TrainSet, |
|
|
int |
m, |
|
|
int |
n, |
|
|
int |
maxLabel, |
|
|
float * |
classWeight, |
|
|
CvRNG * |
pRNG, |
|
|
int |
m_try, |
|
|
int |
max_depth, |
|
|
int |
min_samples = 1 , |
|
|
int |
num_grid = 20 |
|
) |
| |
◆ getMaxLabel()
int lRandomTree::getMaxLabel |
( |
| ) |
const |
◆ setMaxLabel()
void lRandomTree::setMaxLabel |
( |
int |
_maxLabel | ) |
|
The documentation for this class was generated from the following file: