Question 1: Unsupervised Learning
a. Write down the pseudocode for one clustering algorithm and give an example of where it could be used. (3 marks)
b. Briefly describe how association rules can be used to analyse online purchases. (3marks)
c. Replace the ‘?’s in Table 1 (below) with your 7 digit Student ID number. Calculate the Euclidean Distance between your student ID and datapoints X1, and X2 (4 marks)
StudentID | ? | ? | ? | ? | ? | ? | ? |
X1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
X2 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
Table 1