Search Results for

    Show / Hide Table of Contents

    Interface CanGetLogAverageOf<T>

    Whether the distribution can compute the expectation of another distribution's value.

    Namespace: Microsoft.ML.Probabilistic.Distributions
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    public interface CanGetLogAverageOf<in T>
    Type Parameters
    Name Description
    T

    The other distribution type

    Methods

    GetLogAverageOf(T)

    The log-probability that two distributions would draw the same sample.

    Declaration
    double GetLogAverageOf(T that)
    Parameters
    Type Name Description
    T that
    Returns
    Type Description
    Double

    Math.Log(sum_x this.Evaluate(x)*that.Evaluate(x))

    Remarks

    This can be considered a type of inner product between distributions.

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