ActiveLearningPool

class probly.evaluation.active_learning.pool.ActiveLearningPool(*args, **kwargs)[source]

Bases: Protocol

Protocol for backend-specific active learning pools.

Variables:
  • x_labeled – Feature matrix for the currently labeled training samples.

  • y_labeled – Labels for the currently labeled training samples.

  • x_unlabeled – Feature matrix for the unlabeled pool.

  • y_unlabeled – Ground-truth labels for the unlabeled pool (revealed only on query).

  • x_test – Feature matrix for the held-out test set.

  • y_test – Labels for the held-out test set.

property n_labeled: int
property n_unlabeled: int
property x_labeled: ArrayLike
property x_test: ArrayLike
property x_unlabeled: ArrayLike
property y_labeled: ArrayLike
property y_test: ArrayLike
property y_unlabeled: ArrayLike