Use the aa.naivebayes.textclassifier.predict() function to predict the outcomes for a test set of data by using the model generated by the aa.naivebayes.textclassifier.train() function.
Use the aa.naivebayes.textclassifier.predict() function to predict the outcomes for a test set of data by using the model generated by the aa.naivebayes.textclassifier.train() function.