Search Results for

    Show / Hide Table of Contents

    Class SingleOp

    Provides outgoing messages for Single(String), given random arguments to the function.

    Inheritance
    Object
    SingleOp
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic.Factors
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    [FactorMethod(typeof(Factor), "Single", new Type[]{})]
    [Quality(QualityBand.Experimental)]
    public static class SingleOp

    Methods

    CharacterAverageConditional(StringDistribution)

    EP message to character.

    Declaration
    public static DiscreteChar CharacterAverageConditional(StringDistribution str)
    Parameters
    Type Name Description
    StringDistribution str

    Incoming message from str.

    Returns
    Type Description
    DiscreteChar

    The outgoing EP message to the character argument.

    Remarks

    The outgoing message is a distribution matching the moments of character as the random arguments are varied. The formula is proj[p(character) sum_(str) p(str) factor(character,str)]/p(character).

    CharacterAverageConditional(String)

    Declaration
    public static DiscreteChar CharacterAverageConditional(string str)
    Parameters
    Type Name Description
    String str
    Returns
    Type Description
    DiscreteChar

    StrAverageConditional(DiscreteChar)

    EP message to str.

    Declaration
    public static StringDistribution StrAverageConditional(DiscreteChar character)
    Parameters
    Type Name Description
    DiscreteChar character

    Incoming message from character.

    Returns
    Type Description
    StringDistribution

    The outgoing EP message to the str argument.

    Remarks

    The outgoing message is a distribution matching the moments of str as the random arguments are varied. The formula is proj[p(str) sum_(character) p(character) factor(character,str)]/p(str).

    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.