When I was using adaboost classifier for image classification, I am getting dimension error in shape of x_train while training the classifier. x_train is of shape (1000,25,25,3), where 1000 is number of training images 25*25 is the shape of an image. Any specific reason, why I am getting this error?
dimension error
x_train
(1000,25,25,3)
1000
25*25
Here I have attached photo of exact error which I was getting:
2.1m questions
2.1m answers
60 comments
57.0k users