public class ActivationRReLU extends Activation<org.nd4j.linalg.activations.impl.ActivationRReLU> implements weka.core.OptionHandler
Constructor and Description |
---|
ActivationRReLU() |
Modifier and Type | Method and Description |
---|---|
double |
getLowerBound() |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
double |
getUpperBound() |
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.activations.impl.ActivationRReLU newBackend)
Set the DL4J backend.
|
void |
setLowerBound(double lowerBound) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setUpperBound(double upperBound) |
create, getBackend
public void initializeBackend()
ApiWrapper
initializeBackend
in interface ApiWrapper<org.nd4j.linalg.activations.impl.ActivationRReLU>
@OptionMetadata(displayName="lowerBound", description="The lower bound (default = 0.125).", commandLineParamName="lowerBound", commandLineParamSynopsis="-lowerBound <double>", displayOrder=1) public double getLowerBound()
public void setLowerBound(double lowerBound)
@OptionMetadata(displayName="lowerBound", description="The lower bound (default = 0.3333333333333333).", commandLineParamName="lowerBound", commandLineParamSynopsis="-lowerBound <double>", displayOrder=2) public double getUpperBound()
public void setUpperBound(double upperBound)
public void setBackend(org.nd4j.linalg.activations.impl.ActivationRReLU newBackend)
ApiWrapper
setBackend
in interface ApiWrapper<org.nd4j.linalg.activations.impl.ActivationRReLU>
setBackend
in class Activation<org.nd4j.linalg.activations.impl.ActivationRReLU>
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 Activation<org.nd4j.linalg.activations.impl.ActivationRReLU>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Activation<org.nd4j.linalg.activations.impl.ActivationRReLU>
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class Activation<org.nd4j.linalg.activations.impl.ActivationRReLU>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported