Last active
April 11, 2020 22:28
-
-
Save wtberry/ae7f68f82be856f2e431914f7d36fb59 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from sklearn.naive_bayes import MultinomialNB | |
# instantiate the model as clf(classifier) and train it | |
clf = MultinomialNB() | |
clf.fit(x_train, y_train) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment