public class Nesterovs extends Updater<org.nd4j.linalg.learning.config.Nesterovs>
Constructor and Description |
---|
Nesterovs() |
Modifier and Type | Method and Description |
---|---|
double |
getMomentum() |
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 |
setMomentum(double momentum) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
create, getBackend, getLearningRate, getLearningRateSchedule, hasLearningRate, setBackend, setLearningRate, setLearningRateSchedule
@OptionMetadata(displayName="momentum", description="The momentum (default = 0.9).", commandLineParamName="momentum", commandLineParamSynopsis="-momentum <double>", displayOrder=1) public double getMomentum()
public void setMomentum(double momentum)
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.Nesterovs>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Updater<org.nd4j.linalg.learning.config.Nesterovs>
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.Nesterovs>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported