Interface IDistribution<T>
Distribution interface
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Quality(QualityBand.Mature)]
public interface IDistribution<T> : IDistribution, ICloneable, Diffable, SettableToUniform, HasPoint<T>, CanGetLogProb<T>
Type Parameters
Name | Description |
---|---|
T | The type of objects in the domain, e.g. Vector or Matrix. |
Remarks
T should generally have value semantics, i.e. it should override Equals to use value equality. Otherwise it implies a Distribution over references.
In addition to this interface, Distributions should override Equals to
use value equality.
A typical implementation of Equals is: MaxDiff(that) == 0.0
To be generally used by message-passing algorithms, a distribution should also implement the
following interfaces:
SettableTo, SettableToProduct, SettableToRatio, SettableToPower, SettableToWeightedSum,
CanGetLogAverageOf, CanGetAverageLog