public class DropConnect extends AbstractWeightNoise<org.deeplearning4j.nn.conf.weightnoise.DropConnect> implements weka.core.OptionHandler, java.io.Serializable
| Constructor and Description |
|---|
DropConnect() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
double |
getWeightRetainProbability()
Get the learning rate schedule
|
Schedule<? extends org.nd4j.linalg.schedule.ISchedule> |
getWeightRetainProbabilitySchedule()
Get the learning rate schedule
|
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 |
setWeightRetainProbability(double prob) |
void |
setWeightRetainProbabilitySchedule(Schedule<? extends org.nd4j.linalg.schedule.ISchedule> sched) |
create, getBackend, setBackend@OptionMetadata(displayName="weightRetainProb",
description="The weightRetainProb (default = 0.0).",
commandLineParamName="weightRetainProb",
commandLineParamSynopsis="-weightRetainProb <double>",
displayOrder=1)
public double getWeightRetainProbability()
public void setWeightRetainProbability(double prob)
@OptionMetadata(displayName="weightRetainProbSchedule",
description="The weight retain probability schedule (default = ConstantScheduleImpl).",
commandLineParamName="weightRetainProbSchedule",
commandLineParamSynopsis="-weightRetainProbSchedule <Schedule>",
displayOrder=2)
public Schedule<? extends org.nd4j.linalg.schedule.ISchedule> getWeightRetainProbabilitySchedule()
public void setWeightRetainProbabilitySchedule(Schedule<? extends org.nd4j.linalg.schedule.ISchedule> sched)
public void initializeBackend()
ApiWrapperinitializeBackend in interface ApiWrapper<org.deeplearning4j.nn.conf.weightnoise.DropConnect>public java.util.Enumeration<weka.core.Option> listOptions()
listOptions in interface weka.core.OptionHandlerlistOptions in class AbstractWeightNoise<org.deeplearning4j.nn.conf.weightnoise.DropConnect>public java.lang.String[] getOptions()
getOptions in interface weka.core.OptionHandlergetOptions in class AbstractWeightNoise<org.deeplearning4j.nn.conf.weightnoise.DropConnect>public void setOptions(java.lang.String[] options)
throws java.lang.Exception
setOptions in interface weka.core.OptionHandlersetOptions in class AbstractWeightNoise<org.deeplearning4j.nn.conf.weightnoise.DropConnect>options - the list of options as an array of stringsjava.lang.Exception - if an option is not supported