public class StepSchedule extends Schedule<org.nd4j.linalg.schedule.StepSchedule>
| Constructor and Description |
|---|
StepSchedule() |
| Modifier and Type | Method and Description |
|---|---|
double |
getDecayRate() |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
double |
getStep() |
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.StepSchedule newBackend)
Set the DL4J backend.
|
void |
setDecayRate(double decayRate) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setStep(double step) |
create, getBackend, getInitialValue, getScheduleType, setInitialValue, setScheduleType@OptionMetadata(displayName="decayRate",
description="The decayRate value (default = 0.99).",
commandLineParamName="decayRate",
commandLineParamSynopsis="-decayRate <double>",
displayOrder=2)
public double getDecayRate()
public void setDecayRate(double decayRate)
@OptionMetadata(displayName="step",
description="The step value (default = 10).",
commandLineParamName="step",
commandLineParamSynopsis="-step <step>",
displayOrder=2)
public double getStep()
public void setStep(double step)
public void setBackend(org.nd4j.linalg.schedule.StepSchedule newBackend)
ApiWrappernewBackend - Backend that should be wrapped by this classpublic void initializeBackend()
ApiWrapperpublic java.util.Enumeration<weka.core.Option> listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class Schedule<org.nd4j.linalg.schedule.StepSchedule>public java.lang.String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class Schedule<org.nd4j.linalg.schedule.StepSchedule>public void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface weka.core.OptionHandlersetOptions in class Schedule<org.nd4j.linalg.schedule.StepSchedule>options - the list of options as an array of stringsjava.lang.Exception - if an option is not supported