Class ShiftAlpha
Factors that change a message channel's alpha factor
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public static class ShiftAlpha
Methods
FromFactor<T>(T, Double, Double)
Changes a message channel's alpha value, coming from a factor.
Declaration
[ParameterNames(new string[]{"variable", "factor", "factorAlpha", "variableAlpha"})]
public static T FromFactor<T>(T factor, double factorAlpha, double variableAlpha)
Parameters
Type |
Name |
Description |
T |
factor |
|
Double |
factorAlpha |
|
Double |
variableAlpha |
|
Returns
Type Parameters
Name |
Description |
T |
The domain type.
|
ToFactor<T>(T, Double, Double)
Changes a message channel's alpha value, going to a factor.
Declaration
[ParameterNames(new string[]{"factor", "variable", "variableAlpha", "factorAlpha"})]
public static T ToFactor<T>(T variable, double variableAlpha, double factorAlpha)
Parameters
Type |
Name |
Description |
T |
variable |
|
Double |
variableAlpha |
|
Double |
factorAlpha |
|
Returns
Type Parameters
Name |
Description |
T |
The domain type.
|