active_learning.pool

Active learning pool with backend dispatch for NumPy and PyTorch.

Submodules

numpy

NumPy implementation of the active learning pool.

torch

PyTorch implementation of the active learning pool.

Classes

ActiveLearningPool

Protocol for backend-specific active learning pools.

Functions

from_dataset

Create a pool by randomly splitting training data into labeled and unlabeled subsets.

query

Move samples from the unlabeled pool into the labeled set.