ml_LogisticRegression_get_learnt_thetas

[32/64bit] この関数は,学習されたパラメータを列方向に並べて返します.

ml_LogisticRegression_get_learnt_thetas p1,p2

p1 = sptr : IntPtr obj
p2 = var : out IntPtr returnValue

(プラグイン / モジュール : OpenCvSharpExtern.dll)

解説

2クラス分類問題の場合は,行行列が返されます.これは,ロジスティック回帰の学習済みパラメータを CV_32F 型の行列として返します.

元関数名(C#): ml_LogisticRegression_get_learnt_thetas
元DLLエクスポート名: ml_LogisticRegression_get_learnt_thetas
参照元CSファイル: Internal\PInvoke\NativeMethods\ml\NativeMethods_ml_LogisticRegression.cs
▼ C言語側関数定義
CVAPI(ExceptionStatus) ml_LogisticRegression_get_learnt_thetas(cv::ml::LogisticRegression *obj, cv::Mat **returnValue)
{
    BEGIN_WRAP
    *returnValue = new cv::Mat(obj->get_learnt_thetas());
    END_WRAP
}

情報

プラグイン / モジュールOpenCvSharpExtern.dll
バージョン1.00
作成日2021/11/30
著作者inovia
URLhttps://hsp.moe/
備考#include "OpenCvSharpExtern32.as"
#include "OpenCvSharpExtern64.as"
使用するHSPランタイムのビット数に合わせたインクルードファイルを使用すること
タイプOpenCVSharpラッパーDLL
グループNativeMethods_ml_LogisticRegression
対応環境
  • Windows 版 HSP
hs ファイルhsphelp\OpenCvSharpExtern.hs