Class ConstrainContainOp
Provides outgoing messages for Contain(IList<Int32>, Int32), given random arguments to the function.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Constrain), "Contain", new Type[]{})]
[Quality(QualityBand.Experimental)]
public class ConstrainContainOp
Methods
SetAverageLogarithm(Int32, BernoulliIntegerSubset)
VMP message to set
.
Declaration
public static BernoulliIntegerSubset SetAverageLogarithm(int i, BernoulliIntegerSubset result)
Parameters
Type | Name | Description |
---|---|---|
Int32 | i | Constant value for |
BernoulliIntegerSubset | result | Modified to contain the outgoing message. |
Returns
Type | Description |
---|---|
BernoulliIntegerSubset |
|
Remarks
The outgoing message is the factor viewed as a function of set
conditioned on the given values.