1) The following are the marks obtained by students : {10,4,2,12,,3,20,30,11,25,31} Cluster the students into 3 partitions/clusters.
2) The iris dataset contains information about Iris setosa and versicolor. What is the Euclidean distance between these two objects?
| Species | Sepal length | Sepal width | Petal length | Petal width |
| Iris setosa | 4.9 | 3.0 | 1.4 | 0.2 |
| Iris versicolor | 5.6 | 2.5 | 3.9 | 1.1 |
3) The company has collected spending data from a group of customers during a specific month. The spending data includes the following values: {2,4,10,12,3,20,11,25}. The task is to apply the K-means clustering algorithm to divide these customers into two distinct clusters based on their spending patterns
4) A country is doing an analysis and has found out following values between the cities. Use agglomerative algorithm using the following data and plot a dendogram using single link approach. The following table contains sample data items indicating the distance between the elements.
| Item | E | A | C | B | D |
| E | 0 | 1 | 2 | 2 | 3 |
| A | 1 | 0 | 2 | 5 | 3 |
| C | 2 | 2 | 0 | 1 | 6 |
| B | 2 | 5 | 1 | 0 | 3 |
| D | 3 | 3 | 6 | 3 | 0 |
5) The objects have coordinates as X(3,4) and Y(4,7). Calculate the Manhattan distance between these objects.
6) Consider 4 objects with two attributes (X and Y). Apply K-means clustering algorithm to form 2 clusters.
| Object | X | Y |
| A | 1 | 1 |
| B | 2 | 1 |
| C | 4 | 3 |
| D | 5 | 4 |