public static class LaplaceDistribution.WeightedMaximumLikelihoodEstimator extends AbstractCloneableSerializable implements DistributionWeightedEstimator<java.lang.Double,LaplaceDistribution>
Constructor and Description |
---|
WeightedMaximumLikelihoodEstimator()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
LaplaceDistribution |
learn(java.util.Collection<? extends WeightedValue<? extends java.lang.Double>> data)
Creates a new instance of LaplaceDistribution 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()
public LaplaceDistribution learn(java.util.Collection<? extends WeightedValue<? extends java.lang.Double>> data)
learn
in interface BatchLearner<java.util.Collection<? extends WeightedValue<? extends java.lang.Double>>,LaplaceDistribution>
data
- Weighed pairs of data (first is data, second is weight) that was
generated by some unknown LaplaceDistribution distribution