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

Error always Inf. when using GKL #4

Open
JSybrandt opened this issue Jun 26, 2017 · 1 comment
Open

Error always Inf. when using GKL #4

JSybrandt opened this issue Jun 26, 2017 · 1 comment

Comments

@JSybrandt
Copy link

Hello, I am trying to evaluate libmf, but when I use the GLK NNMF flags, I notice that no matter how I tune the parameters, I always get inf. for both the loss function and the error.

@wschin
Copy link
Collaborator

wschin commented Nov 16, 2018

A possible reason is that a coordinate is updated to 0 and log(0) leads to numerical error. A solution is to add a small positive number after each update for GKL.

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

2 participants