Uses of Class
org.opencv.ml.TrainData
-
Packages that use TrainData Package Description org.opencv.ml -
-
Uses of TrainData in org.opencv.ml
Methods in org.opencv.ml that return TrainData Modifier and Type Method Description static TrainData
TrainData. __fromPtr__(long addr)
static TrainData
TrainData. create(Mat samples, int layout, Mat responses)
Creates training data from in-memory arrays.static TrainData
TrainData. create(Mat samples, int layout, Mat responses, Mat varIdx)
Creates training data from in-memory arrays.static TrainData
TrainData. create(Mat samples, int layout, Mat responses, Mat varIdx, Mat sampleIdx)
Creates training data from in-memory arrays.static TrainData
TrainData. create(Mat samples, int layout, Mat responses, Mat varIdx, Mat sampleIdx, Mat sampleWeights)
Creates training data from in-memory arrays.static TrainData
TrainData. create(Mat samples, int layout, Mat responses, Mat varIdx, Mat sampleIdx, Mat sampleWeights, Mat varType)
Creates training data from in-memory arrays.Methods in org.opencv.ml with parameters of type TrainData Modifier and Type Method Description float
StatModel. calcError(TrainData data, boolean test, Mat resp)
Computes error on the training or test datasetboolean
StatModel. train(TrainData trainData)
Trains the statistical modelboolean
StatModel. train(TrainData trainData, int flags)
Trains the statistical model
-