Interface CanCopyWithMean<MeanType, TDist>
Whether the distribution supports creating copies with different mean value.
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Quality(QualityBand.Experimental)]
public interface CanCopyWithMean<in MeanType, out TDist>
Type Parameters
Name | Description |
---|---|
MeanType | Type of the mean value. |
TDist | Type of the distribution. |
Methods
WithMean(MeanType)
Creates a copy of the current distribution with mean set to the provided value.
Declaration
TDist WithMean(MeanType value)
Parameters
Type | Name | Description |
---|---|---|
MeanType | value | The mean value |
Returns
Type | Description |
---|---|
TDist | The created distribution. |