Preview:
# Vectorize your test data and use the classifier to predict the labels
X_test_vec = tfidf.transform(test_v4["content"])
mnb_y_pred = mnb.predict(X_test_vec)
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter