Advertisement
897bhgy

Untitled

Jul 18th, 2023
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | Source Code | 0 0
  1. from sklearn.naive_bayes import GaussianNB
  2. clf = GaussianNB()
  3. clf.fit(X_train, y_train)
  4. predictions = clf.predict(X_test)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement