lime
lime copied to clipboard
[Multiclass Thai Text Classification] IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
"IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed"
the current model is BayesSearchCV as a below image

an example of the prediction based as a below image

and codes for the lime as a below image.

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.
I have the same problem, do you solve it?