public class ANN_MLP extends StatModel
Modifier and Type | Field and Description |
---|---|
static int |
BACKPROP |
static int |
GAUSSIAN |
static int |
IDENTITY |
static int |
NO_INPUT_SCALE |
static int |
NO_OUTPUT_SCALE |
static int |
RPROP |
static int |
SIGMOID_SYM |
static int |
UPDATE_WEIGHTS |
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
Modifier and Type | Method and Description |
---|---|
static ANN_MLP |
create() |
double |
getBackpropMomentumScale() |
double |
getBackpropWeightScale() |
Mat |
getLayerSizes() |
double |
getRpropDW0() |
double |
getRpropDWMax() |
double |
getRpropDWMin() |
double |
getRpropDWMinus() |
double |
getRpropDWPlus() |
TermCriteria |
getTermCriteria() |
int |
getTrainMethod() |
Mat |
getWeights(int layerIdx) |
void |
setActivationFunction(int type) |
void |
setActivationFunction(int type,
double param1,
double param2) |
void |
setBackpropMomentumScale(double val) |
void |
setBackpropWeightScale(double val) |
void |
setLayerSizes(Mat _layer_sizes) |
void |
setRpropDW0(double val) |
void |
setRpropDWMax(double val) |
void |
setRpropDWMin(double val) |
void |
setRpropDWMinus(double val) |
void |
setRpropDWPlus(double val) |
void |
setTermCriteria(TermCriteria val) |
void |
setTrainMethod(int method) |
void |
setTrainMethod(int method,
double param1,
double param2) |
empty, getVarCount, isClassifier, isTrained, predict, predict, train
clear, getDefaultName, save
public static final int BACKPROP
public static final int GAUSSIAN
public static final int IDENTITY
public static final int NO_INPUT_SCALE
public static final int NO_OUTPUT_SCALE
public static final int RPROP
public static final int SIGMOID_SYM
public static final int UPDATE_WEIGHTS
public static ANN_MLP create()
public double getBackpropMomentumScale()
public double getBackpropWeightScale()
public Mat getLayerSizes()
public double getRpropDW0()
public double getRpropDWMax()
public double getRpropDWMin()
public double getRpropDWMinus()
public double getRpropDWPlus()
public TermCriteria getTermCriteria()
public int getTrainMethod()
public Mat getWeights(int layerIdx)
public void setActivationFunction(int type)
public void setActivationFunction(int type, double param1, double param2)
public void setBackpropMomentumScale(double val)
public void setBackpropWeightScale(double val)
public void setLayerSizes(Mat _layer_sizes)
public void setRpropDW0(double val)
public void setRpropDWMax(double val)
public void setRpropDWMin(double val)
public void setRpropDWMinus(double val)
public void setRpropDWPlus(double val)
public void setTermCriteria(TermCriteria val)
public void setTrainMethod(int method)
public void setTrainMethod(int method, double param1, double param2)