Table of Contents

Namespace AiDotNet.Data.Loaders

Classes

BalancedEpisodicDataLoader<T, TInput, TOutput>

Provides balanced episodic task sampling that ensures equal class representation across multiple tasks.

CsvStreamingDataLoader<T, TInput, TOutput>

A streaming data loader that reads from a CSV file line by line.

CurriculumEpisodicDataLoader<T, TInput, TOutput>

Provides curriculum-based episodic task sampling that progressively increases task difficulty during training.

DataLoaderBase<T>

Abstract base class providing common functionality for all data loaders.

DataLoaders

Static factory class for creating data loaders with beginner-friendly methods.

EpisodicDataLoaderBase<T, TInput, TOutput>

Provides a base implementation for episodic data loaders with common functionality for N-way K-shot meta-learning.

FileStreamingDataLoader<T, TInput, TOutput>

A streaming data loader that reads from files in a directory.

GraphDataLoaderBase<T>

Abstract base class for graph data loaders providing common graph-related functionality.

InMemoryDataLoader<T, TInput, TOutput>

A simple in-memory data loader for supervised learning data.

InputOutputDataLoaderBase<T, TInput, TOutput>

Abstract base class for input-output data loaders providing common supervised learning functionality.

LeafFederatedDataLoader<T>

Data loader that reads LEAF benchmark JSON splits and exposes both aggregated (X, Y) data and per-client partitions.

MemoryMappedStreamingDataLoader<T, TInput, TOutput>

A streaming data loader that uses memory-mapped files for efficient random access to large binary datasets.

ParallelBatchLoaderConfig

Configuration for parallel batch loading.

ParallelBatchLoaderExtensions

Provides extension methods for parallel batch loading.

ParallelBatchLoader<TBatch>

Provides parallel batch loading with multiple workers for improved throughput.

RLDataLoaderBase<T>

Abstract base class for RL data loaders providing common reinforcement learning functionality.

StratifiedEpisodicDataLoader<T, TInput, TOutput>

Provides stratified episodic task sampling that maintains dataset class proportions across tasks.

StreamingDataLoaderBase<T, TInput, TOutput>

Abstract base class for streaming data loaders that process data on-demand.

StreamingDataLoader<T, TInput, TOutput>

A data loader that streams data from disk or other sources without loading all data into memory.

UniformEpisodicDataLoader<T, TInput, TOutput>

Provides uniform random episodic task sampling for N-way K-shot meta-learning scenarios.