public interface DistributionFactory
| Modifier and Type | Method and Description |
|---|---|
Distribution |
createBinomial(int n,
double p)
Create a distribution
|
Distribution |
createBinomial(int n,
INDArray p)
Create a distribution
|
Distribution |
createNormal(double mean,
double std)
Create a normal distribution
with the given mean and std
|
Distribution |
createNormal(INDArray mean,
double std)
Create a normal distribution
with the given mean and std
|
Distribution |
createUniform(double min,
double max)
Create a uniform distribution with the
given min and max
|
Distribution createBinomial(int n, INDArray p)
n - the number of trialsp - the probabilitiesDistribution createBinomial(int n, double p)
n - the number of trialsp - the probabilitiesDistribution createNormal(INDArray mean, double std)
mean - the meanstd - the standard deviationDistribution createNormal(double mean, double std)
mean - the meanstd - the stnadard deviationDistribution createUniform(double min, double max)
min - the minmax - the maxCopyright © 2016. All Rights Reserved.