Esc50DataLoader<T>
Models & Types · AiDotNet.Data.Audio.Benchmarks
Loads the ESC-50 environmental sound classification dataset (2000 clips, 50 classes).
Inheritance: DataLoaderBase<T> → InputOutputDataLoaderBase<T, Tensor<T>, Tensor<T>> → Esc50DataLoader<T>
How It Works
ESC-50 expects:
CSV columns: filename, fold, target, category, esc10, src_file, take. Features are raw waveform Tensor[N, MaxSamples]. Labels are class index Tensor[N, 1].
Constructors
| Constructor | Summary |
|---|---|
Esc50DataLoader(Esc50DataLoaderOptions options) |
Creates a new ESC-50 data loader. |
Properties
| Property | Summary |
|---|---|
int FeatureCount { get; } |
|
int OutputDimension { get; } |
|
int TotalCount { get; } |
|
string Description { get; } |
|
string Name { get; } |
Methods
| Method | Summary |
|---|---|
ValueTuple<IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>, IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>, IInputOutputDataLoader<T, Tensor<T>, Tensor<T>>> Split(double trainRatio, double validationRatio, int? seed) |