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
or
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.
Hello
I have one implementation in python which I use in other programs from time to time, I can give you that one.
Or I can write a new one for you in c++ or any other. Let me know and it will be done in few hours.
Feel free to send me a message if you have any inquiry
Thanks Man
₹5.555 INR en 1 día
5,0 (19 comentarios)
4,6
4,6
6 freelancers están ofertando un promedio de ₹5.972 INR por 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.
I have pretty much experience working with algorithms and data structures under C/C++, all of them implemented with C++ standard using g++. If you give me enough information, I can give you the correct implementation for your algorithm. Please contact me and give me more details so we can get to work together.
I possess a Masters in Computer Science from one of the top universities in the world with a specialization in Machine Learning. I have previously coded up k-means algorithm multiple times without using any external libraries and your input/output file requirements along with the command line usage are pretty straightforward to implement.