Esc50DataLoaderOptions
Options & Configuration · AiDotNet.Data.Audio.Benchmarks
Configuration options for the ESC-50 data loader.
How It Works
ESC-50 (Environmental Sound Classification) contains 2,000 5-second environmental audio recordings organized into 50 classes (e.g., dog bark, rain, clock tick) with 40 clips per class. 5 predefined cross-validation folds.
Constructors
| Constructor | Summary |
|---|---|
Esc50DataLoaderOptions() |
Properties
| Property | Summary |
|---|---|
DatasetSplit Split { get; set; } |
Dataset split to load. |
bool AutoDownload { get; set; } |
Automatically download if not present. |
int SampleRate { get; set; } |
Sample rate in Hz. |
int TestFold { get; set; } |
Cross-validation fold to use as test (1-5). |
int? MaxSamples { get; set; } |
Optional maximum number of samples to load. |
string DataPath { get; set; } |
Root data path. |
Methods
| Method | Summary |
|---|---|
void Validate() |
Validates that all option values are within acceptable ranges. |