Class UniformDistribution
- java.lang.Object
-
- org.deeplearning4j.nn.conf.distribution.Distribution
-
- org.deeplearning4j.nn.conf.distribution.UniformDistribution
-
- All Implemented Interfaces:
Serializable,Cloneable
public class UniformDistribution extends Distribution
A uniform distribution, with two parameters: lower and upper - i.e., U(lower,upper)- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UniformDistribution(double lower, double upper)Create a uniform real distribution using the given lower and upper bounds.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()-
Methods inherited from class org.deeplearning4j.nn.conf.distribution.Distribution
clone
-
-
-
-
Constructor Detail
-
UniformDistribution
public UniformDistribution(double lower, double upper) throws org.apache.commons.math3.exception.NumberIsTooLargeExceptionCreate a uniform real distribution using the given lower and upper bounds.- Parameters:
lower- Lower bound of this distribution (inclusive).upper- Upper bound of this distribution (exclusive).- Throws:
org.apache.commons.math3.exception.NumberIsTooLargeException- iflower >= upper.
-
-