Skip to content

Restaurant

class Restaurant(α:Expression<Real>, θ:Expression<Real>) < Distribution<Real[_]>

Chinese restaurant process.

Factory Functions

Name Description
Restaurant Create Chinese restaurant process.
Restaurant Create Chinese restaurant process.
Restaurant Create Chinese restaurant process.
Restaurant Create Chinese restaurant process.

Member Variables

Name Description
α:Expression<Real> Concentration.
θ:Expression<Real> Strength.

Factory Function Details

function Restaurant(α:Expression<Real>, θ:Expression<Real>) -> Restaurant

Create Chinese restaurant process.

function Restaurant(α:Expression<Real>, θ:Real) -> Restaurant

Create Chinese restaurant process.

function Restaurant(α:Real, θ:Expression<Real>) -> Restaurant

Create Chinese restaurant process.

function Restaurant(α:Real, θ:Real) -> Restaurant

Create Chinese restaurant process.