Example usage for weka.classifiers CheckClassifier doTests

List of usage examples for weka.classifiers CheckClassifier doTests

Introduction

In this page you can find the example usage for weka.classifiers CheckClassifier doTests.

Prototype

@Override
public void doTests() 

Source Link

Document

Begin the tests, reporting results to System.out

Usage

From source file:tubes2ai.AIJKFFNN.java

public static void main(String[] args) {
    CheckClassifier checker = new CheckClassifier();
    try {//from w  w  w  .j  a v a2s.  co m
        checker.setOptions(Utils.splitOptions("-W AIJKFFNN"));
    } catch (Exception e) {
        throw new RuntimeException(e);
    }

    checker.doTests();

    CheckOptionHandler optionChecker = new CheckOptionHandler();
    try {
        optionChecker.setOptions(Utils.splitOptions("-W AIJKFFNN"));
    } catch (Exception e) {
        throw new RuntimeException(e);
    }

    optionChecker.doTests();
}