Class StringOfMinLengthOp
Provides outgoing messages for String(Int32, DiscreteChar), given random arguments to the function.
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[FactorMethod(typeof(Factor), "String", new Type[]{typeof(int), typeof(DiscreteChar)})]
[Quality(QualityBand.Experimental)]
public static class StringOfMinLengthOp
Methods
StrAverageConditional(DiscreteChar, Int32)
EP message to str
.
Declaration
public static StringDistribution StrAverageConditional(DiscreteChar allowedChars, int minLength)
Parameters
Type | Name | Description |
---|---|---|
DiscreteChar | allowedChars | Constant value for |
Int32 | minLength | Constant value for |
Returns
Type | Description |
---|---|
StringDistribution | The outgoing EP message to the |
Remarks
The outgoing message is the factor viewed as a function of str
conditioned on the given values.