Skip to main content
. 2019 Jan 25;19(3):501. doi: 10.3390/s19030501
Algorithm 1 General Active Learning
Input: initial train set L, unlabelled validation set U, independent test set T
Output: predicted labels for the test set
  • 1:

    θclf.fit(L)▹ Learns model on initial training set

  • 2:

    while SC not met do

  • 3:

        selection by QS of the most informative sample: x*

  • 4:

        ask Oracle for x* label

  • 5:

        LLx*▹ Increments the model’s training set with x*

  • 6:

        UUx*▹ Removes x* from unlabelled samples U

  • 7:

        Θclf.fit(L)▹ Updates model

  • 8:

        return clf.predict(T)▹ Returns predicted labels for the test set

  • 9:

    end while