Class UsesEqualDefVmpOp
Inheritance
UsesEqualDefVmpOp
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Clone), "UsesEqualDef<>", new Type[]{})]
[Quality(QualityBand.Mature)]
public static class UsesEqualDefVmpOp
Methods
AverageLogFactor<T>(T)
Evidence message for VMP.
Declaration
public static double AverageLogFactor<T>(T to_marginal)
where T : CanGetAverageLog<T>
Parameters
Type |
Name |
Description |
T |
to_marginal |
Outgoing message to marginal .
|
Returns
Type |
Description |
Double |
Average of the factor's log-value across the given argument distributions.
|
Type Parameters
Name |
Description |
T |
The type of the messages.
|
DefAverageLogarithm<T>(IReadOnlyList<T>, T, T)
Declaration
[SkipIfAllUniform]
public static T DefAverageLogarithm<T>(IReadOnlyList<T> Uses, T Def, T result)
where T : SettableToProduct<T>, SettableTo<T>
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the messages.
|
MarginalAverageLogarithm<T>(IReadOnlyList<T>, T, T)
Declaration
[SkipIfAllUniform]
public static T MarginalAverageLogarithm<T>(IReadOnlyList<T> Uses, T Def, T result)
where T : SettableToProduct<T>, SettableTo<T>
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the messages.
|
UsesAverageLogarithm<T>(IReadOnlyList<T>, T, Int32, T)
Declaration
[SkipIfAllUniform]
public static T UsesAverageLogarithm<T>(IReadOnlyList<T> Uses, T Def, int resultIndex, T result)
where T : SettableToProduct<T>, SettableTo<T>
Parameters
Returns
Type Parameters
Name |
Description |
T |
The type of the messages.
|