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