CheckSource (original) (raw)


public class CheckSource
extends java.lang.Object
implements OptionHandler, RevisionHandler
A simple class for checking the source generated from Classifiers implementing the weka.classifiers.Sourcable interface. It takes a classifier, the classname of the generated source and the dataset the source was generated with as parameters and tests the output of the built classifier against the output of the generated source. Use option '-h' to display all available commandline options.
Valid options are:
-W
The classifier (incl. options) that was used to generate
the source code.
-S
The classname of the generated source code.
-t
The training set with which the source code was generated.
-c
The class index of the training set. 'first' and 'last' are
valid indices.
(default: last)
Options after -- are passed to the designated classifier (specified with -W).
Version: Revision:1.4Revision: 1.4 Revision:1.4
Author:
fracpete (fracpete at waikato dot ac dot nz)
See Also:
Sourcable