Skip to main content
. Author manuscript; available in PMC: 2021 Sep 20.
Published in final edited form as: IEEE Trans Neural Syst Rehabil Eng. 2021 Aug 30;29:1679–1689. doi: 10.1109/TNSRE.2021.3105644
Algorithm 1 Active GP Entropy-Based Sampling Algorithm
Input:XA0,yA0,V,XV,N,methodOutput:A1Obtain estimated fieldψ^Vby taking the mean of (2) (forGPE and GPEμ)or(18)(for WGPE);2Setn=n0andA=A0;3whilenNdo4forVAdoComputeδψ,using (9) or (15) or (20) based onmethod;end=argmaxδψ^,;Get MEP sampleyat locationx;A=A{};V=V{};Obtain estimated fieldψ^Vby taking the mean of (2)or(18);Increment n;13end14returnA;