Besides, the code for computing Grad-CAM-Text was adapted from keras-vis 6 , whereas we used scikit-learn (Pedregosa et al., 2011) for decision tree construction.
for the n-gram random baseline (and other n-gram based explanation methods in this paper), n is one of the CNN filter sizes [2,3,4].