Class SampleList<T>
Sample List
Implements
Accumulator<T>
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
public class SampleList<T> : Accumulator<T>
Type Parameters
| Name | Description |
|---|---|
| T | Domain type for sample list |
Properties
Samples
Samples
Declaration
public IList<T> Samples { get; }
Property Value
| Type | Description |
|---|---|
| IList<T> |
Methods
Add(T)
Add a sample to the sample list
Declaration
public void Add(T item)
Parameters
| Type | Name | Description |
|---|---|---|
| T | item |
Clear()
Clears out all the samples
Declaration
public void Clear()