|
OpenCV 2.4.4 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
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)
- See Also:
- org.opencv.ml.CvGBTreesParams.CvGBTreesParams
Method Detail
get_loss_function_type
public int get_loss_function_type()
get_shrinkage
public float get_shrinkage()
get_subsample_portion
public float get_subsample_portion()
get_weak_count
public int get_weak_count()
set_loss_function_type
public void set_loss_function_type(int loss_function_type)
set_shrinkage
public void set_shrinkage(float shrinkage)
set_subsample_portion
public void set_subsample_portion(float subsample_portion)
set_weak_count
public void set_weak_count(int weak_count)
Overview
Package
Class
Tree
Index
Help
OpenCV 2.4.4 Documentation
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD