public static class PoissonDistribution.WeightedMaximumLikelihoodEstimator extends AbstractCloneableSerializable implements DistributionWeightedEstimator<java.lang.Number,PoissonDistribution>
Constructor and Description |
---|
WeightedMaximumLikelihoodEstimator()
Creates a new
WeightedMaximumLikelihoodEstimator . |
Modifier and Type | Method and Description |
---|---|
PoissonDistribution.PMF |
learn(java.util.Collection<? extends WeightedValue<? extends java.lang.Number>> data)
Creates a new instance of PoissonDistribution using a weighted
Maximum Likelihood estimate based on the given data.
|
clone
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone
public WeightedMaximumLikelihoodEstimator()
WeightedMaximumLikelihoodEstimator
.public PoissonDistribution.PMF learn(java.util.Collection<? extends WeightedValue<? extends java.lang.Number>> data)
learn
in interface BatchLearner<java.util.Collection<? extends WeightedValue<? extends java.lang.Number>>,PoissonDistribution>
data
- Weighed pairs of data (first is data, second is weight) that was
generated by some unknown PoissonDistribution distribution.