Due: July 28, Thursday, 14:30 pm.
Language: Java
Submission:
We will implement MVC design pattern in this assignment. You will be given a code consisting of a Controller, a Model and a View. And sample input files to be used.
IMPORTANT: The Model is different from what we have seen in the previous inClass Assignment (Refactoring Challenge).
Run the code using the sample input files provided to you. Try different samples and get familiar with the GUI. Then, go over the code. You’re already familiar with the Model. You should pay attention to View and Controller. You can modify them in the way that you like. Please remember what we have discussed in the class and the examples for MVC pattern. The code provided to you is incomplete and also should be modified.
Below, sample runs are provided.
First, you enter the number of clusters and hit Set number of clusters.
Then you hit Choose Input Data File. And select an input file.
Last, hit Go K-Means!.
Clusters have different colors. Points are represented with circles and centroids with squares. You can modify the number of clusters and hit Set number of clusters and run KMeans again. You can also change the input file and run the algorithm again.
MVC (30)
Penalties: