Class StringFormatOpBase_NoArgumentNames<TStringFormatOp>
A base class for implementations of message passing operations for string formatting factors that don't support specifying argument names.
Inheritance
StringFormatOpBase_NoArgumentNames<TStringFormatOp>
Assembly: Microsoft.ML.Probabilistic.dll
[Quality(QualityBand.Experimental)]
public class StringFormatOpBase_NoArgumentNames<TStringFormatOp>
where TStringFormatOp : StringFormatOpBase<TStringFormatOp>, new()
Type Parameters
Name |
Description |
TStringFormatOp |
The type of the underlying implementation that supports argument names.
|
Methods
Declaration
public static TStringDistributionList ArgsAverageConditional<TStringDistributionList>(StringDistribution str, StringDistribution format, IReadOnlyList<StringDistribution> args, TStringDistributionList result)
where TStringDistributionList : class, IList<StringDistribution>
Parameters
Returns
Type |
Description |
TStringDistributionList |
|
Type Parameters
Name |
Description |
TStringDistributionList |
|
Declaration
public static StringDistribution FormatAverageConditional(StringDistribution str, IReadOnlyList<StringDistribution> args)
Parameters
Returns
Declaration
public static StringDistribution FormatAverageConditional(StringDistribution str, IReadOnlyList<string> args)
Parameters
Returns
Declaration
public static double LogEvidenceRatio(StringDistribution str)
Parameters
Returns
Declaration
public static double LogEvidenceRatio(string str, StringDistribution format, IReadOnlyList<StringDistribution> args)
Parameters
Returns
Declaration
public static double LogEvidenceRatio(string str, StringDistribution format, IReadOnlyList<string> args)
Parameters
Returns
Declaration
public static StringDistribution StrAverageConditional(StringDistribution format, IReadOnlyList<StringDistribution> args)
Parameters
Returns
Declaration
public static StringDistribution StrAverageConditional(StringDistribution format, IReadOnlyList<string> args)
Parameters
Returns
Declaration
public static StringDistribution ToStrReverseMessage(StringDistribution format, IReadOnlyList<StringDistribution> args)
Parameters
Returns