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

Add nonnegative initialization functions #87

Open
willwerscheid opened this issue Sep 23, 2018 · 0 comments
Open

Add nonnegative initialization functions #87

willwerscheid opened this issue Sep 23, 2018 · 0 comments

Comments

@willwerscheid
Copy link
Member

We need an init_fn for nonnegative factorization (this can simply be a wrapper to nnmf) and for nonnegative loadings (with arbitrary factors). (And similarly, for nonnegative factors.) For the latter, I have been running the default udv_si and then using either u and v or -u and -v depending on whether the negative or positive part of u is larger (in a L_2 sense, which seems to work better than L_1, but maybe L_\infty could also work well). I don't whether this is the best way to do it.

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