Java Code Examples for weka.classifiers.evaluation.Evaluation#toSummaryString()

The following examples show how to use weka.classifiers.evaluation.Evaluation#toSummaryString() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: FiveWayMNBTrainer.java    From weka-mnb-sentiment-analysis-template-project with Apache License 2.0 4 votes vote down vote up
public void testModel() throws Exception {
    Evaluation eTest = new Evaluation(dataRaw);
    eTest.evaluateModel(classifier, dataRaw);
    String strSummary = eTest.toSummaryString();
    System.out.println(strSummary);
}
 
Example 2
Source File: ThreeWayMNBTrainer.java    From weka-mnb-sentiment-analysis-template-project with Apache License 2.0 4 votes vote down vote up
public void testModel() throws Exception {
    Evaluation eTest = new Evaluation(dataRaw);
    eTest.evaluateModel(classifier, dataRaw);
    String strSummary = eTest.toSummaryString();
    System.out.println(strSummary);
}