|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
A ClusteringModel object holds the
metadata of the result of a trained clustering
model. This information is sufficient to describe
the data clusters uncovered during model building
as well as to assign new data points to clusters.
MiningObject,
Model| Method Summary | |
Cluster |
getCluster(int identifier)
Returns the Cluster object in the model with the specified identifier. |
java.util.Collection |
getClusters()
Returns the collection of Cluster objects in the clustering model. |
java.util.Collection |
getLeafClusters()
Returns the collection of leaf Cluster objects in the clustering model. |
int |
getNumberOfClusters()
Returns the number of clusters in the model. |
int |
getNumberOfLevels()
Returns the number of levels in the ClusteringModel. |
java.util.Collection |
getRootClusters()
Returns a collection of the root clusters of the ClusteringModel. |
java.util.Collection |
getRules()
Returns a collection of the rules from the clustering model. |
java.lang.Double |
getSimilarity(int clusterIdentifier1,
int clusterIdentifier2)
Returns the similarity of two clusters represented as a value between 0 and 1. |
boolean |
hasProperty(ClusteringModelProperty property)
Returns true if the specified property is supported by the clustering model. |
| Methods inherited from interface javax.datamining.base.Model |
getApplicationName, getAttributeStatistics, getBuildDuration, getBuildSettings, getEffectiveBuildSettings, getMajorVersion, getMiningAlgorithm, getMiningFunction, getMinorVersion, getModelDetail, getProviderName, getProviderVersion, getSignature, getTaskIdentifier, getUniqueIdentifier, getVersion |
| Methods inherited from interface javax.datamining.MiningObject |
getCreationDate, getCreatorInfo, getDescription, getName, getObjectIdentifier, getObjectType, setDescription |
| Method Detail |
public Cluster getCluster(int identifier)
throws JDMException
Cluster object in the model with the specified identifier. Cluster identifier is a positive integer.
identifier - The identifier of the cluster.
JDMException
public java.util.Collection getClusters()
throws JDMException
Cluster objects in the clustering model.
JDMException
public java.util.Collection getLeafClusters()
throws JDMException
Cluster objects in the clustering model. There must be no fewer leaf clusters than root clusters. The total number of clusters must be greater than or equal to the number of leaf clusters.
JDMExceptionpublic int getNumberOfClusters()
public int getNumberOfLevels()
public java.util.Collection getRootClusters()
throws JDMException
ClusteringModel. If not hierarchical, then must be equal to the result from getClusters.
JDMException
public java.util.Collection getRules()
throws JDMException
JDMException
public java.lang.Double getSimilarity(int clusterIdentifier1,
int clusterIdentifier2)
throws JDMException
Clusters can be compared within the same model.
clusterIdentifier1 - clusterIdentifier2 -
JDMExceptionpublic boolean hasProperty(ClusteringModelProperty property)
property -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||