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, update
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
learn
clone
public DefaultDataDistribution.PMF<KeyType> createInitialLearnedObject()
IncrementalLearner
createInitialLearnedObject
in interface IncrementalLearner<KeyType,DefaultDataDistribution.PMF<KeyType>>
public void update(DefaultDataDistribution.PMF<KeyType> target, KeyType data)
IncrementalLearner
update
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.