Hi, thank you for your implementation. I try to reproduce your code using my dataset. But whenever I tried to calculate the y_conti_train and y_conti_test. It contains NaN, which leads to error when I want to run this code knn = KNeighborsClassifier() knn.fit(y_conti_train, y_train).
Do you have any ideas ? Thank you in advance!