Search Results for

    Show / Hide Table of Contents

    Interface CanGetLogAverageOfPower<T>

    Whether the distribution can compute the expectation of another distribution raised to a power.

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

    The distribution type

    Methods

    GetLogAverageOfPower(T, Double)

    The log-integral of one distribution times another raised to a power.

    Declaration
    double GetLogAverageOfPower(T that, double power)
    Parameters
    Type Name Description
    T that

    The other distribution

    Double power

    The exponent

    Returns
    Type Description
    Double

    Math.Log(sum_x this.Evaluate(x)*Math.Pow(that.Evaluate(x),power))

    Remarks

    This is not the same as GetLogAverageOf(that^power) because it includes the normalization constant of that.

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