Skip to main content

Activizer

Interface for Active Learning

About Active Learning

Active learning is the process by which a learning algorithm can query a user interactively to label data points which are close to the decision boundary formed during classification


The primary objective of this project is to build an Interface for Active learning which simplifies the process of chosing algorithms,query strategies and labels This eliminates the task of writing programs for each task The interface helps annotators of various domains to label data in an interactive manner and also provides features of saving the final model and results


Interface for Active Learning supports Image dataset where the user can upload data in Zip format. It supports 3 classifiers and 7 query strategies.

Classifiers

  • KNN Classifier

  • Random Forest Classifier

  • Decision Tree Classifier

Query Strategies

  • Uncertainty Sampling

  • Random Sampling

  • Entropy Sampling

  • Query By Committee(Uncertainty Sampling)

  • Query By Committee(Vote Entropy Sampling)

  • Query By Committee(Max Disagreement Sampling)

  • Query By Committee(Consensus Entropy Sampling)

This project is implemented with the Active Learning package modAL

How to Run

This project requires python 3.x installed on your machine

Installation

The package can be installed using the command : pip install activizer

Open Python console and run the following commands

  • from activizer import app

  • app.run()


  • Copy the url in the browser

  • Select the Classifier Algorithm, the Query Strategy and give the number of samples you wish to label. Then select the training / testing dataset in Zip format


  • For each iteration an image will be shown and a dropdown to label that image. Below them will be shown a graph with current accuracy.


  • After all the iterations are over, Final accuracy with graph will be shown


  • The user can see the images along with the labels provided by the algorithm selected during training. The trained model can be downloaded in pickle format (.pickle file) and can be used for prediction by clicking "Already have a model" on the Main Page. The user can then upload the pickle file and use the model to classify images

  • The Interface can be used for prediction by uploading the validation dataset in Zip format.


  • The result will be shown in a table consisting of image name and label predicted by the model.


Metadata

Release files for activizer 1.0.7

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

Source distribution (sdist)

Source distribution for activizer 1.0.7
File Size Uploaded Provenance Actions
activizer-1.0.7.tar.gz 306.6 kB Without provenance Details for activizer-1.0.7.tar.gz

Release files / activizer-1.0.7.tar.gz

Download URL activizer-1.0.7.tar.gz
Size 306.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bd469b0c010d2b3086764d3e5ba4574768a2769e4b41bfb616815c14d5e4cfaa
BLAKE2b-256 checksum
How to use checksums
98fda1ef63990a6cc9860b6c1553a49d47dcd9c201a89f3a6eaa8f0b106b4ffd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.21.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.1

Security for activizer 1.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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