JuliaStats / NMF.jl

A Julia package for non-negative matrix factorization
Other
91 stars 34 forks source link

Improve initialization methods #54

Closed ghost closed 3 years ago

ghost commented 3 years ago

This PR resolves #3, resolves #4, and resolves #32.

Note: I removed the following test because the squared norms of W's columns are not guaranteed to be one in the original paper.

@test vec(sum(abs2, W, dims=1)) ≈ ones(5) atol=1.0e-8