🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.ml
クラス Boost
- java.lang.Object
-
- org.opencv.core.Algorithm
-
- org.opencv.ml.StatModel
-
- org.opencv.ml.DTrees
-
- org.opencv.ml.Boost
public class Boost extends DTrees
DTrees から派生したブースト木分類器。参照: REF: ml_intro_boost
-
-
フィールドの要約
フィールド Modifier and Type Field Description static intDISCRETEstatic intGENTLEstatic intLOGITstatic intREAL-
クラス org.opencv.ml.DTrees から継承したフィールド
PREDICT_AUTO, PREDICT_MASK, PREDICT_MAX_VOTE, PREDICT_SUM
-
クラス org.opencv.ml.StatModel から継承されたフィールド
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
-
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedBoost​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static Boost__fromPtr__​(long addr)static Boostcreate()Creates the empty model.intgetBoostType()SEE: setBoostTypeintgetWeakCount()SEE: setWeakCountdoublegetWeightTrimRate()SEE: setWeightTrimRatestatic Boostload​(java.lang.String filepath)Loads and creates a serialized Boost from a file Use Boost::save to serialize and store an RTree to disk.static Boostload​(java.lang.String filepath, java.lang.String nodeName)Loads and creates a serialized Boost from a file Use Boost::save to serialize and store an RTree to disk.voidsetBoostType​(int val)getBoostType SEE: getBoostTypevoidsetWeakCount​(int val)getWeakCount SEE: getWeakCountvoidsetWeightTrimRate​(double val)getWeightTrimRate SEE: getWeightTrimRate-
クラス org.opencv.ml.DTrees から継承したメソッド
getCVFolds, getMaxCategories, getMaxDepth, getMinSampleCount, getPriors, getRegressionAccuracy, getTruncatePrunedTree, getUse1SERule, getUseSurrogates, setCVFolds, setMaxCategories, setMaxDepth, setMinSampleCount, setPriors, setRegressionAccuracy, setTruncatePrunedTree, setUse1SERule, setUseSurrogates
-
クラス org.opencv.ml.StatModel から継承されたメソッド
calcError, empty, getVarCount, isClassifier, isTrained, predict, predict, predict, train, train, train
-
クラス org.opencv.core.Algorithm から継承されたメソッド
clear, getDefaultName, getNativeObjAddr, save
-
-
-
-
メソッドの詳細
-
__fromPtr__
public static Boost __fromPtr__​(long addr)
-
getBoostType
public int getBoostType()
SEE: setBoostType- 戻り値:
- 自動生成
-
setBoostType
public void setBoostType​(int val)
getBoostType SEE: getBoostType- 引数:
val- 自動生成
-
getWeakCount
public int getWeakCount()
SEE: setWeakCount- 戻り値:
- 自動生成
-
setWeakCount
public void setWeakCount​(int val)
getWeakCount SEE: getWeakCount- 引数:
val- 自動生成
-
getWeightTrimRate
public double getWeightTrimRate()
SEE: setWeightTrimRate- 戻り値:
- 自動生成
-
setWeightTrimRate
public void setWeightTrimRate​(double val)
getWeightTrimRate SEE: getWeightTrimRate- 引数:
val- 自動生成
-
create
public static Boost create()
Creates the empty model. Use StatModel::train to train the model, Algorithm::load<Boost>(filename) to load the pre-trained model.- 戻り値:
- 自動生成
-
load
public static Boost load​(java.lang.String filepath, java.lang.String nodeName)
Loads and creates a serialized Boost from a file Use Boost::save to serialize and store an RTree to disk. Load the Boost from this file again, by calling this function with the path to the file. Optionally specify the node for the file containing the classifier- 引数:
filepath- シリアライズされたBoostへのパスnodeName- 分類器を含むノードの名前- 戻り値:
- 自動生成
-
load
public static Boost load​(java.lang.String filepath)
Loads and creates a serialized Boost from a file Use Boost::save to serialize and store an RTree to disk. Load the Boost from this file again, by calling this function with the path to the file. Optionally specify the node for the file containing the classifier- 引数:
filepath- シリアライズされたBoostへのパス- 戻り値:
- 自動生成
-
-