iONMF icon indicating copy to clipboard operation
iONMF copied to clipboard

Fix a code typo in the README file

Open sangaline opened this issue 5 years ago • 0 comments

The README currently lists an example of

    import numpy as np
    from ionmf.factorization.onmf import onmf
    X = np.random.rand(10, 10)
    W, H = onmf(X, k=5, alpha=1.0)

but this code doesn't work because k isn't a valid argument to onmf. This PR replaces k with rank which is the actual parameter for the number of dimensions.

sangaline avatar Sep 29 '19 23:09 sangaline