ObservationType
- Type of observations handled by the mixture modelpublic static interface DirichletProcessMixtureModel.Updater<ObservationType> extends CloneableSerializable
Modifier and Type | Method and Description |
---|---|
ProbabilityFunction<ObservationType> |
createClusterPosterior(java.lang.Iterable<? extends ObservationType> values,
java.util.Random random)
Updates the cluster from the values assigned to it
|
ProbabilityFunction<ObservationType> |
createPriorPredictive(java.lang.Iterable<? extends ObservationType> data)
Creates the prior predictive distribution from the data.
|
clone
ProbabilityFunction<ObservationType> createPriorPredictive(java.lang.Iterable<? extends ObservationType> data)
data
- Data from which to create the prior predictiveProbabilityFunction<ObservationType> createClusterPosterior(java.lang.Iterable<? extends ObservationType> values, java.util.Random random)
values
- Values assigned to the clusterrandom
- Random number generator