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) |
calcError, empty, getVarCount, isClassifier, isTrained, predict, predict, train, train, train
clear, getDefaultName, getNativeObjAddr, save
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 final int UPDATE_WEIGHTS
public static final int NO_INPUT_SCALE
public static final int NO_OUTPUT_SCALE
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)
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)
Generated on Wed Jul 4 2018 14:01:58 UTC / OpenCV 3.4.2