程序包 weka.clusterers
类 SingleClustererEnhancer
java.lang.Object
weka.clusterers.AbstractClusterer
weka.clusterers.SingleClustererEnhancer
- 所有已实现的接口:
Serializable
,Cloneable
,Clusterer
,CapabilitiesHandler
,OptionHandler
,RevisionHandler
- 直接已知子类:
FilteredClusterer
Meta-clusterer for enhancing a base clusterer.
- 版本:
- $Revision: 1.4 $
- 作者:
- FracPete (fracpete at waikato dot ac dot nz)
- 另请参阅:
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the tip text for this propertyReturns default capabilities of the clusterer.Get the clusterer used as the base clusterer.String[]
Gets the current settings of the clusterer.Returns an enumeration describing the available options.int
Returns the number of clusters.void
setClusterer
(Clusterer value) Set the base clusterer.void
setOptions
(String[] options) Parses a given list of options.从类继承的方法 weka.clusterers.AbstractClusterer
buildClusterer, clusterInstance, distributionForInstance, forName, getRevision, makeCopies, makeCopy
-
构造器详细资料
-
SingleClustererEnhancer
public SingleClustererEnhancer()
-
-
方法详细资料
-
listOptions
Returns an enumeration describing the available options.- 指定者:
listOptions
在接口中OptionHandler
- 返回:
- an enumeration of all the available options.
-
setOptions
Parses a given list of options.- 指定者:
setOptions
在接口中OptionHandler
- 参数:
options
- the list of options as an array of strings- 抛出:
Exception
- if an option is not supported
-
getOptions
Gets the current settings of the clusterer.- 指定者:
getOptions
在接口中OptionHandler
- 返回:
- an array of strings suitable for passing to setOptions
-
clustererTipText
Returns the tip text for this property- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setClusterer
Set the base clusterer.- 参数:
value
- the classifier to use.
-
getClusterer
Get the clusterer used as the base clusterer.- 返回:
- the base clusterer
-
getCapabilities
Returns default capabilities of the clusterer.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 指定者:
getCapabilities
在接口中Clusterer
- 覆盖:
getCapabilities
在类中AbstractClusterer
- 返回:
- the capabilities of this clusterer
- 另请参阅:
-
numberOfClusters
Returns the number of clusters.- 指定者:
numberOfClusters
在接口中Clusterer
- 指定者:
numberOfClusters
在类中AbstractClusterer
- 返回:
- the number of clusters generated for a training dataset.
- 抛出:
Exception
- if number of clusters could not be returned successfully
-