skactiveml.pool#
The skactiveml.pool package implements query strategies for
pool-based active learning.
Submodules#
Classes#
Random Sampling (RS) |
|
Multi-class Probabilistic Active Learning (McPAL) |
|
Uncertainty Sampling (US) |
|
Epistemic Uncertainty Sampling (EpisUS) |
|
Expected Error Reduction (EER) |
|
Monte Carlo Expected Error Reduction (EER) |
|
Value of Information (VOI) |
|
Query-by-Committee (QBC) |
|
QUerying Informative and Representative Examples (QUIRE) |
|
4DS |
|
Active Learning with Cost Embedding (ALCE) |
|
Expected Model Change (EMC) |
|
Regression based Expected Model Output Change (EMOC) |
|
Expected Model Variance Reduction (EMVR) |
|
Regression based Kullback-Leibler Divergence Maximization |
|
Greedy Sampling in the Feature Space (GSx) |
|
Greedy Sampling in the Target Space (GSi or GSy) |
|
Discriminative Active Learning (DAL) |
|
Batch Bayesian Active Learning by Disagreement (BatchBALD) |
|
Clustering Uncertainty-weighted Embeddings (CLUE) |
|
Dropout Query (DropQuery) |
|
Core Set |
|
Typical Clustering (TypiClust) |
|
Batch Active Learning by Diverse Gradient Embedding (BADGE) |
|
Probability Coverage (ProbCover) |
|
Contrastive Active Learning (ContrastiveAL) |
|
Greedy Bayesian Active Learning by Disagreement (GreedyBALD) |
|
Regression Tree-based Active Learning (RT-AL) |
|
Sub-sampling Wrapper |
|
Parallel Utility Estimation Wrapper |
|
Fast Active Learning by Contrastive UNcertainty (FALCUN) |
|
This class implements the MaxHerding query strategy [R362e6a09cf34-1], which greedily selects batch_size unlabeled samples that most increase a smooth, kernel-based coverage objective in embedding space, accounting for the already labeled set. |
Functions#
Calculate the expected cost reduction. |
|
Computes uncertainty scores. |
|
Calculate the expected average precision [R24358fbc63f7-1]. |
|
Calculates the average Kullback-Leibler (KL) divergence for measuring the level of disagreement in QueryByCommittee. |
|
Calculates the vote entropy for measuring the level of disagreement in QueryByCommittee. |
|
Calculates the variation ratios for measuring the level of disagreement in QueryByCommittee. |
|
BatchBALD: Efficient and Diverse Batch Acquisition for Deep Bayesian Active Learning |
|
An active learning method that greedily forms a batch to minimize the maximum distance to a cluster center among all unlabeled datapoints. |