public class MapSchedule extends Schedule<org.nd4j.linalg.schedule.MapSchedule>
Constructor and Description |
---|
MapSchedule() |
Modifier and Type | Method and Description |
---|---|
double |
getInitialValue()
Deprecated.
|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
java.util.Map<java.lang.Integer,java.lang.Double> |
getValues() |
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.MapSchedule newBackend)
Set the DL4J backend.
|
void |
setInitialValue(double initialValue)
Deprecated.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setValues(java.util.Map<java.lang.Integer,java.lang.Double> values) |
create, getBackend, getScheduleType, setScheduleType
@Deprecated @ProgrammaticProperty public double getInitialValue()
getInitialValue
in class Schedule<org.nd4j.linalg.schedule.MapSchedule>
@Deprecated @ProgrammaticProperty public void setInitialValue(double initialValue)
setInitialValue
in class Schedule<org.nd4j.linalg.schedule.MapSchedule>
@OptionMetadata(displayName="mapValues", description="The map values (default = {0: 0.1}).", commandLineParamName="mapValues", commandLineParamSynopsis="-mapValues <map<integer,double>>", displayOrder=2) public java.util.Map<java.lang.Integer,java.lang.Double> getValues()
public void setValues(java.util.Map<java.lang.Integer,java.lang.Double> values)
public void initializeBackend()
ApiWrapper
public void setBackend(org.nd4j.linalg.schedule.MapSchedule 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.MapSchedule>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Schedule<org.nd4j.linalg.schedule.MapSchedule>
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.MapSchedule>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported