The CvSVM type exposes the following members.
Methods
Name | Description | |
---|---|---|
AllocGCHandle |
Pins the object to be allocated by cvSetData.
(Inherited from DisposableObject.) | |
AllocMemory |
Allocates the specified size of memory.
(Inherited from DisposableObject.) | |
Clear |
Deallocates memory and resets the model state
(Overrides CvStatModelClear.) | |
Dispose |
Releases the resources
(Inherited from DisposableObject.) | |
Dispose(Boolean) |
Clean up any resources being used.
(Overrides CvStatModelDispose(Boolean).) | |
Equals | (Inherited from Object.) | |
Finalize |
Destructor
(Inherited from DisposableObject.) | |
GetDefaultGrid |
Generates a grid for SVM parameters
| |
GetHashCode | (Inherited from Object.) | |
GetParams |
Returns current SVM parameters
| |
GetSupportVector |
Retrieves the particular vector
| |
GetSupportVectorCount |
Retrieves the number of support vectors
| |
GetType | (Inherited from Object.) | |
GetVarCount | ||
Load(String) |
Loads the model from file
(Inherited from CvStatModel.) | |
Load(String, String) |
Loads the model from file
(Inherited from CvStatModel.) | |
MemberwiseClone | (Inherited from Object.) | |
NotifyMemoryPressure |
Notifies the allocated size of memory.
(Inherited from DisposableObject.) | |
Predict(CvMat, CvMat) |
Predicts the response for sample
| |
Predict(CvMat, Boolean) |
Predicts the response for sample
| |
Predict(InputArray, OutputArray) |
Predicts the response for sample
| |
Predict(Mat, Boolean) |
Predicts the response for sample
| |
Read |
Reads the model from file storage
(Overrides CvStatModelRead(CvFileStorage, CvFileNode).) | |
Save(String) |
Saves the model to file
(Inherited from CvStatModel.) | |
Save(String, String) |
Saves the model to file
(Inherited from CvStatModel.) | |
ThrowIfDisposed |
If this object is disposed, then ObjectDisposedException is thrown.
(Inherited from DisposableObject.) | |
ToString | (Inherited from Object.) | |
Train(CvMat, CvMat, CvMat, CvMat, CvSVMParams) |
Trains SVM
| |
Train(Mat, Mat, Mat, Mat, CvSVMParams) |
Trains SVM
| |
TrainAuto(CvMat, CvMat, CvMat, CvMat, CvSVMParams, Int32, NullableCvParamGrid, NullableCvParamGrid, NullableCvParamGrid, NullableCvParamGrid, NullableCvParamGrid, NullableCvParamGrid, Boolean) |
Trains SVM with optimal parameters
| |
TrainAuto(Mat, Mat, Mat, Mat, CvSVMParams, Int32, NullableCvParamGrid, NullableCvParamGrid, NullableCvParamGrid, NullableCvParamGrid, NullableCvParamGrid, NullableCvParamGrid, Boolean) |
Trains SVM with optimal parameters
| |
Write |
Writes the model to file storage
(Overrides CvStatModelWrite(CvFileStorage, String).) |
See Also