gov.sandia.cognition.statistics.distribution
Class NegativeBinomialDistribution.WeightedMaximumLikelihoodEstimator

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.statistics.distribution.NegativeBinomialDistribution.WeightedMaximumLikelihoodEstimator
All Implemented Interfaces:
BatchLearner<Collection<? extends WeightedValue<? extends Number>>,NegativeBinomialDistribution>, DistributionWeightedEstimator<Number,NegativeBinomialDistribution>, CloneableSerializable, Serializable, Cloneable
Enclosing class:
NegativeBinomialDistribution

public static class NegativeBinomialDistribution.WeightedMaximumLikelihoodEstimator
extends AbstractCloneableSerializable
implements DistributionWeightedEstimator<Number,NegativeBinomialDistribution>

Weighted maximum likelihood estimator of the distribution

See Also:
Serialized Form

Constructor Summary
NegativeBinomialDistribution.WeightedMaximumLikelihoodEstimator()
          Default constructor
 
Method Summary
 NegativeBinomialDistribution learn(Collection<? extends WeightedValue<? extends Number>> data)
          The learn method creates an object of ResultType using data of type DataType, using some form of "learning" algorithm.
 
Methods inherited from class gov.sandia.cognition.util.AbstractCloneableSerializable
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Constructor Detail

NegativeBinomialDistribution.WeightedMaximumLikelihoodEstimator

public NegativeBinomialDistribution.WeightedMaximumLikelihoodEstimator()
Default constructor

Method Detail

learn

public NegativeBinomialDistribution learn(Collection<? extends WeightedValue<? extends Number>> data)
Description copied from interface: BatchLearner
The learn method creates an object of ResultType using data of type DataType, using some form of "learning" algorithm.

Specified by:
learn in interface BatchLearner<Collection<? extends WeightedValue<? extends Number>>,NegativeBinomialDistribution>
Parameters:
data - The data that the learning algorithm will use to create an object of ResultType.
Returns:
The object that is created based on the given data using the learning algorithm.