CvSVM Constructor (Mat, Mat, Mat, Mat, CvSVMParams) OpenCvSharp Class Library
Training constructor

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public CvSVM(
	Mat trainData,
	Mat responses,
	Mat varIdx = null,
	Mat sampleIdx = null,
	CvSVMParams param = null
)

Parameters

trainData
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="trainData"/> documentation for "M:OpenCvSharp.CPlusPlus.CvSVM.#ctor(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvSVMParams)"]

responses
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="responses"/> documentation for "M:OpenCvSharp.CPlusPlus.CvSVM.#ctor(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvSVMParams)"]

varIdx (Optional)
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="varIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.CvSVM.#ctor(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvSVMParams)"]

sampleIdx (Optional)
Type: OpenCvSharp.CPlusPlusMat

[Missing <param name="sampleIdx"/> documentation for "M:OpenCvSharp.CPlusPlus.CvSVM.#ctor(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvSVMParams)"]

param (Optional)
Type: OpenCvSharp.CPlusPlusCvSVMParams

[Missing <param name="param"/> documentation for "M:OpenCvSharp.CPlusPlus.CvSVM.#ctor(OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.CvSVMParams)"]

See Also

Reference