public class NormalDistribution extends Distribution<org.deeplearning4j.nn.conf.distribution.NormalDistribution> implements weka.core.OptionHandler
Constructor and Description |
---|
NormalDistribution() |
Modifier and Type | Method and Description |
---|---|
double |
getMean() |
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
double |
getStd() |
void |
initializeBackend()
Initialize the DL4J backend.
|
java.util.Enumeration<weka.core.Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setMean(double mean) |
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
void |
setStd(double std) |
create, getBackend, setBackend
@OptionMetadata(displayName="mean", description="The mean (default = 1e-3).", commandLineParamName="mean", commandLineParamSynopsis="-mean <double>", displayOrder=1) public double getMean()
public void setMean(double mean)
@OptionMetadata(displayName="standard deviation", description="The standard deviation (default = 1).", commandLineParamName="std", commandLineParamSynopsis="-std <double>", displayOrder=2) public double getStd()
public void setStd(double std)
public java.util.Enumeration<weka.core.Option> listOptions()
listOptions
in interface weka.core.OptionHandler
listOptions
in class Distribution<org.deeplearning4j.nn.conf.distribution.NormalDistribution>
public java.lang.String[] getOptions()
getOptions
in interface weka.core.OptionHandler
getOptions
in class Distribution<org.deeplearning4j.nn.conf.distribution.NormalDistribution>
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface weka.core.OptionHandler
setOptions
in class Distribution<org.deeplearning4j.nn.conf.distribution.NormalDistribution>
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic void initializeBackend()
ApiWrapper
initializeBackend
in interface ApiWrapper<org.deeplearning4j.nn.conf.distribution.NormalDistribution>