implement k-means clustering algorithm using one of your popular programming languages.(C or C++)
Your code will be compiled from command line, make sure it is compiled without any error:
e.g. >javac [login to view URL]
Your program should accept ARFF (Attribute-Relation File Format) data file format as input and it should generate ARFF files for output. You can ignore the comments in the file. Please do not use any library to read .arff files such as matlab, weka, etc. Your program should use only standard libraries of the programming languages.
[login to view URL]~gweiss/data-mining/weka-data/[login to view URL]
More sample files can be accessed:
[login to view URL]~gweiss/data-mining/weka-data/
Your program will be run from command prompt. A sample command would be as following command:
e.g.>java ID00005Kmeans –i [login to view URL] –o [login to view URL] –c classAttributeName –k numberOfClusters
e.g.>java ID00005Kmeans –i [login to view URL] –o id00005 [login to view URL] –c class –k 2
Your program should generate an additional output file which stores the centroids of each cluster along with confusion matrix.
6 freelancers están ofertando el promedio de ₹5972 para este trabajo
I have experience in C++ and machine learning. Parsing the input arguments and ARFF files is also not a problem. The task you are asking for I can implement and write well-commented code for it.