from sklearn.naive_bayes import GaussianNB
clf = GaussianNB() ### import the sklearn module for GaussianNB
clf.fit(features_train, labels_train) ### create classifier
pred = clf.predict(features_test) ### fit the classifier on the training features and labels
accuracy = clf.score(features_test, labels_test)