Using LIME for NLP
At the beginning of the chapter, we set aside training and test datasets with the cleaned-up contents of all the "tastes" columns for NLP. We can take a peek at the test dataset for NLP, as follows:
print(X_test_nlp)
This outputs the following:
1194 roasty nutty rich 77 roasty oddly sweet marshmallow 121 balanced cherry choco 411 sweet floral yogurt 1259 creamy burnt nuts woody ... ...