| java.lang.Object weka.classifiers.Classifier weka.classifiers.SingleClassifierEnhancer
All known Subclasses: weka.classifiers.IteratedSingleClassifierEnhancer, weka.classifiers.meta.AttributeSelectedClassifier, weka.classifiers.mi.MIBoost, weka.classifiers.meta.ClassificationViaRegression, weka.classifiers.RandomizableSingleClassifierEnhancer, weka.classifiers.meta.FilteredClassifier, weka.classifiers.mi.MIWrapper, weka.classifiers.meta.OrdinalClassClassifier, weka.classifiers.lazy.LWL, weka.classifiers.meta.RegressionByDiscretization, weka.classifiers.mi.SimpleMI,
SingleClassifierEnhancer | abstract public class SingleClassifierEnhancer extends Classifier (Code) | | Abstract utility class for handling settings common to meta
classifiers that use a single base learner.
author: Eibe Frank (eibe@cs.waikato.ac.nz) version: $Revision: 1.7 $ |
classifierTipText | public String classifierTipText()(Code) | | Returns the tip text for this property
tip text for this property suitable fordisplaying in the explorer/experimenter gui |
defaultClassifierString | protected String defaultClassifierString()(Code) | | String describing default classifier.
|
getCapabilities | public Capabilities getCapabilities()(Code) | | Returns default capabilities of the base classifier.
the capabilities of the base classifier |
getClassifier | public Classifier getClassifier()(Code) | | Get the classifier used as the base learner.
the classifier used as the classifier |
getClassifierSpec | protected String getClassifierSpec()(Code) | | Gets the classifier specification string, which contains the class name of
the classifier and any options to the classifier
the classifier string |
getOptions | public String[] getOptions()(Code) | | Gets the current settings of the Classifier.
an array of strings suitable for passing to setOptions |
listOptions | public Enumeration listOptions()(Code) | | Returns an enumeration describing the available options.
an enumeration of all the available options. |
setClassifier | public void setClassifier(Classifier newClassifier)(Code) | | Set the base learner.
Parameters: newClassifier - the classifier to use. |
setOptions | public void setOptions(String[] options) throws Exception(Code) | | Parses a given list of options. Valid options are:
-W classname
Specify the full class name of the base learner.
Options after -- are passed to the designated classifier.
Parameters: options - the list of options as an array of strings exception: Exception - if an option is not supported |
Fields inherited from weka.classifiers.Classifier | protected boolean m_Debug(Code)(Java Doc)
|
|
|