Overview
Outlier Detection
Drift Detection
Adversarial Detection
Deployment
Datasets
Models
API reference
Bibliography
Apply reservoir sampling.
X_ref (ndarray) – Current instances in reservoir.
ndarray
X (ndarray) – Data to update reservoir with.
reservoir_size (int) – Size of reservoir.
int
n (int) – Number of total instances that have passed so far.
Updated reservoir.