public class ActivationLReLU extends Activation<org.nd4j.linalg.activations.impl.ActivationLReLU> implements weka.core.OptionHandler
Constructor and Description |
---|
ActivationLReLU() |
Modifier and Type | Method and Description |
---|---|
double |
getAlpha() |
org.nd4j.linalg.activations.impl.ActivationLReLU |
getBackend()
Access the DL4J backend.
|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
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 |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
create, setBackend
public void initializeBackend()
ApiWrapper
initializeBackend
in interface ApiWrapper<org.nd4j.linalg.activations.impl.ActivationLReLU>
@OptionMetadata(displayName="alpha", description="The alpha value (default = 0.01).", commandLineParamName="alpha", commandLineParamSynopsis="-alpha <double>", displayOrder=1) public double getAlpha()
public void setAlpha(double alpha)
public org.nd4j.linalg.activations.impl.ActivationLReLU getBackend()
ApiWrapper
getBackend
in interface ApiWrapper<org.nd4j.linalg.activations.impl.ActivationLReLU>
getBackend
in class Activation<org.nd4j.linalg.activations.impl.ActivationLReLU>
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class Activation<org.nd4j.linalg.activations.impl.ActivationLReLU>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Activation<org.nd4j.linalg.activations.impl.ActivationLReLU>
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.ActivationLReLU>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supported