org.opencv.ml
Class CvDTreeParams
java.lang.Object
org.opencv.ml.CvDTreeParams
- Direct Known Subclasses:
- CvBoostParams, CvGBTreesParams, CvRTParams
public class CvDTreeParams
- extends java.lang.Object
The structure contains all the decision tree training parameters. You can
initialize it by default constructor and then override any parameters
directly before training, or the structure may be fully initialized using the
advanced variant of the constructor.
- See Also:
- org.opencv.ml.CvDTreeParams
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nativeObj
protected final long nativeObj
CvDTreeParams
public CvDTreeParams()
The constructors.
The default constructor initializes all the parameters with the default
values tuned for the standalone classification tree:
- See Also:
- org.opencv.ml.CvDTreeParams.CvDTreeParams
CvDTreeParams
protected CvDTreeParams(long addr)
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable
get_cv_folds
public int get_cv_folds()
get_max_categories
public int get_max_categories()
get_max_depth
public int get_max_depth()
get_min_sample_count
public int get_min_sample_count()
get_regression_accuracy
public float get_regression_accuracy()
get_truncate_pruned_tree
public boolean get_truncate_pruned_tree()
get_use_1se_rule
public boolean get_use_1se_rule()
get_use_surrogates
public boolean get_use_surrogates()
set_cv_folds
public void set_cv_folds(int cv_folds)
set_max_categories
public void set_max_categories(int max_categories)
set_max_depth
public void set_max_depth(int max_depth)
set_min_sample_count
public void set_min_sample_count(int min_sample_count)
set_regression_accuracy
public void set_regression_accuracy(float regression_accuracy)
set_truncate_pruned_tree
public void set_truncate_pruned_tree(boolean truncate_pruned_tree)
set_use_1se_rule
public void set_use_1se_rule(boolean use_1se_rule)
set_use_surrogates
public void set_use_surrogates(boolean use_surrogates)