public class ConstantSchedule extends Schedule<ConstantSchedule.ConstantScheduleImpl>
Modifier and Type | Class and Description |
---|---|
static class |
ConstantSchedule.ConstantScheduleImpl |
Constructor and Description |
---|
ConstantSchedule() |
Modifier and Type | Method and Description |
---|---|
ConstantSchedule.ConstantScheduleImpl |
getBackend()
Access the DL4J backend.
|
double |
getInitialValue() |
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 |
setBackend(ConstantSchedule.ConstantScheduleImpl newBackend)
Set the DL4J backend.
|
void |
setInitialValue(double initialValue) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
create, getScheduleType, setScheduleType
public ConstantSchedule.ConstantScheduleImpl getBackend()
ApiWrapper
getBackend
in interface ApiWrapper<ConstantSchedule.ConstantScheduleImpl>
getBackend
in class Schedule<ConstantSchedule.ConstantScheduleImpl>
public void setBackend(ConstantSchedule.ConstantScheduleImpl newBackend)
ApiWrapper
newBackend
- Backend that should be wrapped by this classpublic void initializeBackend()
ApiWrapper
@ProgrammaticProperty public double getInitialValue()
getInitialValue
in class Schedule<ConstantSchedule.ConstantScheduleImpl>
@ProgrammaticProperty public void setInitialValue(double initialValue)
setInitialValue
in class Schedule<ConstantSchedule.ConstantScheduleImpl>
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class Schedule<ConstantSchedule.ConstantScheduleImpl>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Schedule<ConstantSchedule.ConstantScheduleImpl>
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class Schedule<ConstantSchedule.ConstantScheduleImpl>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported