lime icon indicating copy to clipboard operation
lime copied to clipboard

[Multiclass Thai Text Classification] IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed

Open setthawut8 opened this issue 3 years ago • 1 comments

"IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed"

the current model is BayesSearchCV as a below image Screenshot 2022-07-27 152031

an example of the prediction based as a below image Screenshot 2022-07-27 150626

and codes for the lime as a below image. Screenshot 2022-07-27 150927

My question is how to turn above prediction (or output) to be 2D output as you did or can I have your addressed codes.

Thank you for your helps.

setthawut8 avatar Jul 27 '22 08:07 setthawut8

I have the same problem, do you solve it?

20032303092 avatar Jun 15 '23 10:06 20032303092