Preview:
# Vectorize your test data
X_test_vec_lbl = tfidf.transform(test_lbl["content"])
# Size of X_test_vec_lbl and y_test_lbl
print(X_test_vec_lbl.shape)
print(y_test_lbl.shape)
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