public class StatModel extends Algorithm
Modifier and Type | Field and Description |
---|---|
static int |
COMPRESSED_INPUT |
static int |
PREPROCESSED_INPUT |
static int |
RAW_OUTPUT |
static int |
UPDATE_MODEL |
Modifier | Constructor and Description |
---|---|
protected |
StatModel(long addr) |
Modifier and Type | Method and Description |
---|---|
static StatModel |
__fromPtr__(long addr) |
float |
calcError(TrainData data,
boolean test,
Mat resp) |
boolean |
empty() |
protected void |
finalize() |
int |
getVarCount() |
boolean |
isClassifier() |
boolean |
isTrained() |
float |
predict(Mat samples) |
float |
predict(Mat samples,
Mat results) |
float |
predict(Mat samples,
Mat results,
int flags) |
boolean |
train(Mat samples,
int layout,
Mat responses) |
boolean |
train(TrainData trainData) |
boolean |
train(TrainData trainData,
int flags) |
clear, getDefaultName, getNativeObjAddr, save
public static final int UPDATE_MODEL
public static final int RAW_OUTPUT
public static final int COMPRESSED_INPUT
public static final int PREPROCESSED_INPUT
public static StatModel __fromPtr__(long addr)
public boolean isClassifier()
public boolean isTrained()
public boolean train(TrainData trainData, int flags)
public boolean train(TrainData trainData)
public float predict(Mat samples)
public int getVarCount()
Generated on Sun Apr 7 2019 01:18:56 UTC / OpenCV 3.4.6