Example usage for weka.core CheckOptionHandler doTests

List of usage examples for weka.core CheckOptionHandler doTests

Introduction

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

Prototype

@Override
public void doTests() 

Source Link

Document

Runs some diagnostic tests on an optionhandler object.

Usage

From source file:tubes2ai.AIJKFFNN.java

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