Class FactorAlgorithm
Attribute which associates a specified algorithm to all factors that define a variable. This is used for hybrid inference where different algorithms are used for different parts of the model
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Models.Attributes
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
public class FactorAlgorithm : ICompilerAttribute
Constructors
FactorAlgorithm(IAlgorithm)
Creates a new Algorithm attribute which assigns the given algorithm to the target's factor
Declaration
public FactorAlgorithm(IAlgorithm algorithm)
Parameters
Type | Name | Description |
---|---|---|
IAlgorithm | algorithm |
Fields
algorithm
The algorithm
Declaration
public IAlgorithm algorithm
Field Value
Type | Description |
---|---|
IAlgorithm |
Methods
ToString()
ToString override
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |