Interface BudgetManager

  • All Known Implementing Classes:
    FixedBM

    public interface BudgetManager
    Budget Manager Interface to make AL Classifiers select the most beneficial instances. A Budget Manager is defined in that way that it defines a threshold internally and tests if the internal value is above or equal that threshold. This Budget Manager assumes that a new instance is processed each time the method 'isAbove' is called and that the number of acquired instances equals the number of returned 'true's.
    Version:
    $Revision: 1 $
    Author:
    Daniel Kottke (daniel dot kottke at ovgu dot de)
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getLastLabelAcqReport()
      Returns the number of labels that have been chosen for acquisition since the last report.
      boolean isAbove​(double value)
      Returns true if the given value is above an internal threshold and the label should be acquired.
      void resetLearning()
      Resets the budget manager.
    • Method Detail

      • isAbove

        boolean isAbove​(double value)
        Returns true if the given value is above an internal threshold and the label should be acquired.
      • getLastLabelAcqReport

        int getLastLabelAcqReport()
        Returns the number of labels that have been chosen for acquisition since the last report.
      • resetLearning

        void resetLearning()
        Resets the budget manager.