Interface Accumulator<T>
Indicates support for adding an item to a distribution estimator
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public interface Accumulator<in T>
Type Parameters
Name | Description |
---|---|
T | Type of item to add. Can be a distribution type or a sample type |
Methods
Add(T)
Adds an item to the estimator
Declaration
void Add(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item | The item |
Clear()
Clears the accumulator
Declaration
void Clear()