text_plain_output_1.png
from sklearn.feature_extraction.text import TfidfVectorizer

from sklearn.naive_bayes import MultinomialNB

from sklearn.pipeline import Pipeline

model_1 = Pipeline([('tfidf', TfidfVectorizer()), ('clf', MultinomialNB())])
model_1.fit(train_sentences, train_label)

model_1_score = model_1.score(test_sentences, test_label)
model_1_score

model_1_preds = model_1.predict(test_sentences)
model_1_preds