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

problem #2

Open
judelu2021 opened this issue Mar 14, 2023 · 0 comments
Open

problem #2

judelu2021 opened this issue Mar 14, 2023 · 0 comments

Comments

@judelu2021
Copy link

cls = Kfda(kernel='rbf', n_components=3)
clf = cls.fit_transform(X_train, y_train)
TypeError: np.matrix is not supported. Please convert to a numpy array with np.asarray.

Although I have converted the data to np.array, he still reminded me that I do not support np.matrix, Please convert to a numpy array with np.array.
These codes used to work normally, but now they keep reporting this error. I look forward to your help to solve this problem. Thank you.

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

1 participant