Skip to main content

ALMa - An Active Leanring (data) Manager

ALMa elimiates the need for bookkeeping when using Active Learning. Read the blog post on Active Learning with ALMa

Made with heart by LightTag - The Text Annotation Tool For Teams. We use ALMa to facilitate multi annotator active learning. Originally developed as a contribution for Modal but moved to it's own library

Install

pip install ALMa

Use

Check out the full example for text classification

from ALMa import ActiveLearningManager
manager = ActiveLearningManager(my_featurized_data, sources=optional_original_data)
learner = #...some active learning learner
for index in range(N_QUERIES):
    index_to_label, query_instance = learner.query(manager.unlabeld)
    original_ix = manager.get_original_index_from_unlabeled_index(index_to_label)
    y = original_labels_train[original_ix]
    label = (index_to_label, y)
    manager.add_labels(labels)
    learner.teach(X=manager.labeled, y=manager.labels)

Metadata

Release files for ALMa 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ALMa 0.0.3
File Size Uploaded
ALMa-0.0.3.tar.gz 3.4 kB Details

Release files / ALMa-0.0.3.tar.gz

Download URL ALMa-0.0.3.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
11307dc793b1050a6763b1c01f8fc0d9042e29310886d5fe390f58b2afbe7ed3
BLAKE2b-256 checksum
How to use checksums
42f54966f3a980e6614fe4b5d27f78357699cf457602aa3f4ddd8c0dd77bae68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page