-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels