|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.ml.kmeans.Centroid
public class Centroid
The centers of each cluster.
| Constructor Summary | |
|---|---|
Centroid(double[] theCenters)
Construct the centroid. |
|
| Method Summary | |
|---|---|
void |
calcCentroid()
Calculate the centroid. |
double[] |
getCenters()
|
KMeansCluster |
getCluster()
|
void |
setCluster(KMeansCluster c)
Set the cluster. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Centroid(double[] theCenters)
theCenters - The centers.| Method Detail |
|---|
public final void calcCentroid()
public final double[] getCenters()
public final KMeansCluster getCluster()
public final void setCluster(KMeansCluster c)
c - The cluster.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||