Algorithms_in_C  1.0.0
Set of algorithms implemented in C.
K-Means Clustering Algorithm
Collaboration diagram for K-Means Clustering Algorithm:

Data Structures

struct  observation
 
struct  cluster
 

Typedefs

typedef struct observation observation
 
typedef struct cluster cluster
 

Functions

int calculateNearst (observation *o, cluster clusters[], int k)
 
void calculateCentroid (observation observations[], size_t size, cluster *centroid)
 
clusterkMeans (observation observations[], size_t size, int k)
 

Detailed Description