public class AlphaDropout extends AbstractDropout<org.deeplearning4j.nn.conf.dropout.AlphaDropout>
Constructor and Description |
---|
AlphaDropout() |
Modifier and Type | Method and Description |
---|---|
double |
getAlpha() |
org.deeplearning4j.nn.conf.dropout.AlphaDropout |
getBackend()
Access the DL4J backend.
|
double |
getLambda() |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
double |
getP() |
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 |
setAlpha(double alpha) |
void |
setLambda(double lambda) |
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, setBackend
@OptionMetadata(displayName="schedule", description="The dropout probability schedule (default = ConstantScheduleImpl).", commandLineParamName="schedule", commandLineParamSynopsis="-schedule <Schedule>", displayOrder=1) public Schedule<? extends org.nd4j.linalg.schedule.ISchedule> getpSchedule()
public void setpSchedule(Schedule<? extends org.nd4j.linalg.schedule.ISchedule> pSchedule)
@OptionMetadata(displayName="p", description="The dropout probability (default = 0.5).", commandLineParamName="p", commandLineParamSynopsis="-p <double>", displayOrder=2) public double getP()
public void setP(double p)
@OptionMetadata(displayName="alpha", description="The alpha value that weight randomly are assigned to (default = 1.6732632423543772).", commandLineParamName="alpha", commandLineParamSynopsis="-alpha <double>", displayOrder=3) public double getAlpha()
public void setAlpha(double alpha)
@OptionMetadata(displayName="lambda", description="The lambda value (default = 1.0507009873554805).", commandLineParamName="lambda", commandLineParamSynopsis="-lambda <double>", displayOrder=4) public double getLambda()
public void setLambda(double lambda)
public org.deeplearning4j.nn.conf.dropout.AlphaDropout getBackend()
ApiWrapper
getBackend
in interface ApiWrapper<org.deeplearning4j.nn.conf.dropout.AlphaDropout>
getBackend
in class AbstractDropout<org.deeplearning4j.nn.conf.dropout.AlphaDropout>
public void initializeBackend()
ApiWrapper
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class AbstractDropout<org.deeplearning4j.nn.conf.dropout.AlphaDropout>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class AbstractDropout<org.deeplearning4j.nn.conf.dropout.AlphaDropout>
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class AbstractDropout<org.deeplearning4j.nn.conf.dropout.AlphaDropout>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported