Skip to content

v1.0.0b3

Compare
Choose a tag to compare
@chschroeder chschroeder released this 06 Mar 16:16

This release adds a new query strategy, improves the docs, and cleans up the interfaces in preparation of v1.0.0.

Added

Changed

  • 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_labeled was renamed to indices_labeled
      • attribute x_indices_ignored was unified to indices_ignored
      • attribute queried_indices was unified to indices_queried
      • attribute _x_index_to_position was named to _index_to_position
      • arguments x_indices_initial, x_indices_ignored, and x_indices_validation were
        renamed to indices_initial, indices_ignored, and indices_validation. This affects most
        methods of the PoolBasedActiveLearner.
    • 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)
    • 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)
  • Renamed environment variable which sets the small-text temp folder from ALL_TMP to SMALL_TEXT_TEMP