@Namespace(value="cv::ml") public static class opencv_ml.Boost extends opencv_ml.DTrees
\sa \ref ml_intro_boost
opencv_ml.DTrees.Node, opencv_ml.DTrees.SplitPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
DISCRETE
enum cv::ml::Boost::Types
|
static int |
GENTLE
enum cv::ml::Boost::Types
|
static int |
LOGIT
enum cv::ml::Boost::Types
|
static int |
REAL
enum cv::ml::Boost::Types
|
PREDICT_AUTO, PREDICT_MASK, PREDICT_MAX_VOTE, PREDICT_SUMCOMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL| Constructor and Description |
|---|
Boost(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static opencv_ml.Boost |
create()
Creates the empty model.
|
int |
getBoostType() |
int |
getWeakCount() |
double |
getWeightTrimRate() |
void |
setBoostType(int val)
\copybrief getBoostType @see getBoostType
|
void |
setWeakCount(int val)
\copybrief getWeakCount @see getWeakCount
|
void |
setWeightTrimRate(double val)
\copybrief getWeightTrimRate @see getWeightTrimRate
|
getCVFolds, getMaxCategories, getMaxDepth, getMinSampleCount, getNodes, getPriors, getRegressionAccuracy, getRoots, getSplits, getSubsets, getTruncatePrunedTree, getUse1SERule, getUseSurrogates, setCVFolds, setMaxCategories, setMaxDepth, setMinSampleCount, setPriors, setRegressionAccuracy, setTruncatePrunedTree, setUse1SERule, setUseSurrogatescalcError, calcError, empty, getVarCount, isClassifier, isTrained, predict, predict, predict, predict, train, train, train, trainloadANN_MLP, loadANN_MLP, loadBoost, loadBoost, loadDTrees, loadDTrees, loadEM, loadEM, loadKNearest, loadKNearest, loadLogisticRegression, loadLogisticRegression, loadNormalBayesClassifier, loadNormalBayesClassifier, loadRTrees, loadRTrees, loadSVM, loadSVMclear, getDefaultName, position, read, save, save, writeaddress, asBuffer, asByteBuffer, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, withDeallocator, zeropublic static final int DISCRETE
public static final int REAL
public static final int LOGIT
public static final int GENTLE
public Boost(Pointer p)
Pointer.Pointer(Pointer).public int getBoostType()
setBoostTypepublic void setBoostType(int val)
public int getWeakCount()
setWeakCountpublic void setWeakCount(int val)
public double getWeightTrimRate()
setWeightTrimRatepublic void setWeightTrimRate(double val)
@opencv_core.Ptr public static opencv_ml.Boost create()
Copyright © 2017. All rights reserved.