systemml-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Boehm" <>
Subject Re: ALS Algorithm
Date Sat, 07 May 2016 04:02:13 GMT

ALS iteratively computes updates of left/right factors in an alternating
fashion. The script runs "max_iter*2" iterations because we conservatively
count a full update of both factors as an iteration. However, a jira/fix
for improving the script documentation is certainly useful.


From:	Luciano Resende <>
Date:	05/06/2016 08:41 PM
Subject:	ALS Algorithm

I was playing with the ALS algorithm (scripts/algorithms/ALS-CG.dml) and
was trying to update it to track overall losses, but I was always getting
IndexOutOfBounds. After some investigation I noticed that we define
max_iter but the code is actually as.integer(it/2) < max_iter which always
make it runs max_iter * 2.

Is there any reason for this behavior ? Otherwise let me know and I can
create a jira/fix.


Luciano Resende

  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message