text_plain_output_1.png
from sklearn.metrics import accuracy_score,confusion_matrix

from sklearn.naive_bayes import MultinomialNB

clf = MultinomialNB()

clf.fit(xtrain, ytrain)

ypred = clf.predict(xtest)

print(f'ACCURACY SCORE: {accuracy_score(ytest, ypred)}')