MCPcopy Create free account
hub / github.com/bitristan/OpenCVSamples / train

Method train

OpenCV Library - 2.4.3/src/org/opencv/ml/CvSVM.java:257–263  ·  view source on GitHub ↗

Trains an SVM. The method trains the SVM model. It follows the conventions of the generic "CvStatModel.train" approach with the following limitations: Only the CV_ROW_SAMPLE data layout is supported. Input variables are all ordered. Output variab

(Mat trainData, Mat responses, Mat varIdx, Mat sampleIdx, CvSVMParams params)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

train_0Method · 0.95
train_1Method · 0.95

Tested by

no test coverage detected