Closed timholy closed 1 year ago
Base: 89.70% // Head: 92.37% // Increases project coverage by +2.66%
:tada:
Coverage data is based on head (
167ceb6
) compared to base (8629a5d
). Patch coverage: 100.00% of modified lines in pull request are covered.
:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Any idea what's going on with this test (added in this PR) only on Linux with 1.8?
Test Failed at /home/runner/work/NMF.jl/NMF.jl/test/initialization.jl:48
Expression: norm(X - W2 * H2) < norm(X - W1 * H1)
Evaluated: 2.0457485837143 < 2.039189688675492
Nope. I can't replicate the failure locally. Let's try again and see if it repeats?
This time, they all passed.
What's interesting is that the random seed isn't set before construction of X
for Float64
; it gets set during the Float64
tests and then makes the X
for Float32
deterministic, but Float64
is not deterministic. I think before merging this it might make sense to standardize all this. Since we set the seed in @testset
s, I think it's high time to transition the tests to @testset
s. I'll do that first before this merges (EDIT: I'll need to fix a conflict once #72 merges).
@ararslan, are you otherwise OK with it?
@ararslan, are you otherwise OK with it?
Sure am!
Weird. There are non-reproducible failures. Did we just get lucky with #72?
rsvd is fast, but it's also noisy (i.e., not deterministic) and of lower quality than exact SVD. Particularly if you have already computed the SVD for other reasons, it's nice to be able to use it in initializing via nndsvd.
This starts with the abandoned #68 and brings it over the finish line. CC @youdongguo.
This will not pass tests on its own, but if you merge #69 first, close this, and then reopen, it should pass.
There are quite a few trailing-whitespace changes; you can change the settings (the "gear" icon under
Files changed
) to omit those for easier review.