Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

oracle.dmt.odm.model
Class ClusterCentroid

java.lang.Object
  |
  +--oracle.dmt.odm.MiningObject
        |
        +--oracle.dmt.odm.model.ClusterCentroid
All Implemented Interfaces:
java.io.Serializable

public class ClusterCentroid
extends MiningObject

An instance of ClusterCentroid holds metadata about the centroid of a cluster. Cluster centroids usually encode information such as the mean or the mode of the records in the training dataset assigned to a cluster.

Since:
9.2.0
See Also:
Serialized Form

Method Summary
 java.util.Vector getEntries()
          Returns a Vector of ClusterCentroidEntry objects.
 Category getEntryValue(MiningAttribute attr)
          Returns the centroid value and display name for a given MiningAttribute.

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

getEntries

public java.util.Vector getEntries()
Returns a Vector of ClusterCentroidEntry objects. The collection of ClusterCentroidEntry objects has one entry for each attribute used in the clustering model.
Returns:
The collection of ClusterCentroidEntry objects

getEntryValue

public Category getEntryValue(MiningAttribute attr)
                                      throws InvalidArgumentException
Returns the centroid value and display name for a given MiningAttribute.
Parameters:
attr - The desired mining attribute
Returns:
The entry value and display namenew_entries
Throws:
InvalidArgumentException - when the attr is null.

Copyright © 2003 Oracle Corporation. All Rights Reserved.