edu::tum::cs::clustering::SimpleClusterer Class Reference

Inheritance diagram for edu::tum::cs::clustering::SimpleClusterer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void buildClusterer () throws Exception
void buildClusterer (int numClusters) throws Exception
int classify (double value) throws Exception
double[] getCentroids ()
double[] getStdDevs ()
void setNumClusters (int n) throws Exception
 SimpleClusterer ()
 SimpleClusterer (SimpleKMeans clusterer)

Protected Member Functions

int[] getSortedCentroidIndices ()

Package Attributes

int[] clusterIndex2sortedClusterIndex

Detailed Description

K-Means clusterer

Author:
jain

Definition at line 10 of file SimpleClusterer.java.


Constructor & Destructor Documentation

edu::tum::cs::clustering::SimpleClusterer::SimpleClusterer ( SimpleKMeans  clusterer  )  [inline]

Definition at line 14 of file SimpleClusterer.java.

edu::tum::cs::clustering::SimpleClusterer::SimpleClusterer (  )  [inline]

Definition at line 18 of file SimpleClusterer.java.


Member Function Documentation

void edu::tum::cs::clustering::SimpleClusterer::buildClusterer (  )  throws Exception [inline]

Definition at line 29 of file SimpleClusterer.java.

void edu::tum::cs::clustering::SimpleClusterer::buildClusterer ( int  numClusters  )  throws Exception [inline]

Definition at line 22 of file SimpleClusterer.java.

int edu::tum::cs::clustering::SimpleClusterer::classify ( double  value  )  throws Exception [inline]

classifies the given value

Returns:
*not* the index of the actual cluster but the index into a list of clusters sorted in ascending order of centroid mean
Exceptions:
Exception 

Definition at line 52 of file SimpleClusterer.java.

double [] edu::tum::cs::clustering::SimpleClusterer::getCentroids (  )  [inline]

Definition at line 38 of file SimpleClusterer.java.

int [] edu::tum::cs::clustering::SimpleClusterer::getSortedCentroidIndices (  )  [inline, protected]
Returns:
an array of indices that maps the index of a centroid to its position in the sorted list of centroids

Definition at line 62 of file SimpleClusterer.java.

double [] edu::tum::cs::clustering::SimpleClusterer::getStdDevs (  )  [inline]

Definition at line 42 of file SimpleClusterer.java.

void edu::tum::cs::clustering::SimpleClusterer::setNumClusters ( int  n  )  throws Exception [inline]

Definition at line 34 of file SimpleClusterer.java.


Member Data Documentation

Definition at line 12 of file SimpleClusterer.java.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations


srldb
Author(s): Dominik Jain, Stefan Waldherr, Moritz Tenorth
autogenerated on Fri Jan 11 09:58:39 2013