public static class GammaDistribution.MomentMatchingEstimator extends AbstractCloneableSerializable implements DistributionEstimator<java.lang.Double,GammaDistribution>
| Constructor and Description |
|---|
MomentMatchingEstimator()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
GammaDistribution |
learn(java.util.Collection<? extends java.lang.Double> data)
The
learn method creates an object of ResultType using
data of type DataType, using some form of "learning" algorithm. |
static GammaDistribution |
learn(double mean,
double variance)
Computes the Gamma distribution describes by the given moments
|
cloneequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclonepublic GammaDistribution learn(java.util.Collection<? extends java.lang.Double> data)
BatchLearnerlearn method creates an object of ResultType using
data of type DataType, using some form of "learning" algorithm.learn in interface BatchLearner<java.util.Collection<? extends java.lang.Double>,GammaDistribution>data - The data that the learning algorithm will use to create an
object of ResultType.public static GammaDistribution learn(double mean, double variance)
mean - Mean of the distributionvariance - Variance of the distribution