Class MultinomialDistribution
java.lang.Object
tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction<CategoricalValue>
tools.mdsd.probdist.api.entity.UnivariateProbabilitiyMassFunction
tools.mdsd.probdist.api.apache.entity.impl.MultinomialDistribution
- All Implemented Interfaces:
ProbabilityMeasure<CategoricalValue>
,Sampler<CategoricalValue>
,ISeedable
-
Field Summary
Fields inherited from class tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction
distSkeleton, initialized
-
Constructor Summary
ConstructorDescriptionMultinomialDistribution
(ProbabilityDistributionSkeleton distSkeleton, org.apache.commons.math3.distribution.EnumeratedDistribution<CategoricalValue> multDistribution) -
Method Summary
Modifier and TypeMethodDescriptionvoid
init
(Optional<ISeedProvider> seedProvider) probability
(CategoricalValue value) sample()
Methods inherited from class tools.mdsd.probdist.api.entity.ProbabilityDistributionFunction
getDistributionSkeleton
-
Constructor Details
-
MultinomialDistribution
public MultinomialDistribution(ProbabilityDistributionSkeleton distSkeleton, org.apache.commons.math3.distribution.EnumeratedDistribution<CategoricalValue> multDistribution)
-
-
Method Details
-
probability
-
init
-
sample
-