public class ANN_MLP extends StatModel
Modifier and Type | Field and Description |
---|---|
static int |
ANNEAL |
static int |
BACKPROP |
static int |
GAUSSIAN |
static int |
IDENTITY |
static int |
LEAKYRELU |
static int |
NO_INPUT_SCALE |
static int |
NO_OUTPUT_SCALE |
static int |
RELU |
static int |
RPROP |
static int |
SIGMOID_SYM |
static int |
UPDATE_WEIGHTS |
COMPRESSED_INPUT, PREPROCESSED_INPUT, RAW_OUTPUT, UPDATE_MODEL
Modifier | Constructor and Description |
---|---|
protected |
ANN_MLP(long addr) |
Modifier and Type | Method and Description |
---|---|
static ANN_MLP |
__fromPtr__(long addr) |
static ANN_MLP |
create() |
protected void |
finalize() |
double |
getAnnealCoolingRatio() |
double |
getAnnealFinalT() |
double |
getAnnealInitialT() |
int |
getAnnealItePerStep() |
double |
getBackpropMomentumScale() |
double |
getBackpropWeightScale() |
Mat |
getLayerSizes() |
double |
getRpropDW0() |
double |
getRpropDWMax() |
double |
getRpropDWMin() |
double |
getRpropDWMinus() |
double |
getRpropDWPlus() |
TermCriteria |
getTermCriteria() |
int |
getTrainMethod() |
Mat |
getWeights(int layerIdx) |
static ANN_MLP |
load(java.lang.String filepath) |
void |
setActivationFunction(int type) |
void |
setActivationFunction(int type,
double param1) |
void |
setActivationFunction(int type,
double param1,
double param2) |
void |
setAnnealCoolingRatio(double val) |
void |
setAnnealFinalT(double val) |
void |
setAnnealInitialT(double val) |
void |
setAnnealItePerStep(int val) |
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) |
void |
setTrainMethod(int method,
double param1,
double param2) |
calcError, empty, getVarCount, isClassifier, isTrained, predict, predict, predict, train, train, train
clear, getDefaultName, getNativeObjAddr, save
public static final int UPDATE_WEIGHTS
public static final int NO_INPUT_SCALE
public static final int NO_OUTPUT_SCALE
public static final int BACKPROP
public static final int RPROP
public static final int ANNEAL
public static final int IDENTITY
public static final int SIGMOID_SYM
public static final int GAUSSIAN
public static final int RELU
public static final int LEAKYRELU
public static ANN_MLP __fromPtr__(long addr)
public Mat getLayerSizes()
public Mat getWeights(int layerIdx)
public static ANN_MLP create()
public static ANN_MLP load(java.lang.String filepath)
public TermCriteria getTermCriteria()
public double getAnnealCoolingRatio()
public double getAnnealFinalT()
public double getAnnealInitialT()
public double getBackpropMomentumScale()
public double getBackpropWeightScale()
public double getRpropDW0()
public double getRpropDWMax()
public double getRpropDWMin()
public double getRpropDWMinus()
public double getRpropDWPlus()
public int getAnnealItePerStep()
public int getTrainMethod()
public void setActivationFunction(int type, double param1, double param2)
public void setActivationFunction(int type, double param1)
public void setActivationFunction(int type)
public void setAnnealCoolingRatio(double val)
public void setAnnealFinalT(double val)
public void setAnnealInitialT(double val)
public void setAnnealItePerStep(int val)
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, double param1, double param2)
public void setTrainMethod(int method, double param1)
public void setTrainMethod(int method)
Generated on Sun Nov 18 2018 11:54:12 UTC / OpenCV 4.0.0