Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from sklearn.naive_bayes import GaussianNB
- model = GaussianNB()
- model.fit(X, y)
- predicted = model.predict(test_data_x)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement