EntropySampling

class probly.evaluation.active_learning.strategies.EntropySampling[source]

Bases: object

Selects unlabeled samples with the highest prediction entropy.

High entropy indicates the model’s predicted distribution is spread across classes, making these samples informative to label.

select(estimator: Estimator, pool: ActiveLearningPool, n: int) → ArrayLike[source]

Return n indices with the highest prediction entropy.