Skip to main content
. 2019 Jul 1;21(7):651. doi: 10.3390/e21070651
Algorithm 4 The Uncertainty of Sampling Second Variant (UoS-2) Querying Method
  • Input: A dataset D=(xi,yi), an exploitation active learning strategy S, the number of simulation iterations n and a scaling parameter K.

  • Output: A query sample x*.

  • Train the regression model using the training samples D to obtain the mean μβ|D and the covariance Σβ|D of the model parameters’ vector β and the posterior estimates of aσ|D and bσ|D.

  • fori=1 to n do

  • Sample βi from t2aσ|D(μβ|D,bσ|Daσ|DΣβ|D).

  • xsi the query sample returned after applying exploitation strategy S, using the sampled model parameters βi.

  • end for

  • Evaluate the average query sample x¯s: x¯s=1ni=1nxsi

  • σs2Kn1i=1n(xsix¯s)2.

  • x* Generate a query sample according to a Gaussian distribution as follows: N(x¯s,σs2).