MCPcopy Create free account
hub / github.com/abhn/marvel / train

Method train

openCVLibrary2410/src/main/java/org/opencv/ml/CvKNearest.java:174–180  ·  view source on GitHub ↗

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

(Mat trainData, Mat responses, Mat sampleIdx, boolean isRegression, int maxK, boolean updateBase)

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