Click or drag to resize
VariableDirichletUniform Method (VariableInt32)
Microsoft Research
Create a uniform Dirichlet-distributed random variable with a specified dimension.

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static Variable<Vector> DirichletUniform(
	Variable<int> dimension
)

Parameters

dimension
Type: MicrosoftResearch.Infer.ModelsVariableInt32
The the Dirichlet distribution's dimensionality.

Return Value

Type: VariableVector
Returns a uniform Dirichlet-distributed random variable. The distribution's pseudo-counts are all 1.
See Also