Skip to main content

Module basic

Module basic 

Source
Expand description

Basic sampling strategies

This module provides fundamental sampling implementations including sequential and random sampling patterns.

Structs§

RandomSampler
Random sampler that yields indices in random order
SequentialSampler
Sequential sampler that yields indices in order

Functions§

random
Create a random sampler
random_subset
Create a random subset sampler
random_with_replacement
Create a random sampler with replacement
sequential
Create a sequential sampler