Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cp_als: align output formatting to Matlab version #17

Closed
dmdunla opened this issue Jun 29, 2022 · 0 comments
Closed

cp_als: align output formatting to Matlab version #17

dmdunla opened this issue Jun 29, 2022 · 0 comments

Comments

@dmdunla
Copy link
Collaborator

dmdunla commented Jun 29, 2022

Current output:

CP_ALS:
 Iter 0: f = 0.29487863930212066 f-delta = 0.29487863930212066
 Iter 1: f = 0.29566273499455864 f-delta = 0.0007840956924379805
 Iter 2: f = 0.29598343630628876 f-delta = 0.0003207013117301205
 Iter 3: f = 0.29617630790336913 f-delta = 0.0001928715970803685
 Iter 4: f = 0.29631901697531704 f-delta = 0.00014270907194791072
 Iter 5: f = 0.2964251708541269 f-delta = 0.00010615387880985594
 Iter 6: f = 0.2965041651264738 f-delta = 7.899427234692169e-05
 Final f = 0.29650416512647393

Matlab output:

CP_ALS:
 Iter  1: f = 2.948786e-01 f-delta = 2.9e-01
 Iter  2: f = 2.956627e-01 f-delta = 7.8e-04
 Iter  3: f = 2.959834e-01 f-delta = 3.2e-04
 Iter  4: f = 2.961763e-01 f-delta = 1.9e-04
 Iter  5: f = 2.963190e-01 f-delta = 1.4e-04
 Iter  6: f = 2.964252e-01 f-delta = 1.1e-04
 Iter  7: f = 2.965042e-01 f-delta = 7.9e-05
 Final f = 2.965042e-01 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant