🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.ml

クラス Boost


  • public class Boost extends DTrees
    DTrees から派生したブースト木分類器。参照: REF: ml_intro_boost
    • コンストラクタの詳細

      • Boost

        protected Boost​(long addr)
    • メソッドの詳細

      • __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へのパス
        戻り値:
        自動生成