My problem:
I have a dataset which is a large JSON file. I read it and store it in the trainList variable.
trainList
Next, I pre-process
I have tried some of the answers and found them not working.
This works for me:
from sklearn.metrics import classification_report print(classification_report(y_test, predicted))