ESAT
 All Classes Namespaces Files Functions Variables Enumerator Pages
Classes | Public Member Functions | Static Public Member Functions | List of all members
broad.pda.geneexpression.clustering.Kmeans Class Reference
Collaboration diagram for broad.pda.geneexpression.clustering.Kmeans:
Collaboration graph
[legend]

Classes

class  KmeansInfo
 
class  SilhouetteInfo
 

Public Member Functions

 Kmeans (MatrixWithHeaders mat, MatrixWithHeaders initCentroids, int numOfClusters, String distanceMetric)
 
void runKmeans ()
 
void calcSilhouette ()
 
void calcLightSilhouette ()
 
double getSilhouette ()
 
void writeClusters (BufferedWriter bw) throws IOException
 
void writeClustersCentroids (BufferedWriter bw) throws IOException
 
void writeDistanceFromCentroids (BufferedWriter bw) throws IOException
 
void writeDistanceFromInputCentroids (BufferedWriter bw) throws IOException
 
KmeansInfo getClusterInfo ()
 
void writeDistanceFromInputCentroids (MatrixWithHeaders centroids, BufferedWriter bw) throws IOException
 
void writeSilhouetteRes (int currK, BufferedWriter bwGeneS, BufferedWriter bwAllS, BufferedWriter bwClusterS) throws IOException
 

Static Public Member Functions

static double distance (double[] a, double[] b, String metric)
 

Constructor & Destructor Documentation

broad.pda.geneexpression.clustering.Kmeans.Kmeans ( MatrixWithHeaders  mat,
MatrixWithHeaders  initCentroids,
int  numOfClusters,
String  distanceMetric 
)

Here is the call graph for this function:

Member Function Documentation

void broad.pda.geneexpression.clustering.Kmeans.calcLightSilhouette ( )
void broad.pda.geneexpression.clustering.Kmeans.calcSilhouette ( )
static double broad.pda.geneexpression.clustering.Kmeans.distance ( double[]  a,
double[]  b,
String  metric 
)
static

Here is the call graph for this function:

KmeansInfo broad.pda.geneexpression.clustering.Kmeans.getClusterInfo ( )
double broad.pda.geneexpression.clustering.Kmeans.getSilhouette ( )
void broad.pda.geneexpression.clustering.Kmeans.runKmeans ( )

Here is the call graph for this function:

void broad.pda.geneexpression.clustering.Kmeans.writeClusters ( BufferedWriter  bw) throws IOException
void broad.pda.geneexpression.clustering.Kmeans.writeClustersCentroids ( BufferedWriter  bw) throws IOException
void broad.pda.geneexpression.clustering.Kmeans.writeDistanceFromCentroids ( BufferedWriter  bw) throws IOException
void broad.pda.geneexpression.clustering.Kmeans.writeDistanceFromInputCentroids ( BufferedWriter  bw) throws IOException
void broad.pda.geneexpression.clustering.Kmeans.writeDistanceFromInputCentroids ( MatrixWithHeaders  centroids,
BufferedWriter  bw 
) throws IOException

Here is the call graph for this function:

void broad.pda.geneexpression.clustering.Kmeans.writeSilhouetteRes ( int  currK,
BufferedWriter  bwGeneS,
BufferedWriter  bwAllS,
BufferedWriter  bwClusterS 
) throws IOException

Here is the call graph for this function:


The documentation for this class was generated from the following file: