Search Results for

    Show / Hide Table of Contents

    Interface SettableToWeightedSum<T>

    Supports setting an instance to the weighted sum of two values of the same type

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

    The type

    Methods

    SetToSum(Double, T, Double, T)

    Set the parameters to best match a mixture distribution.

    Declaration
    void SetToSum(double weight1, T value1, double weight2, T value2)
    Parameters
    Type Name Description
    Double weight1

    A finite nonnegative weight.

    T value1

    First value. Can be the same object as this

    Double weight2

    A finite nonnegative weight.

    T value2

    Second value

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