@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.Split| 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(org.bytedeco.javacpp.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() |
static opencv_ml.Boost |
load(org.bytedeco.javacpp.BytePointer filepath) |
static opencv_ml.Boost |
load(org.bytedeco.javacpp.BytePointer filepath,
org.bytedeco.javacpp.BytePointer nodeName)
\brief Loads and creates a serialized Boost from a file
Use Boost::save to serialize and store an RTree to disk.
|
static opencv_ml.Boost |
load(String filepath) |
static opencv_ml.Boost |
load(String filepath,
String nodeName) |
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, calcError, empty, getVarCount, isClassifier, isTrained, predict, predict, predict, predict, predict, predict, train, 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, write, write, writeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic static final int DISCRETE
public static final int REAL
public static final int LOGIT
public static final int GENTLE
public Boost(org.bytedeco.javacpp.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()
@opencv_core.Ptr public static opencv_ml.Boost load(@opencv_core.Str org.bytedeco.javacpp.BytePointer filepath, @opencv_core.Str org.bytedeco.javacpp.BytePointer nodeName)
filepath - path to serialized BoostnodeName - name of node containing the classifier@opencv_core.Ptr public static opencv_ml.Boost load(@opencv_core.Str org.bytedeco.javacpp.BytePointer filepath)
@opencv_core.Ptr public static opencv_ml.Boost load(@opencv_core.Str String filepath, @opencv_core.Str String nodeName)
@opencv_core.Ptr public static opencv_ml.Boost load(@opencv_core.Str String filepath)
Copyright © 2018. All rights reserved.