Search Results for

    Show / Hide Table of Contents

    Class BufferTesterCopyOp

    Provides outgoing messages for Microsoft.ML.Probabilistic.Factors.BufferTester.Copy``1(``0), given random arguments to the function.

    Inheritance
    Object
    BufferTesterCopyOp
    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(BufferTester), "Copy<>", new Type[]{})]
    [Buffers(new string[]{"buffer"})]
    [Quality(QualityBand.Experimental)]
    public static class BufferTesterCopyOp

    Methods

    Buffer<T>(T, T, T)

    Update the buffer buffer.

    Declaration
    public static T Buffer<T>(T copy, T value, T result)
    Parameters
    Type Name Description
    T copy

    Incoming message from copy.

    T value

    Incoming message from value.

    T result

    Modified to contain the outgoing message.

    Returns
    Type Description
    T

    result

    Type Parameters
    Name Description
    T

    The type of the value.

    Remarks

    BufferInit<T>(T)

    Initialize the buffer buffer.

    Declaration
    public static T BufferInit<T>(T value)
    Parameters
    Type Name Description
    T value

    Incoming message from value.

    Returns
    Type Description
    T

    Initial value of buffer buffer.

    Type Parameters
    Name Description
    T

    The type of the value.

    Remarks

    CopyAverageConditional<T>(T, T)

    EP message to copy.

    Declaration
    public static T CopyAverageConditional<T>(T value, T buffer)
    Parameters
    Type Name Description
    T value

    Incoming message from value.

    T buffer

    Buffer buffer.

    Returns
    Type Description
    T

    The outgoing EP message to the copy argument.

    Type Parameters
    Name Description
    T

    The type of the value.

    Remarks

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

    ValueAverageConditional<T>(T)

    EP message to value.

    Declaration
    public static T ValueAverageConditional<T>(T copy)
    Parameters
    Type Name Description
    T copy

    Incoming message from copy.

    Returns
    Type Description
    T

    The outgoing EP message to the value argument.

    Type Parameters
    Name Description
    T

    The type of the value.

    Remarks

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

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