Search Results for

    Show / Hide Table of Contents

    Class TruncatedDistribution

    Inheritance
    Object
    TruncatedDistribution
    Implements
    ITruncatableDistribution<Double>
    CanGetProbLessThan<Double>
    CanGetQuantile<Double>
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Namespace: Microsoft.ML.Probabilistic.Distributions
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    public class TruncatedDistribution : ITruncatableDistribution<double>, CanGetProbLessThan<double>, CanGetQuantile<double>

    Constructors

    TruncatedDistribution(ITruncatableDistribution<Double>, Double, Double)

    Declaration
    public TruncatedDistribution(ITruncatableDistribution<double> distribution, double lowerBound, double upperBound)
    Parameters
    Type Name Description
    ITruncatableDistribution<Double> distribution
    Double lowerBound
    Double upperBound

    Fields

    Distribution

    Declaration
    public readonly ITruncatableDistribution<double> Distribution
    Field Value
    Type Description
    ITruncatableDistribution<Double>

    LowerBound

    Declaration
    public readonly double LowerBound
    Field Value
    Type Description
    Double

    UpperBound

    Declaration
    public readonly double UpperBound
    Field Value
    Type Description
    Double

    Methods

    GetProbBetween(Double, Double)

    Declaration
    public double GetProbBetween(double lowerBound, double upperBound)
    Parameters
    Type Name Description
    Double lowerBound
    Double upperBound
    Returns
    Type Description
    Double

    GetProbLessThan(Double)

    Declaration
    public double GetProbLessThan(double x)
    Parameters
    Type Name Description
    Double x
    Returns
    Type Description
    Double

    GetQuantile(Double)

    Declaration
    public double GetQuantile(double probability)
    Parameters
    Type Name Description
    Double probability
    Returns
    Type Description
    Double

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Truncate(Double, Double)

    Declaration
    public ITruncatableDistribution<double> Truncate(double lowerBound, double upperBound)
    Parameters
    Type Name Description
    Double lowerBound
    Double upperBound
    Returns
    Type Description
    ITruncatableDistribution<Double>

    Implements

    ITruncatableDistribution<T>
    CanGetProbLessThan<T>
    CanGetQuantile<T>
    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.