Class PottsBoolOp
Provides outgoing messages for Potts(Boolean, Boolean, Double), given random arguments to the function.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Undirected), "Potts", new Type[]{typeof(bool), typeof(bool), typeof(double)})]
[Quality(QualityBand.Experimental)]
public class PottsBoolOp
Methods
AMaxConditional(Bernoulli, Double)
Declaration
public static Bernoulli AMaxConditional(Bernoulli B, double logCost)
Parameters
| Type | Name | Description |
|---|---|---|
| Bernoulli | B | Incoming message from |
| Double | logCost | Constant value for |
Returns
| Type | Description |
|---|---|
| Bernoulli |
Remarks
BMaxConditional(Bernoulli, Double)
Declaration
public static Bernoulli BMaxConditional(Bernoulli A, double logCost)
Parameters
| Type | Name | Description |
|---|---|---|
| Bernoulli | A | Incoming message from |
| Double | logCost | Constant value for |
Returns
| Type | Description |
|---|---|
| Bernoulli |
Remarks