Click or drag to resize
VariableDirichletUniform Method (Int32)
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(
	int dimension
)

Parameters

dimension
Type: SystemInt32
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