libact review
A free, self-hosted Python package with varied query strategies and scikit-learn adapters.
Reviewed by iTechGuides Editors · Editorial team · Updated Nov 2026
libact is an open-source Python package for pool-based active learning, aimed at Python users who want to choose unlabeled samples for human labeling within their own workflows. It provides a unified interface for datasets, models, and labelers, and can wrap scikit-learn estimators. The package runs on Linux, macOS, and Windows and is self-hosted, so it suits teams that want to build active-learning workflows in code rather than use a hosted annotation service.
The strategy range is a central strength. Options include uncertainty sampling and its epsilon-greedy variant, CoreSet for diversity-based selection, BALD and information-density sampling, query by committee, QUIRE, and other approaches such as RandomSampling and VarianceReduction. ActiveLearningByLearning is a meta-algorithm for selecting among strategies. Interfaces for custom strategies, models, and labelers give users room to adapt the workflow, while scikit-learn adapters connect it to an existing estimator-based stack. This breadth is useful when a project calls for comparing query approaches or combining them with custom components; users who need only a hosted labeling interface may find the package is pointed at the wrong part of the process.
libact is free and open source, with documentation and community support channels. Because it is self-hosted, users manage their own environment and the surrounding workflow. Annotation is external: a user-defined labeler or separate workflow handles human labeling, rather than a built-in hosted annotation service. That division is important when evaluating fit. Choose libact if you can work in Python and want control over query strategy, model, and labeler components, especially around scikit-learn. Consider another option if you need annotation and active-learning orchestration bundled in a managed service.
Questions about libact
What does libact run on? Linux, macOS and Windows. It runs self-hosted.
What does libact integrate with? 1 integration: scikit-learn.
Who is libact built for? Solo users, small businesses, mid-market companies and enterprises (our editorial estimate).
libact pros and cons
- Where it wins
- Offers uncertainty, diversity, BALD, and committee-based query strategies
- Includes ActiveLearningByLearning to select among strategies
- Supports custom strategies, models, and labelers alongside scikit-learn adapters
- Where it doesn't
- Human annotation happens outside the package through a labeler or workflow
- Self-hosted use requires a Python environment and workflow management
- Its focus is active-learning workflows, not a hosted annotation service
libact fact sheet, pricing and score →
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. Bought places stand at the number bought; this page and our disclosure say so. Paying vendors may get a fuller, more detailed review from our editors, and that review can change their score. How we rank.
Last updated · How we research and update