OpenCV 2.4.2

org.opencv.ml
Class CvBoostParams

java.lang.Object
  extended by org.opencv.ml.CvDTreeParams
      extended by org.opencv.ml.CvBoostParams

public class CvBoostParams
extends CvDTreeParams

Boosting training parameters.

There is one structure member that you can set directly:

The structure is derived from "CvDTreeParams" but not all of the decision tree parameters are supported. In particular, cross-validation is not supported.

All parameters are public. You can initialize them by a constructor and then override some of them directly if you want.

See Also:
org.opencv.ml.CvBoostParams : public CvDTreeParams

Field Summary
 
Fields inherited from class org.opencv.ml.CvDTreeParams
nativeObj
 
Constructor Summary
  CvBoostParams()
          The constructors.
protected CvBoostParams(long addr)
           
 
Method Summary
protected  void finalize()
           
 int get_boost_type()
           
 int get_split_criteria()
           
 int get_weak_count()
           
 double get_weight_trim_rate()
           
 void set_boost_type(int boost_type)
           
 void set_split_criteria(int split_criteria)
           
 void set_weak_count(int weak_count)
           
 void set_weight_trim_rate(double weight_trim_rate)
           
 
Methods inherited from class org.opencv.ml.CvDTreeParams
get_cv_folds, get_max_categories, get_max_depth, get_min_sample_count, get_regression_accuracy, get_truncate_pruned_tree, get_use_1se_rule, get_use_surrogates, set_cv_folds, set_max_categories, set_max_depth, set_min_sample_count, set_regression_accuracy, set_truncate_pruned_tree, set_use_1se_rule, set_use_surrogates
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CvBoostParams

public CvBoostParams()

The constructors.

See "CvDTreeParams.CvDTreeParams" for description of other parameters.

Default parameters are:

See Also:
org.opencv.ml.CvBoostParams.CvBoostParams

CvBoostParams

protected CvBoostParams(long addr)
Method Detail

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class CvDTreeParams
Throws:
java.lang.Throwable

get_boost_type

public int get_boost_type()

get_split_criteria

public int get_split_criteria()

get_weak_count

public int get_weak_count()

get_weight_trim_rate

public double get_weight_trim_rate()

set_boost_type

public void set_boost_type(int boost_type)

set_split_criteria

public void set_split_criteria(int split_criteria)

set_weak_count

public void set_weak_count(int weak_count)

set_weight_trim_rate

public void set_weight_trim_rate(double weight_trim_rate)

Official OpenCV 2.4 Documentation