ResamplingStatistics<T>

Models & Types · AiDotNet.Interfaces

Contains statistics about a resampling operation.

For Beginners

This class tells you what the resampling strategy did to your data, so you can verify it worked as expected.

Constructors

Constructor Summary
ResamplingStatistics()

Properties

Property Summary
NumericDictionary<T, int> OriginalClassCounts { get; set; } The original number of samples per class.
NumericDictionary<T, int> ResampledClassCounts { get; set; } The new number of samples per class after resampling.
NumericDictionary<T, int> SamplesAddedPerClass { get; set; } The number of samples added per class (positive for oversampling).
NumericDictionary<T, int> SamplesRemovedPerClass { get; set; } The number of samples removed per class (positive for undersampling).
int TotalOriginalSamples { get; set; } Total samples before resampling.
int TotalResampledSamples { get; set; } Total samples after resampling.