public abstract class Schedule<T extends org.nd4j.linalg.schedule.ISchedule> extends java.lang.Object implements weka.core.OptionHandler, ApiWrapper<T>, java.io.Serializable
SigmoidSchedule, StepSchedule)
Constructor and Description |
---|
Schedule() |
Modifier and Type | Method and Description |
---|---|
static Schedule<? extends org.nd4j.linalg.schedule.ISchedule> |
create(org.nd4j.linalg.schedule.ISchedule newBackend)
Create an API wrapped schedule from a given ISchedule object.
|
T |
getBackend()
Access the DL4J backend.
|
double |
getInitialValue() |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
ScheduleType |
getScheduleType() |
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setInitialValue(double initialValue) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setScheduleType(ScheduleType scheduleType) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeBackend, setBackend
public static Schedule<? extends org.nd4j.linalg.schedule.ISchedule> create(org.nd4j.linalg.schedule.ISchedule newBackend)
newBackend
- Backend object@OptionMetadata(displayName="scheduleType", description="The schedule type, one of {EPOCH,ITERATION} (default = EPOCH).", commandLineParamName="scheduleType", commandLineParamSynopsis="-scheduleType <string>", displayOrder=1) public ScheduleType getScheduleType()
public void setScheduleType(ScheduleType scheduleType)
@ProgrammaticProperty public double getInitialValue()
@ProgrammaticProperty public void setInitialValue(double initialValue)
public T getBackend()
ApiWrapper
getBackend
in interface ApiWrapper<T extends org.nd4j.linalg.schedule.ISchedule>
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported