public class SigmoidSchedule extends Schedule<org.nd4j.linalg.schedule.SigmoidSchedule>
Constructor and Description |
---|
SigmoidSchedule() |
Modifier and Type | Method and Description |
---|---|
double |
getGamma() |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
int |
getStepSize() |
void |
initializeBackend()
Initialize the DL4J backend.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setBackend(org.nd4j.linalg.schedule.SigmoidSchedule newBackend)
Set the DL4J backend.
|
void |
setGamma(double gamma) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setStepSize(int stepSize) |
create, getBackend, getInitialValue, getScheduleType, setInitialValue, setScheduleType
@OptionMetadata(displayName="gamma", description="The gamma value (default = 0.99).", commandLineParamName="gamma", commandLineParamSynopsis="-gamma <double>", displayOrder=2) public double getGamma()
public void setGamma(double gamma)
@OptionMetadata(displayName="stepSize", description="The stepSize value (default = 10).", commandLineParamName="stepSize", commandLineParamSynopsis="-stepSize <stepSize>", displayOrder=2) public int getStepSize()
public void setStepSize(int stepSize)
public void initializeBackend()
ApiWrapper
public void setBackend(org.nd4j.linalg.schedule.SigmoidSchedule newBackend)
ApiWrapper
newBackend
- Backend that should be wrapped by this classpublic java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class Schedule<org.nd4j.linalg.schedule.SigmoidSchedule>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Schedule<org.nd4j.linalg.schedule.SigmoidSchedule>
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class Schedule<org.nd4j.linalg.schedule.SigmoidSchedule>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported