IWeightedSampler<T>
Interfaces · AiDotNet.Interfaces
Interface for samplers that use sample weights.
Implements: IDataSampler
Known implementations: WeightedSamplerBase<T>
Properties
| Property | Summary |
|---|---|
IReadOnlyList<T> Weights { get; set; } |
Gets or sets the weights for each sample. |
bool Replacement { get; set; } |
Gets or sets whether to sample with replacement. |
int? NumSamples { get; set; } |
Gets or sets the number of samples to draw per epoch. |