Interface CanGetMeanAndVariance<MeanType, VarType>
Whether the distribution supports the joint getting of mean and variance where the mean and variance are reference types
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface CanGetMeanAndVariance<MeanType, VarType>
Type Parameters
Name | Description |
---|---|
MeanType | Mean type |
VarType | Variance type |
Methods
GetMeanAndVariance(MeanType, VarType)
Get the mean and variance
Declaration
void GetMeanAndVariance(MeanType mean, VarType variance)
Parameters
Type | Name | Description |
---|---|---|
MeanType | mean | Where to put the mean |
VarType | variance | Where to put the variance |