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

Change "Usage" example and provide some more? #4

Open
Nestak2 opened this issue Apr 30, 2020 · 1 comment
Open

Change "Usage" example and provide some more? #4

Nestak2 opened this issue Apr 30, 2020 · 1 comment

Comments

@Nestak2
Copy link

Nestak2 commented Apr 30, 2020

Thanks for publishing this package! I installed the package and tried to reproduce the given syntax in usage:
S = irlb(A, n, [tol=0.0001 [, maxit=50]])

but it results in an error message:

SyntaxError: invalid syntax

Afterwards, I figured out how to make it work, but I think it would be best to change the code in the Usage section to

import irlb

S = irlb.irlb(cov, n=10, tol=0.0001, maxit=50)

so that a new user doesn't need to fix the syntax :)

Furthermore
1.) Can you provide one or two examples of decomposition in the github repo?
2.) I see that the R version of the package has also some functionalities like ssvd(), prcomp_irlba(), svdr() a.o. Are these also available for the python version?
Thanks again

@Nestak2 Nestak2 changed the title "Usage" example is not working? Change "Usage" example and provide some more? Apr 30, 2020
@bwlewis
Copy link
Owner

bwlewis commented May 6, 2020 via email

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

No branches or pull requests

2 participants