public static class ScalarDataDistribution.Estimator extends AbstractBatchAndIncrementalLearner<java.lang.Double,ScalarDataDistribution> implements DistributionEstimator<java.lang.Double,ScalarDataDistribution>
Constructor and Description |
---|
Estimator()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
ScalarDataDistribution |
createInitialLearnedObject()
Creates a new initial learned object, before any data is given.
|
void |
update(ScalarDataDistribution target,
java.lang.Double 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 ScalarDataDistribution createInitialLearnedObject()
IncrementalLearner
createInitialLearnedObject
in interface IncrementalLearner<java.lang.Double,ScalarDataDistribution>
public void update(ScalarDataDistribution target, java.lang.Double 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<java.lang.Double,ScalarDataDistribution>
target
- The object to update.data
- The new data for the learning algorithm to use to update
the object.