text_plain_output_1.png
from sklearn.naive_bayes import GaussianNB

from sklearn.naive_bayes import GaussianNB
gnb = GaussianNB()
gnb.fit(x_train, y_train)
gnb_predict = gnb.predict(x_test)
gnb_predict_prob = gnb.predict_proba(x_test)

print(gnb_predict)
print(gnb_predict_prob)