public static class GammaDistribution.WeightedMomentMatchingEstimator extends AbstractCloneableSerializable implements DistributionWeightedEstimator<java.lang.Double,GammaDistribution>
Constructor and Description |
---|
WeightedMomentMatchingEstimator()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
GammaDistribution |
learn(java.util.Collection<? extends WeightedValue<? extends java.lang.Double>> data)
The
learn method creates an object of ResultType using
data of type DataType , using some form of "learning" algorithm. |
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone
public WeightedMomentMatchingEstimator()
public GammaDistribution learn(java.util.Collection<? extends WeightedValue<? extends java.lang.Double>> data)
BatchLearner
learn
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 WeightedValue<? extends java.lang.Double>>,GammaDistribution>
data
- The data that the learning algorithm will use to create an
object of ResultType
.