NsynthDataLoader<T>
Models & Types · AiDotNet.Data.Audio.Benchmarks
Loads the NSynth Neural Synth dataset (Engel et al. 2017) — 305k musical notes classified by instrument family.
Inheritance: DataLoaderBase<T> → InputOutputDataLoaderBase<T, Tensor<T>, Tensor<T>> → NsynthDataLoader<T>
How It Works
Expects:
where split = train / valid / test. Auto-downloads the canonical Magenta jsonwav.tar.gz archives. Features [N, Samples] waveforms; labels [N, 11] one-hot instrument-family classification.
Constructors
| Constructor | Summary |
|---|---|
NsynthDataLoader(NsynthDataLoaderOptions options) |
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) |
Fields
| Field | Summary |
|---|---|
int NumInstrumentFamilies |