Class MarginalPrototype
Specifies a prototype marginal distribution for a variable. This attribute can be used to explicitly specify the marginal distribution type for a variable in cases where it cannot be deduced by the model compiler.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Models.Attributes
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
[AttributeUsage(AttributeTargets.All, AllowMultiple = false)]
public class MarginalPrototype : Attribute, ICompilerAttribute
Constructors
MarginalPrototype(Object)
Creates a new marginal prototype attribute. This attribute targets variables.
Declaration
public MarginalPrototype(object prototype)
Parameters
Type | Name | Description |
---|---|---|
Object | prototype | The marginal prototype |
Fields
prototype
The prototype marginal distribution
Declaration
public object prototype
Field Value
Type | Description |
---|---|
Object |
Methods
ToString()
ToString override
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
String |