KeyType - Type of Key in the distributionpublic static class DefaultDataDistribution.Estimator<KeyType> extends AbstractBatchAndIncrementalLearner<KeyType,DefaultDataDistribution.PMF<KeyType>> implements DistributionEstimator<KeyType,DefaultDataDistribution.PMF<KeyType>>
| Constructor and Description |
|---|
Estimator()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
DefaultDataDistribution.PMF<KeyType> |
createInitialLearnedObject()
Creates a new initial learned object, before any data is given.
|
void |
update(DefaultDataDistribution.PMF<KeyType> target,
KeyType data)
The
update method updates an object of ResultType using
the given new data of type DataType, using some form of
"learning" algorithm. |
clone, learn, learn, updateequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlearnclonepublic DefaultDataDistribution.PMF<KeyType> createInitialLearnedObject()
IncrementalLearnercreateInitialLearnedObject in interface IncrementalLearner<KeyType,DefaultDataDistribution.PMF<KeyType>>public void update(DefaultDataDistribution.PMF<KeyType> target, KeyType data)
IncrementalLearnerupdate method updates an object of ResultType using
the given new data of type DataType, using some form of
"learning" algorithm.update in interface IncrementalLearner<KeyType,DefaultDataDistribution.PMF<KeyType>>target - The object to update.data - The new data for the learning algorithm to use to update
the object.