Skip to content

RestaurantDistribution


final class RestaurantDistribution<Arg1, Arg2, Arg3>(α:Arg1, θ:Arg2, n:Arg3) < Distribution<Real[_]>

Chinese restaurant process (CRP).

A Random assigned this distribution cannot be instantiated or its likelihood evaluated. The distribution exists only for use as a prior on a Categorical distribution.

Member Variables

Name Description
α:Arg1 Concentration.
θ:Arg2 Strength.
n:Arg3 Number of samples drawn in each component.