Skip to main content
. 2020 Oct 16;22(10):1164. doi: 10.3390/e22101164
Algorithm 1 Active learning for node classification.
  • Input: Graph G=(A,X), Query budget K, Initial labels YL

  • Output: An improved model fθ

  • fori1 to nq=K do

  •  Select the best unlabeled instance q* with an acquisition function g

  •  Retrieve its label Yq*

  •  Update label set YLYLYq*

  •  Retrain the model θarg minθl(fθ(G),YL)

  • end for

  • Return θ