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 |
---|---|
boolean |
empty() |
protected void |
finalize() |
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 UPDATE_MODEL
public static final int RAW_OUTPUT
public static final int COMPRESSED_INPUT
public static final int PREPROCESSED_INPUT
protected StatModel(long addr)
public boolean empty()
public boolean isClassifier()
public boolean isTrained()
public int getVarCount()