//*********************************************************************** // k_means.cpp // // this is an implementationof the K-meanss classification algorithm. // it accepts one attribute and measures the // // INPUTS: (from disk file) // control.dat - control file - space delimited // k value & datafile name // // datafile.in - classification set // attribute count - don't include the classification in // the count // data - space delimited // // OUTPUTS: (to disk file) // datafile.out - space delimited // test instance // k-nearest classification neighbor instances // //*********************************************************************** // WARNING: none // //*********************************************************************** // IMPLEMENTATION NOTE: all files are in the executable working directory // //*********************************************************************** // created by: j. aleshunas // created on: 9 nov 04 // modified on: 12 nov 04 // // © 2004 John Aleshunas // //*********************************************************************** #include "k_means.h" void main(void) { // local variables Cluster_set clCluster_set_instance; // start the clustering program clCluster_set_instance.Execute_clustering( ); return; } // k_means