adefazio / point-saga

Accelerated SAGA
MIT License
24 stars 12 forks source link

Is this second lagged update to x_k a bug? I don't see it in the algorithm #2

Closed NikZak closed 2 years ago

NikZak commented 2 years ago

Forgive my lack of understanding. Could you please clarify this step? Why it happens two times? https://github.com/adefazio/point-saga/blob/63597c67aa9a18f7d2d4ae12ef4c7230e3db3872/optimization/saga.pyx#L141

adefazio commented 2 years ago

So I wrote the code a long time ago so my memory is hazy, but I believe I'm using the lagged_update function for two purposes. This 2nd application of it performs a single step of the regularizer, i.e. the regular non-lagged application after the main step.

NikZak commented 2 years ago

Sorry, my bad.