infomat.algorithms
Class KMeans
java.lang.Object
infomat.algorithms.GroupingAlgorithm
infomat.algorithms.KMeans
- All Implemented Interfaces:
- HasProperties, UniqueIdentifiable
public class KMeans
- extends GroupingAlgorithm
KMeans
- Version:
- 070519
- Author:
- Magnus Rosell
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
kmeansClusteringNumber
public static int kmeansClusteringNumber
KMeans
public KMeans()
KMeans
public KMeans(Properties properties)
cluster
public IObjectGrouping cluster(IMatrix matrix,
IObjectSet ioset)
- Specified by:
cluster
in class GroupingAlgorithm
getInfoString
public java.lang.String getInfoString()
- Specified by:
getInfoString
in class GroupingAlgorithm
getAlgorithmName
public java.lang.String getAlgorithmName()
- Specified by:
getAlgorithmName
in class GroupingAlgorithm
getPropertyVector
public java.util.Vector getPropertyVector()
- Specified by:
getPropertyVector
in class GroupingAlgorithm
getPropertyValue
public java.lang.Object getPropertyValue(java.lang.String name)
setProperty
public void setProperty(java.lang.String name,
java.lang.Object value)
throws PropertyNotFoundException
- Throws:
PropertyNotFoundException
getProperties
public Properties getProperties()
setProperties
public void setProperties(Properties properties)
getUniqueIdentifier
public UniqueIdentifier getUniqueIdentifier()
setUniqueIdentifier
public void setUniqueIdentifier(UniqueIdentifier uniqueIdentifier)