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 and Type | Method and Description |
---|---|
boolean |
empty() |
int |
getVarCount() |
boolean |
isClassifier() |
boolean |
isTrained() |
float |
predict(Mat samples) |
float |
predict(Mat samples,
Mat results,
int flags) |
boolean |
train(Mat samples,
int layout,
Mat responses) |
clear, getDefaultName, save
public static final int COMPRESSED_INPUT
public static final int PREPROCESSED_INPUT
public static final int RAW_OUTPUT
public static final int UPDATE_MODEL
public boolean empty()
public int getVarCount()
public boolean isClassifier()
public boolean isTrained()
public float predict(Mat samples)