Search Results for

    Show / Hide Table of Contents

    Delegate Evaluator<DistributionType, T>

    Delegate type for evaluating log densities. This is used for distributions such as VectorGaussian which have a large memory footprint. If a distribution supports CanGetLogProbPrep<DistributionType, T>, then it can return a delegate of this type to do evaluations without recreating a workspace each time.

    Namespace: Microsoft.ML.Probabilistic.Distributions
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    public delegate double Evaluator<DistributionType, T>(DistributionType dist, T value);
    Parameters
    Type Name Description
    DistributionType dist

    The distribution instance

    T value

    The value at which to evaluate the log density

    Returns
    Type Description
    Double

    The delegate returns a double

    Type Parameters
    Name Description
    DistributionType

    The distribution type

    T

    The domain type of the distribution

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