public class PolySchedule extends Schedule<org.nd4j.linalg.schedule.PolySchedule>
Constructor and Description |
---|
PolySchedule() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxIter() |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
double |
getPower() |
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.PolySchedule newBackend)
Set the DL4J backend.
|
void |
setMaxIter(int maxIter) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setPower(double power) |
create, getBackend, getInitialValue, getScheduleType, setInitialValue, setScheduleType
@OptionMetadata(displayName="maxIter", description="The maxIter value (default = 10). Should be set to numEpochs.", commandLineParamName="maxIter", commandLineParamSynopsis="-maxIter <maxIter>", displayOrder=2) public int getMaxIter()
public void setMaxIter(int maxIter)
@OptionMetadata(displayName="power", description="The power value (default = 1.0).", commandLineParamName="power", commandLineParamSynopsis="-power <double>", displayOrder=3) public double getPower()
public void setPower(double power)
public void initializeBackend()
ApiWrapper
public void setBackend(org.nd4j.linalg.schedule.PolySchedule 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.PolySchedule>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Schedule<org.nd4j.linalg.schedule.PolySchedule>
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.PolySchedule>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported