Example usage for weka.core CheckOptionHandler CheckOptionHandler

List of usage examples for weka.core CheckOptionHandler CheckOptionHandler

Introduction

In this page you can find the example usage for weka.core CheckOptionHandler CheckOptionHandler.

Prototype

CheckOptionHandler

Source Link

Usage

From source file:tubes2ai.AIJKFFNN.java

public static void main(String[] args) {
    CheckClassifier checker = new CheckClassifier();
    try {//from  w  ww . j  a  v  a2 s .c om
        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();
}