Skip to main content
. Author manuscript; available in PMC: 2020 Mar 4.
Published in final edited form as: Proc Int Jt Conf Neural Netw. 2017 Jul 3;2017:1174–1179. doi: 10.1109/ijcnn.2017.7965985
Algorithm 2 Alternating least squares (ALS) algorithm for maximizing the weighted tensor least squares criterion (4)
Initialize:Bd(0)Rpd×Rford=1,,DRepeatford=1,,DdoBd(t+1)is obtained by minimizing12iwi(yiBd,Xi(d)(BD(t)Bd+1(t)Bd1(t+1)B1(t+1)))2endforUntil:L(θ(t))L(θ(t+1))<ϵ