public class Dropout extends AbstractDropout<org.deeplearning4j.nn.conf.dropout.Dropout>
| Constructor and Description |
|---|
Dropout() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
double |
getP()
Get the learning rate schedule
|
Schedule<? extends org.nd4j.linalg.schedule.ISchedule> |
getpSchedule() |
void |
initializeBackend()
Initialize the DL4J backend.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setP(double p) |
void |
setpSchedule(Schedule<? extends org.nd4j.linalg.schedule.ISchedule> pSchedule) |
create, getBackend, setBackend@OptionMetadata(displayName="p",
description="The dropout probability (default = 0.5).",
commandLineParamName="p",
commandLineParamSynopsis="-p <double>",
displayOrder=1)
public double getP()
public void setP(double p)
@OptionMetadata(displayName="pSchedule",
description="The dropout probability schedule (default = ConstantScheduleImpl).",
commandLineParamName="pSchedule",
commandLineParamSynopsis="-pSchedule <Schedule>",
displayOrder=2)
public Schedule<? extends org.nd4j.linalg.schedule.ISchedule> getpSchedule()
public void setpSchedule(Schedule<? extends org.nd4j.linalg.schedule.ISchedule> pSchedule)
public void initializeBackend()
ApiWrapperpublic java.util.Enumeration<weka.core.Option> listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class AbstractDropout<org.deeplearning4j.nn.conf.dropout.Dropout>public java.lang.String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class AbstractDropout<org.deeplearning4j.nn.conf.dropout.Dropout>public void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface weka.core.OptionHandlersetOptions in class AbstractDropout<org.deeplearning4j.nn.conf.dropout.Dropout>options - the list of options as an array of stringsjava.lang.Exception - if an option is not supported