Class Algorithm
Attribute which associates a specified algorithm to a targetted variable or statement. 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
[AttributeUsage(AttributeTargets.All, AllowMultiple = false)]
public class Algorithm : Attribute, ICompilerAttribute
Constructors
Algorithm(IAlgorithm)
Creates a new Algorithm attribute which assigns the given algorithm to the target
Declaration
public Algorithm(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 |