Interface CanSetMeanAndVariance<MeanType, VarType>
Whether the distribution supports the joint setting of mean and variance
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface CanSetMeanAndVariance<in MeanType, in VarType>
Type Parameters
Name | Description |
---|---|
MeanType | |
VarType |
Methods
SetMeanAndVariance(MeanType, VarType)
Set the parameters to produce a given mean and variance.
Declaration
void SetMeanAndVariance(MeanType mean, VarType variance)
Parameters
Type | Name | Description |
---|---|---|
MeanType | mean | Mean |
VarType | variance | Variance |
Remarks
In cases where the given mean and variance cannot be matched exactly, the mean should have priority.