public class Nadam extends Updater<org.nd4j.linalg.learning.config.Nadam>
Constructor and Description |
---|
Nadam() |
Modifier and Type | Method and Description |
---|---|
double |
getBeta1() |
double |
getBeta2() |
double |
getEpsilon() |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
void |
initializeBackend()
Initialize the DL4J backend.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setBeta1(double beta1) |
void |
setBeta2(double beta2) |
void |
setEpsilon(double epsilon) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
create, getBackend, getLearningRate, getLearningRateSchedule, hasLearningRate, setBackend, setLearningRate, setLearningRateSchedule
@OptionMetadata(displayName="beta1MeanDecay", description="The mean decay (default = 0.9).", commandLineParamName="beta1MeanDecay", commandLineParamSynopsis="-beta1MeanDecay <double>", displayOrder=1) public double getBeta1()
public void setBeta1(double beta1)
@OptionMetadata(displayName="beta2VarDecay", description="The var decay (default = 0.999).", commandLineParamName="beta2VarDecay", commandLineParamSynopsis="-beta2VarDecay <double>", displayOrder=2) public double getBeta2()
public void setBeta2(double beta2)
@OptionMetadata(displayName="epsilon", description="The epsilon parameter (default = 1.0E-8).", commandLineParamName="epsilon", commandLineParamSynopsis="-epsilon <double>", displayOrder=3) public double getEpsilon()
public void setEpsilon(double epsilon)
public void initializeBackend()
ApiWrapper
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class Updater<org.nd4j.linalg.learning.config.Nadam>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Updater<org.nd4j.linalg.learning.config.Nadam>
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class Updater<org.nd4j.linalg.learning.config.Nadam>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported