Skip to main content
. Author manuscript; available in PMC: 2013 Oct 19.
Published in final edited form as: Neural Comput. 2012 Aug 24;24(11):2852–2872. doi: 10.1162/NECO_a_00353

Algorithm 3.

hopping HDA

Initialize: ν=0, u=0, s=0, t=0.
WhilefAu22 not converge” do
r = max|νi|,
j = argmaxii|,
if rthen
tw=min[(λsign(AiTf)νi)/(AiTf)],
j=argmini[(λsign(AiTf)νi)/(AiTf)],
tt + tw,
sjsign(AjTf)
νν + twATf − λsjATAj,
uj ← ((t − 1)uj + sj)/t,
else
sj ← sign(νj)
νν − λATAjsj,
uj ← ((t − 1)uj + λsj)/t,
end if
end while