Interface CanGetMean<MeanType>
Whether the distribution supports retrieval of a mean value
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface CanGetMean<out MeanType>
Type Parameters
Name | Description |
---|---|
MeanType | Type of the mean value |
Methods
GetMean()
Declaration
MeanType GetMean()
Returns
Type | Description |
---|---|
MeanType |
Remarks
This is not a property because it is not reasonable to expect that distributions would generally have their mean as a data member. Computing the mean could take a long time for some distributions.