pyAL is an python library that implements common active learning strategies. The project is currently developed by the members of the Machine Learning Lab at IIT: (http://ml.cs.iit.edu).
This work is supported by NSF CAREER Award #1350337. http://nsf.gov/awardsearch/showAward?AWD_ID=1350337
Currently supported strategies:
pyAL is tested to work under Python 2.7. The required dependencies to build the software are scikit-learn >= 0.15, NumPy >= 1.6.2, and SciPy >= 0.9.
This package uses distutils, which is the default way of installing python modules. To install in your home directory, use:
python setup.py install --user To install for all users on Unix/Linux:
$ python setup.py build
$ sudo python setup.py install
This repository is organized as follows:
al
: contains the codedocumentation
: contains the documentation of the classesfront_end
: containts the GUIutils
: contains the utilitiesYou can check the latest sources with the command:
git clone git@github.com:iitml/AL.git
from al.learning_curve import LearningCurve
learning_api = LearningCurve()
training_size, avg_accu, avg_auc = learning_api.run_trials(X_pool, y_pool, X_test, y_test, strategy, classifier, alpha, boot_strap_size, step_size, budget, num_trials)