Skip to main content
. 2019 Jul 1;21(7):651. doi: 10.3390/e21070651
Algorithm 2 Query Synthesis Active Learning
  • Input: A dataset D=(xj,yj)j=1N, a general active learning strategy S, a utility function u, number of iterations T, a discount factor γ and a generation method for creating synthetic queries GenerateQueryPoint().

  • Output: A Learned model θT and a cumulative gained utility uT.

  • DLNinit labeled data samples randomly chosen out of D.

  • Train the regression model using the initial training data to obtain initial model θ0.

  • repeat

  • x*=GenerateQueryPoint(S,DU,θi).

  • y* the true label for the query sample x*.

  •  Add the acquired data point (x*,y*) to the training data: DLDL(x*,y*).

  •  Evaluate the utility ui using the new acquired point: uiu(x*,y*).

  •  Update the regression model θi using the new acquired point (x*,y*).

  • untilT iterations executed

  •  

  • return The learned model θT and the cumulative discounted utility uT=i=1Tγi1ui.