public class CheckClassifier extends CheckScheme
java weka.classifiers.CheckClassifier -W classifier_name
 classifier_options 
 
 
 CheckClassifier reports on the following:
 weka.classifiers.AbstractClassifierTest uses this class to
 test all the classifiers. Any changes here, have to be checked in that
 abstract test class, too.
 
 
  Valid options are:
 
 
 -D Turn on debugging output.
-S Silent mode - prints nothing to stdout.
-N <num> The number of instances in the datasets (default 20).
-nominal <num> The number of nominal attributes (default 2).
-nominal-values <num> The number of values for nominal attributes (default 1).
-numeric <num> The number of numeric attributes (default 1).
-string <num> The number of string attributes (default 1).
-date <num> The number of date attributes (default 1).
-relational <num> The number of relational attributes (default 1).
-num-instances-relational <num> The number of instances in relational/bag attributes (default 10).
-words <comma-separated-list> The words to use in string attributes.
-word-separators <chars> The word separators to use in string attributes.
-W Full name of the classifier analysed. eg: weka.classifiers.bayes.NaiveBayes (default weka.classifiers.rules.ZeroR)
Options specific to classifier weka.classifiers.rules.ZeroR:
-D If set, classifier is run in debug mode and may output additional info to the consoleOptions after -- are passed to the designated classifier.
TestInstancesCheckScheme.PostProcessor| Constructor and Description | 
|---|
CheckClassifier()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
doTests()
Begin the tests, reporting results to System.out 
 | 
Classifier | 
getClassifier()
Get the classifier used as the classifier 
 | 
java.lang.String[] | 
getOptions()
Gets the current settings of the CheckClassifier. 
 | 
java.lang.String | 
getRevision()
Returns the revision string. 
 | 
java.util.Enumeration<Option> | 
listOptions()
Returns an enumeration describing the available options. 
 | 
static void | 
main(java.lang.String[] args)
Test method for this class 
 | 
void | 
setClassifier(Classifier newClassifier)
Set the classifier for boosting. 
 | 
void | 
setOptions(java.lang.String[] options)
Parses a given list of options. 
 | 
attributeTypeToString, getNumDate, getNumInstances, getNumInstancesRelational, getNumNominal, getNumNumeric, getNumRelational, getNumString, getPostProcessor, getWords, getWordSeparators, hasClasspathProblems, setNumDate, setNumInstances, setNumInstancesRelational, setNumNominal, setNumNumeric, setNumRelational, setNumString, setPostProcessor, setWords, setWordSeparatorsequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmakeCopypublic java.util.Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class CheckSchemepublic void setOptions(java.lang.String[] options)
                throws java.lang.Exception
-D Turn on debugging output.
-S Silent mode - prints nothing to stdout.
-N <num> The number of instances in the datasets (default 20).
-nominal <num> The number of nominal attributes (default 2).
-nominal-values <num> The number of values for nominal attributes (default 1).
-numeric <num> The number of numeric attributes (default 1).
-string <num> The number of string attributes (default 1).
-date <num> The number of date attributes (default 1).
-relational <num> The number of relational attributes (default 1).
-num-instances-relational <num> The number of instances in relational/bag attributes (default 10).
-words <comma-separated-list> The words to use in string attributes.
-word-separators <chars> The word separators to use in string attributes.
-W Full name of the classifier analysed. eg: weka.classifiers.bayes.NaiveBayes (default weka.classifiers.rules.ZeroR)
Options specific to classifier weka.classifiers.rules.ZeroR:
-D If set, classifier is run in debug mode and may output additional info to the console
setOptions in interface OptionHandlersetOptions in class CheckSchemeoptions - the list of options as an array of stringsjava.lang.Exception - if an option is not supportedpublic java.lang.String[] getOptions()
getOptions in interface OptionHandlergetOptions in class CheckSchemepublic void doTests()
doTests in class CheckSchemepublic void setClassifier(Classifier newClassifier)
newClassifier - the Classifier to use.public Classifier getClassifier()
public java.lang.String getRevision()
public static void main(java.lang.String[] args)
args - the commandline parameters