Example usage for weka.classifiers CheckClassifier setOptions

List of usage examples for weka.classifiers CheckClassifier setOptions

Introduction

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

Prototype

@Override
public void setOptions(String[] options) throws Exception 

Source Link

Document

Parses a given list of options.

Usage

From source file:tubes2ai.AIJKFFNN.java

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