I am solving a numeric Multi label classification problem while fitting the model.
I had checked my columns if there is any problem i did not found any problem with features or class labels
enter code here
X_train, X_test, y_train, y_test = train_test_split(data, train_label, test_size=0.33, random_state=42) classifier = MLkNN(k=10) x_train = lil_matrix(X_train).toarray() y_train = lil_matrix(y_train).toarray() x_test = lil_matrix(X_test).toarray()
classifier.fit(x_train, y_train) IndexError: column index (383) out of bounds
I want to know,
what is this error means? How to handle this error?.