Class TruncatedDistribution
Inheritance
TruncatedDistribution
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
Fields
Distribution
Declaration
public readonly ITruncatableDistribution<double> Distribution
Field Value
LowerBound
Declaration
public readonly double LowerBound
Field Value
UpperBound
Declaration
public readonly double UpperBound
Field Value
Methods
GetProbBetween(Double, Double)
Declaration
public double GetProbBetween(double lowerBound, double upperBound)
Parameters
Returns
GetProbLessThan(Double)
Declaration
public double GetProbLessThan(double x)
Parameters
Type |
Name |
Description |
Double |
x |
|
Returns
GetQuantile(Double)
Declaration
public double GetQuantile(double probability)
Parameters
Type |
Name |
Description |
Double |
probability |
|
Returns
ToString()
Declaration
public override string ToString()
Returns
Overrides
Truncate(Double, Double)
Declaration
public ITruncatableDistribution<double> Truncate(double lowerBound, double upperBound)
Parameters
Returns
Implements