|
OpenCV 2.4.4 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.opencv.ml.CvDTreeParams org.opencv.ml.CvGBTreesParams
public class CvGBTreesParams
GBT training parameters.
The structure contains parameters for each single decision tree in the ensemble, as well as the whole model characteristics. The structure is derived from "CvDTreeParams" but not all of the decision tree parameters are supported: cross-validation, pruning, and class priorities are not used.
Constructor Summary | |
---|---|
CvGBTreesParams()
By default the following constructor is used: CvGBTreesParams(CvGBTrees.SQUARED_LOSS, 200, 0.8f, 0.01f, 3, false)
|
Method Summary | |
---|---|
int |
get_loss_function_type()
|
float |
get_shrinkage()
|
float |
get_subsample_portion()
|
int |
get_weak_count()
|
void |
set_loss_function_type(int loss_function_type)
|
void |
set_shrinkage(float shrinkage)
|
void |
set_subsample_portion(float subsample_portion)
|
void |
set_weak_count(int weak_count)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CvGBTreesParams()
By default the following constructor is used: CvGBTreesParams(CvGBTrees.SQUARED_LOSS,
200, 0.8f, 0.01f, 3, false)
// C++ code:
: CvDTreeParams(3, 10, 0, false, 10, 0, false, false, 0)
Method Detail |
---|
public int get_loss_function_type()
public float get_shrinkage()
public float get_subsample_portion()
public int get_weak_count()
public void set_loss_function_type(int loss_function_type)
public void set_shrinkage(float shrinkage)
public void set_subsample_portion(float subsample_portion)
public void set_weak_count(int weak_count)
|
OpenCV 2.4.4 Documentation | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |