程序包 weka.classifiers
类 SingleClassifierEnhancer
java.lang.Object
weka.classifiers.Classifier
weka.classifiers.SingleClassifierEnhancer
- 所有已实现的接口:
Serializable
,Cloneable
,CapabilitiesHandler
,OptionHandler
,RevisionHandler
- 直接已知子类:
AttributeSelectedClassifier
,ClassificationViaRegression
,FilteredClassifier
,IteratedSingleClassifierEnhancer
,LWL
,MIBoost
,MIWrapper
,OrdinalClassClassifier
,RandomizableSingleClassifierEnhancer
,RegressionByDiscretization
,SimpleMI
Abstract utility class for handling settings common to meta
classifiers that use a single base learner.
- 版本:
- $Revision: 5536 $
- 作者:
- Eibe Frank (eibe@cs.waikato.ac.nz)
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the tip text for this propertyReturns default capabilities of the base classifier.Get the classifier used as the base learner.String[]
Gets the current settings of the Classifier.Returns an enumeration describing the available options.void
setClassifier
(Classifier newClassifier) Set the base learner.void
setOptions
(String[] options) Parses a given list of options.从类继承的方法 weka.classifiers.Classifier
buildClassifier, classifyInstance, debugTipText, distributionForInstance, forName, getDebug, getRevision, makeCopies, makeCopy, setDebug
-
构造器详细资料
-
SingleClassifierEnhancer
public SingleClassifierEnhancer()
-
-
方法详细资料
-
listOptions
Returns an enumeration describing the available options.- 指定者:
listOptions
在接口中OptionHandler
- 覆盖:
listOptions
在类中Classifier
- 返回:
- an enumeration of all the available options.
-
setOptions
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.
- 指定者:
setOptions
在接口中OptionHandler
- 覆盖:
setOptions
在类中Classifier
- 参数:
options
- the list of options as an array of strings- 抛出:
Exception
- if an option is not supported
-
getOptions
Gets the current settings of the Classifier.- 指定者:
getOptions
在接口中OptionHandler
- 覆盖:
getOptions
在类中Classifier
- 返回:
- an array of strings suitable for passing to setOptions
-
classifierTipText
Returns the tip text for this property- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
getCapabilities
Returns default capabilities of the base classifier.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 覆盖:
getCapabilities
在类中Classifier
- 返回:
- the capabilities of the base classifier
- 另请参阅:
-
setClassifier
Set the base learner.- 参数:
newClassifier
- the classifier to use.
-
getClassifier
Get the classifier used as the base learner.- 返回:
- the classifier used as the classifier
-