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

First NMF function #2

Open
wants to merge 1 commit into
base: NMF
Choose a base branch
from
Open

First NMF function #2

wants to merge 1 commit into from

Conversation

ismav
Copy link
Member

@ismav ismav commented Mar 7, 2015

This should hopefully be the right pull request!

@@ -0,0 +1,172 @@
""" Sparse Nonnegative matrix factorization
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. But since we are doing it within scikit-learn, better to make this nmf as a module under sklearn, right? so move it there, add also an __init__.py file so Python recognizes it as a submodule

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actually better as sklearn/decomposition/sparse_nmf.py I guess

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, we will have implementations which work in Spark clusters as well as
GPU machines.
So, not sure if we want it in the sklearn branch.
For example:

https://github.com/arnlaugsson/sparkIt

Okay, will do the tests similar to the NMF function in scikits-learn.

On Sun, May 3, 2015 at 10:27 AM, Yaroslav Halchenko <
[email protected]> wrote:

In nmf/sparse_nmf.py
#2 (comment):

@@ -0,0 +1,172 @@
+""" Sparse Nonnegative matrix factorization

actually better as sklearn/decomposition/nmf


Reply to this email directly or view it on GitHub
https://github.com/scicubator/scikit-learn/pull/2/files#r29556542.

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

Successfully merging this pull request may close these issues.

2 participants