🤖 AIによる機械翻訳(非公式) — これは OpenCV 5.0.0 公式リファレンス(英語)を AI (Claude) で自動翻訳したものです。訳に誤りを含む場合があります。正確な情報は 公式英語版(原文) を参照してください。
Package org.opencv.ml
Class ParamGrid
- java.lang.Object
-
- org.opencv.ml.ParamGrid
public class ParamGrid extends java.lang.Objectこの構造体は statmodel の引数の対数グリッド範囲を表す。モデルの引数を変化させて statmodel の精度を最適化するために用いられ、その精度推定は交差検証により計算される。
-
-
フィールドの要約
フィールド Modifier and Type Field Description protected longnativeObj
-
コンストラクタの要約
コンストラクタ Modifier Constructor Description protectedParamGrid​(long addr)
-
メソッドの要約
すべてのメソッド 静的メソッド インスタンスメソッド 具象メソッド Modifier and Type Method Description static ParamGrid__fromPtr__​(long addr)static ParamGridcreate()Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto methodstatic ParamGridcreate​(double minVal)Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto methodstatic ParamGridcreate​(double minVal, double maxVal)Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto methodstatic ParamGridcreate​(double minVal, double maxVal, double logstep)Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto methoddoubleget_logStep()doubleget_maxVal()doubleget_minVal()longgetNativeObjAddr()voidset_logStep​(double logStep)voidset_maxVal​(double maxVal)voidset_minVal​(double minVal)
-
-
-
メソッドの詳細
-
getNativeObjAddr
public long getNativeObjAddr()
-
__fromPtr__
public static ParamGrid __fromPtr__​(long addr)
-
create
public static ParamGrid create​(double minVal, double maxVal, double logstep)
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- 引数:
minVal- 引数グリッドの最小値maxVal- 引数グリッドの最大値logstep- statmodel の引数を反復するための対数ステップ- 戻り値:
- 自動生成
-
create
public static ParamGrid create​(double minVal, double maxVal)
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- 引数:
minVal- 引数グリッドの最小値maxVal- 引数グリッドの最大値- 戻り値:
- 自動生成
-
create
public static ParamGrid create​(double minVal)
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- 引数:
minVal- 引数グリッドの最小値- 戻り値:
- 自動生成
-
create
public static ParamGrid create()
Creates a ParamGrid Ptr that can be given to the %SVM::trainAuto method- 戻り値:
- 自動生成
-
get_minVal
public double get_minVal()
-
set_minVal
public void set_minVal​(double minVal)
-
get_maxVal
public double get_maxVal()
-
set_maxVal
public void set_maxVal​(double maxVal)
-
get_logStep
public double get_logStep()
-
set_logStep
public void set_logStep​(double logStep)
-
-