net.sf.jdmf.data.output.clustering
Class Cluster
java.lang.Object
net.sf.jdmf.data.output.clustering.Cluster
public class Cluster
- extends java.lang.Object
Defines a cluster (currently a group of points relatively close to the
centroid; generally - a group of instances being similar to each other in
a way, but different from other instances; this cluster definition has also
a name and information about the percentage of all points falling into
this cluster).
- Author:
- quorthon
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ATTRIBUTE_NAME
public static final java.lang.String ATTRIBUTE_NAME
- See Also:
- Constant Field Values
Cluster
public Cluster()
addPoint
public void addPoint(java.util.Vector<java.lang.Double> point)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getPoints
public java.util.List<java.util.Vector<java.lang.Double>> getPoints()
setPoints
public void setPoints(java.util.List<java.util.Vector<java.lang.Double>> points)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getCentroid
public java.util.Vector<java.lang.Double> getCentroid()
setCentroid
public void setCentroid(java.util.Vector<java.lang.Double> centroid)
getPointPercentage
public java.lang.Double getPointPercentage()
setPointPercentage
public void setPointPercentage(java.lang.Double pointPercentage)