- New query strategy: ContrastiveActiveLearning.
- Added Reproducibility Notes.
-
Cleaned up and unified argument naming: The naming of variables related to datasets and indices has been improved and unified. The naming of datasets had been inconsistent, and the previous
x_notation for indices was a relict of earlier versions of this library and did not reflect the underlying object anymore.-
PoolBasedActiveLearner:- attribute
x_indices_labeledwas renamed toindices_labeled - attribute
x_indices_ignoredwas unified toindices_ignored - attribute
queried_indiceswas unified toindices_queried - attribute
_x_index_to_positionwas named to_index_to_position - arguments
x_indices_initial,x_indices_ignored, andx_indices_validationwere renamed toindices_initial,indices_ignored, andindices_validation. This affects most methods of thePoolBasedActiveLearner.
- attribute
-
QueryStrategy- old:
query(self, clf, x, x_indices_unlabeled, x_indices_labeled, y, n=10) - new:
query(self, clf, dataset, indices_unlabeled, indices_labeled, y, n=10)
- old:
-
StoppingCriterion- old:
stop(self, active_learner=None, predictions=None, proba=None, x_indices_stopping=None) - new:
stop(self, active_learner=None, predictions=None, proba=None, indices_stopping=None)
- old:
-
-
Renamed environment variable which sets the small-text temp folder from
ALL_TMPtoSMALL_TEXT_TEMP
Bugfix release.
- Fix links to the documentation in README.md and notebooks.
First beta release with multi-label functionality and stopping criteria.
- Added a changelog.
- All provided classifiers are now capable of multi-label classification.
- Documentation has been overhauled considerably.
PoolBasedActiveLearner: Renamedincremental_trainingkwarg toreuse_model.SklearnClassifier: Changed__init__(clf)to__init__(model, num_classes, multi_Label=False)SklearnClassifierFactory:__init__(clf_template, kwargs={})to__init__(base_estimator, num_classes, kwargs={}).- Refactored
KimCNNClassifierandTransformerBasedClassification.
- Removed
devicekwarg fromPytorchDataset.__init__(),PytorchTextClassificationDataset.__init__()andTransformersDataset.__init__().