kfda icon indicating copy to clipboard operation
kfda copied to clipboard

problem

Open judelu2021 opened this issue 2 years ago • 1 comments

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.

judelu2021 avatar Mar 14 '23 07:03 judelu2021