OpenCV 2.4.2

org.opencv.ml
Class CvDTreeParams

java.lang.Object
  extended by 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

Field Summary
protected  long nativeObj
           
 
Constructor Summary
  CvDTreeParams()
          The constructors.
protected CvDTreeParams(long addr)
           
 
Method Summary
protected  void finalize()
           
 int get_cv_folds()
           
 int get_max_categories()
           
 int get_max_depth()
           
 int get_min_sample_count()
           
 float get_regression_accuracy()
           
 boolean get_truncate_pruned_tree()
           
 boolean get_use_1se_rule()
           
 boolean get_use_surrogates()
           
 void set_cv_folds(int cv_folds)
           
 void set_max_categories(int max_categories)
           
 void set_max_depth(int max_depth)
           
 void set_min_sample_count(int min_sample_count)
           
 void set_regression_accuracy(float regression_accuracy)
           
 void set_truncate_pruned_tree(boolean truncate_pruned_tree)
           
 void set_use_1se_rule(boolean use_1se_rule)
           
 void set_use_surrogates(boolean use_surrogates)
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nativeObj

protected final long nativeObj
Constructor Detail

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)
Method Detail

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)

Official OpenCV 2.4 Documentation