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)