traintesttrain_labelstest_labels train_test_split(featureslabelstest_size= random_state= initialize our classifier gnb gaussiannb(train our classifier model gnb fit(traintrain_labelsmake predictions preds gnb predict(testprint(predsevaluate accuracy print(accuracy_score(test_labelspreds)now you can continue to work with your code to see if you can make your classifier perform even better you could experiment with different subsets of features or even try completely different algorithms check out scikit-learn' website at scikit-learn org/stable for more machine learning ideas conclusion