Interface CanGetProbLessThan<T>
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface CanGetProbLessThan<in T>
Type Parameters
Name | Description |
---|---|
T |
Methods
GetProbBetween(T, T)
Returns the probability mass in an interval.
Declaration
double GetProbBetween(T lowerBound, T upperBound)
Parameters
Type | Name | Description |
---|---|---|
T | lowerBound | Inclusive |
T | upperBound | Exclusive |
Returns
Type | Description |
---|---|
Double | A number between 0 and 1, inclusive. |
GetProbLessThan(T)
Returns the probability of drawing a sample less than x.
Declaration
double GetProbLessThan(T x)
Parameters
Type | Name | Description |
---|---|---|
T | x | Any number. |
Returns
Type | Description |
---|---|
Double | A real number in [0,1]. |