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

TypeError: transpose() takes exactly 1 argument (2 given) #7

Closed
guhasayantan opened this issue Apr 26, 2016 · 0 comments
Closed

TypeError: transpose() takes exactly 1 argument (2 given) #7

guhasayantan opened this issue Apr 26, 2016 · 0 comments

Comments

@guhasayantan
Copy link

Hello:

I am facing the below error while using the unsupervised feature selection using Laplacian Score.

Traceback (most recent call last):
File "testfs.py", line 13, in
score = lap_score.lap_score(frame, W=W)
File "/usr/local/lib/python2.7/dist-packages/skfeature/function/similarity_based/lap_score.py", line 42, in lap_score
Xt = np.transpose(X)
File "/usr/lib/python2.7/dist-packages/numpy/core/fromnumeric.py", line 534, in transpose
return transpose(axes)
TypeError: transpose() takes exactly 1 argument (2 given)

Thanks
Sayantan Guha

@jundongl jundongl closed this as completed Jan 6, 2017
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