Attempting to fit a grid estimator, recieving TypeError : '<' not supported between instances of 'str' and 'int'
问题 I've been attempting to fit a Grid Search K Nearest neighbors Classifier, but am receiving the following Error message TypeError : '<' not supported between instances of 'str' and 'int' X_train compact sa area roofM3 h o glaz glazing_area_distribution 0 0.66 759.5 318.5 220.50 3.5 2 0.40 3 1 0.76 661.5 416.5 122.50 7.0 3 0.10 1 2 0.66 759.5 318.5 220.50 3.5 3 0.10 1 3 0.74 686.0 245.0 220.50 3.5 5 0.10 4 4 0.64 784.0 343.0 220.50 3.5 2 0.40 4 ... ... ... ... ... ... ... ... ... 609 0.98 514.5