-
Notifications
You must be signed in to change notification settings - Fork 0
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 documentation #7
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7 +/- ##
=======================================
Coverage 81.63% 81.63%
=======================================
Files 1 1
Lines 98 98
=======================================
Hits 80 80
Misses 18 18 ☔ View full report in Codecov by Sentry. |
Typically one would split this into two pull requests:
To add a little more detail about the first one: once you've identified a bug, the following workflow is great:
There are many nice things about this workflow:
|
Not sure if this is ready for review or if you're still working on this, but a couple of comments. First, this is definitely moving in the right direction. TODO:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small suggestions on the docstrings.
src/NMFMerge.jl
Outdated
""" | ||
colnormalize(W, H, p) | ||
|
||
This function normalize ||W[:, i]||_p = 1 for i in 1:size(W, 2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You might mention that any change in scaling is transferred to the corresponding H
component.
src/NMFMerge.jl
Outdated
@@ -16,8 +16,25 @@ function colnormalize!(W, H, p::Integer=2) | |||
end | |||
return W, H | |||
end | |||
|
|||
""" | |||
colnormalize(W, H, p) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
colnormalize(W, H, p) | |
colnormalize(W, H, p=2) |
To show the default value
7e27acc
to
81f091d
Compare
wrong close |
08631f2
to
1732c21
Compare
No description provided.