#include <lRandomForest.hh>
|
| lRandomForest (int nTree) |
|
| ~lRandomForest () |
|
int | GetSize () const |
|
void | loadForest (const char *filename, unsigned int offset=0) |
|
void | loadForest (std::stringstream *&ss) |
|
double | outlier (float *f, int cl) const |
|
int | predict (float *f) const |
|
int | predict (float *f, float &p) const |
|
int | predict (float *f, float *p) const |
|
double | proximity (float *f, int cl, int self=-1) const |
|
double | rawOutlier (float *f, int cl, int self=-1) const |
|
void | saveForest (const char *filename, unsigned int offset=0) |
|
void | saveForest (std::stringstream *&ss) |
|
void | selfTest () |
|
void | SetTrees (int n) |
|
void | trainForest (float **X, int *L, int m, int n, int m_try, int max_depth, int min_samples=1, int num_grid=20) |
|
Definition at line 42 of file lRandomForest.hh.
◆ lRandomForest()
lRandomForest::lRandomForest |
( |
int |
nTree | ) |
|
◆ ~lRandomForest()
lRandomForest::~lRandomForest |
( |
| ) |
|
◆ SetTrees()
void lRandomForest::SetTrees |
( |
int |
n | ) |
|
◆ GetSize()
int lRandomForest::GetSize |
( |
| ) |
const |
◆ predict() [1/3]
int lRandomForest::predict |
( |
float * |
f | ) |
const |
◆ predict() [2/3]
int lRandomForest::predict |
( |
float * |
f, |
|
|
float & |
p |
|
) |
| const |
◆ predict() [3/3]
int lRandomForest::predict |
( |
float * |
f, |
|
|
float * |
p |
|
) |
| const |
◆ proximity()
double lRandomForest::proximity |
( |
float * |
f, |
|
|
int |
cl, |
|
|
int |
self = -1 |
|
) |
| const |
◆ rawOutlier()
double lRandomForest::rawOutlier |
( |
float * |
f, |
|
|
int |
cl, |
|
|
int |
self = -1 |
|
) |
| const |
◆ outlier()
double lRandomForest::outlier |
( |
float * |
f, |
|
|
int |
cl |
|
) |
| const |
◆ trainForest()
void lRandomForest::trainForest |
( |
float ** |
X, |
|
|
int * |
L, |
|
|
int |
m, |
|
|
int |
n, |
|
|
int |
m_try, |
|
|
int |
max_depth, |
|
|
int |
min_samples = 1 , |
|
|
int |
num_grid = 20 |
|
) |
| |
◆ saveForest() [1/2]
void lRandomForest::saveForest |
( |
const char * |
filename, |
|
|
unsigned int |
offset = 0 |
|
) |
| |
◆ loadForest() [1/2]
void lRandomForest::loadForest |
( |
const char * |
filename, |
|
|
unsigned int |
offset = 0 |
|
) |
| |
◆ saveForest() [2/2]
void lRandomForest::saveForest |
( |
std::stringstream *& |
ss | ) |
|
◆ loadForest() [2/2]
void lRandomForest::loadForest |
( |
std::stringstream *& |
ss | ) |
|
◆ selfTest()
void lRandomForest::selfTest |
( |
| ) |
|
◆ vTrees
◆ _nTree
int lRandomForest::_nTree |
◆ nSample
int lRandomForest::nSample |
◆ _maxLabel
int lRandomForest::_maxLabel |
◆ classCount
int* lRandomForest::classCount |
◆ classWeight
float* lRandomForest::classWeight |
◆ medianRawOutlier
double* lRandomForest::medianRawOutlier |
◆ absDevRawOutlier
double* lRandomForest::absDevRawOutlier |
The documentation for this class was generated from the following file: