Class VariableGroup
A group of variables processed together by an inference algorithm
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Models.Attributes
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
public class VariableGroup
Constructors
VariableGroup()
Default constructor for when explicitly attaching GroupMember attributes
Declaration
public VariableGroup()
VariableGroup(VariableGroup)
Copy constructor
Declaration
public VariableGroup(VariableGroup that)
Parameters
Type | Name | Description |
---|---|---|
VariableGroup | that | The variable group we are copying from |
Properties
Name
Name of the group
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
String |
Variables
List of variables in the group
Declaration
public IList<Variable> Variables { get; }
Property Value
Type | Description |
---|---|
IList<Variable> |
Methods
FromVariables(Variable[])
Static constructor
Declaration
public static VariableGroup FromVariables(params Variable[] vars)
Parameters
Type | Name | Description |
---|---|---|
Variable[] | vars | List of variables |
Returns
Type | Description |
---|---|
VariableGroup | The variable group |
ToString()
Returns a string representation of this variable group.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |