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
TypeMethod
 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:
Vector - 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:
Category - The entry value and display namenew_entries
Throws:
InvalidArgumentException - is thrown
- when the attr is null