程序包 weka.clusterers
类 CLOPE
java.lang.Object
weka.clusterers.AbstractClusterer
weka.clusterers.CLOPE
- 所有已实现的接口:
Serializable
,Cloneable
,Clusterer
,CapabilitiesHandler
,OptionHandler
,RevisionHandler
,TechnicalInformationHandler
Yiling Yang, Xudong Guan, Jinyuan You: CLOPE: a fast and effective clustering algorithm for transactional data. In: Proceedings of the eighth ACM SIGKDD international conference on Knowledge discovery and data mining, 682-687, 2002.
BibTeX:
@inproceedings{Yang2002, author = {Yiling Yang and Xudong Guan and Jinyuan You}, booktitle = {Proceedings of the eighth ACM SIGKDD international conference on Knowledge discovery and data mining}, pages = {682-687}, publisher = {ACM New York, NY, USA}, title = {CLOPE: a fast and effective clustering algorithm for transactional data}, year = {2002} }Valid options are:
-R <num> Repulsion (default 2.6)
- 版本:
- $Revision: 5538 $
- 作者:
- Alexander Smirnov (austellus@gmail.com)
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明int
Add instance to best clustervoid
buildClusterer
(Instances data) Generate Clustering via CLOPEint
clusterInstance
(Instance instance) Classifies a given instance.Returns default capabilities of the clusterer.String[]
Gets the current settings of CLOPEdouble
gets the repulsionReturns the revision string.Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.Returns a string describing this DataMining-AlgorithmReturns an enumeration of all the available options..static void
Main method for testing this class.int
Move instance to best clusterint
Returns the number of clusters.Returns the tip text for this propertyvoid
setOptions
(String[] options) Parses a given list of options.void
setRepulsion
(double value) set the repulsiontoString()
return a string describing this clusterer从类继承的方法 weka.clusterers.AbstractClusterer
distributionForInstance, forName, makeCopies, makeCopy
-
字段详细资料
-
clusters
Array of clusters
-
-
构造器详细资料
-
CLOPE
public CLOPE()the default constructor
-
-
方法详细资料
-
numberOfClusters
public int numberOfClusters()从类复制的说明:AbstractClusterer
Returns the number of clusters.- 指定者:
numberOfClusters
在接口中Clusterer
- 指定者:
numberOfClusters
在类中AbstractClusterer
- 返回:
- the number of clusters generated for a training dataset.
-
listOptions
从接口复制的说明:OptionHandler
Returns an enumeration of all the available options..- 指定者:
listOptions
在接口中OptionHandler
- 返回:
- an enumeration of all available options.
-
setOptions
Parses a given list of options. Valid options are:-R <num> Repulsion (default 2.6)
- 指定者:
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 CLOPE- 指定者:
getOptions
在接口中OptionHandler
- 返回:
- an array of strings suitable for passing to setOptions()
-
repulsionTipText
Returns the tip text for this property- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setRepulsion
public void setRepulsion(double value) set the repulsion- 参数:
value
- the repulsion- 抛出:
Exception
- if number of clusters is negative
-
getRepulsion
public double getRepulsion()gets the repulsion- 返回:
- the repulsion
-
getCapabilities
Returns default capabilities of the clusterer.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 指定者:
getCapabilities
在接口中Clusterer
- 覆盖:
getCapabilities
在类中AbstractClusterer
- 返回:
- the capabilities of this clusterer
- 另请参阅:
-
buildClusterer
Generate Clustering via CLOPE- 指定者:
buildClusterer
在接口中Clusterer
- 指定者:
buildClusterer
在类中AbstractClusterer
- 参数:
instances
- The instances that need to be clustered- 抛出:
Exception
- If clustering was not successful
-
AddInstanceToBestCluster
Add instance to best cluster -
MoveInstanceToBestCluster
Move instance to best cluster -
clusterInstance
Classifies a given instance.- 指定者:
clusterInstance
在接口中Clusterer
- 覆盖:
clusterInstance
在类中AbstractClusterer
- 参数:
instance
- The instance to be assigned to a cluster- 返回:
- int The number of the assigned cluster as an integer
- 抛出:
Exception
- If instance could not be clustered successfully
-
toString
return a string describing this clusterer -
globalInfo
Returns a string describing this DataMining-Algorithm- 返回:
- String Information for the gui-explorer
-
getTechnicalInformation
Returns an instance of a TechnicalInformation object, containing detailed information about the technical background of this class, e.g., paper reference or book this class is based on.- 指定者:
getTechnicalInformation
在接口中TechnicalInformationHandler
- 返回:
- the technical information about this class
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中AbstractClusterer
- 返回:
- the revision
-
main
Main method for testing this class.- 参数:
argv
- should contain the following arguments:-t training file [-R repulsion]
-