I wonder what shape of custom weight should be. Below, there is my code using custom weights in KNN. But I encountered this error. I don\'t know why the error is occuring.