gov.sandia.cognition.statistics.distribution
Class ScalarDataDistribution.Estimator

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.learning.algorithm.AbstractBatchAndIncrementalLearner<Double,ScalarDataDistribution>
          extended by gov.sandia.cognition.statistics.distribution.ScalarDataDistribution.Estimator
All Implemented Interfaces:
BatchAndIncrementalLearner<Double,ScalarDataDistribution>, BatchLearner<Collection<? extends Double>,ScalarDataDistribution>, IncrementalLearner<Double,ScalarDataDistribution>, DistributionEstimator<Double,ScalarDataDistribution>, CloneableSerializable, Serializable, Cloneable
Enclosing class:
ScalarDataDistribution

public static class ScalarDataDistribution.Estimator
extends AbstractBatchAndIncrementalLearner<Double,ScalarDataDistribution>
implements DistributionEstimator<Double,ScalarDataDistribution>

Estimator for a ScalarDataDistribution

See Also:
Serialized Form

Constructor Summary
ScalarDataDistribution.Estimator()
          Default constructor
 
Method Summary
 ScalarDataDistribution createInitialLearnedObject()
          Creates a new initial learned object, before any data is given.
 void update(ScalarDataDistribution target, Double data)
          The update method updates an object of ResultType using the given new data of type DataType, using some form of "learning" algorithm.
 
Methods inherited from class gov.sandia.cognition.learning.algorithm.AbstractBatchAndIncrementalLearner
clone, learn, learn, update
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.sandia.cognition.learning.algorithm.BatchLearner
learn
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Constructor Detail

ScalarDataDistribution.Estimator

public ScalarDataDistribution.Estimator()
Default constructor

Method Detail

createInitialLearnedObject

public ScalarDataDistribution createInitialLearnedObject()
Description copied from interface: IncrementalLearner
Creates a new initial learned object, before any data is given.

Specified by:
createInitialLearnedObject in interface IncrementalLearner<Double,ScalarDataDistribution>
Returns:
The initial learned object.

update

public void update(ScalarDataDistribution target,
                   Double data)
Description copied from interface: IncrementalLearner
The update method updates an object of ResultType using the given new data of type DataType, using some form of "learning" algorithm.

Specified by:
update in interface IncrementalLearner<Double,ScalarDataDistribution>
Parameters:
target - The object to update.
data - The new data for the learning algorithm to use to update the object.