You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to use METADES to predict the testing data, however it shows the index error.
The shape of the data is
X_train.shape = (5040, 192)
X_test.shape = (1260, 192)
Below is the implementation:
Sorry for the late response. I only came back to the library development & maintenance this week.
Just by the code you provide it is hard to identify the reason for such error which I never seen before in any of the examples and applications of this method. I would need to have more info on you data and models used. Can you provide me a full example? Also, did you try to run the other examples from the library and also try to run you code with a different DS model to see if they work?
I try to use
METADES
to predict the testing data, however it shows the index error.The shape of the data is
X_train.shape = (5040, 192)
X_test.shape = (1260, 192)
Below is the implementation:
predict()
,predict_proba()
,score()
works on training data but not testing data too.Here is the error message:
May I know what is the problem?
Edit 1: Change code snippet to python code snippet
The text was updated successfully, but these errors were encountered: