Class BurnInAccumulator<T>
Wraps an accumulator, discarding the first BurnIn samples.
Implements
Accumulator<T>
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class BurnInAccumulator<T> : Accumulator<T>
Type Parameters
Name | Description |
---|---|
T | The type to accumulate |
Constructors
BurnInAccumulator(Int32, Int32, Accumulator<T>)
Constructs a burn-in accumulator
Declaration
public BurnInAccumulator(int burnIn, int thin, Accumulator<T> accumulator)
Parameters
Type | Name | Description |
---|---|---|
Int32 | burnIn | |
Int32 | thin | |
Accumulator<T> | accumulator |
Fields
Accumulator
Accumulator
Declaration
public Accumulator<T> Accumulator
Field Value
Type | Description |
---|---|
Accumulator<T> |
BurnIn
Burn in
Declaration
public int BurnIn
Field Value
Type | Description |
---|---|
Int32 |
Count
Count
Declaration
public int Count
Field Value
Type | Description |
---|---|
Int32 |
Thin
Thin parameter
Declaration
public int Thin
Field Value
Type | Description |
---|---|
Int32 |
Methods
Add(T)
Adds a sample to the burn-in accumulator
Declaration
public void Add(T item)
Parameters
Type | Name | Description |
---|---|---|
T | item |
Clear()
Clears the burn-in accumulator
Declaration
public void Clear()