Please provide step by step solution. working needed.
Question 23: Cluster Analysis (20 marks) Explain the difference between agglomerative clustering and divisive clustering. Describe agglomerative clustering algorithms using pseudo cose a) 4 marks b) The following are a set of objects and their attributes: A4 4 A2 Obiect 15 Obiect 2 4 Object 3 1 Obiect 40 Obiect 5 1 4 0 4 0 (i)Create a distance matrix by calculating the distances between the objects. For distance calculations, use cosine formula.- 5 marks (ii)Apply the agglomerative algorithm with the Average-Link cluster distance. Show the updated distance matrix at each iteration. .- 8 marks (iii) .Provide a dendrogram depicting the final results. .- 3 marks Show transcribed image text