Java Reference
In-Depth Information
Table 9-20
getSimilarity(int clusterIdentifier1,
int clusterIdentifier2): Double
Returns the similarity of two clusters represented as a value
between 0 and 1.
property): boolean
Returns true if the specified property is supported by the
clustering model. ClusteringModelProperty is an enumera-
tion of properties, such as centroid, hierarchy, cluster rules,
attribute statistics etc.
getClusterId(): int
Returns the cluster identifier.
getCaseCount(): long
Returns the number of cases from the build data assigned to
the cluster during the model build, inclusive of children
getName(): String
Returns the name of the cluster designated by the clustering
getStatistics(): AttributeStatisticsSet
Returns the AttributeStatisticsSet object that characterizes
the cases assigned to the cluster.
getRule(): Rule
Returns the cluster rule.
(java.lang.String numericalAttribute-
Name): Double
Returns the center point of the specified numerical attribute
for the cluster.
(java.lang.String categoricalAttribute-
Name, java.lang.Object category):
Returns the center point of the specified categorical attribute
for a specific category value for the cluster.
getSupport(): double
Returns the support defined as a percentage of cases assigned
to this cluster relative to the total number of cases in the
build data.
getLevel(): int
Returns the level in the clustering hierarchy associated with
the Cluster object.
getAncestors(): Cluster[]
Returns the ancestors of the cluster.
getChildren(): Cluster[]
Returns an array of Cluster objects that are children of the
cluster node.
getParent(): Cluster
Returns the parent of the cluster.
getSplitPredicate(): Predicate
Returns a Predicate object that stores information on how
cases are assigned to the cluster node's children.
Search WWH ::

Custom Search