Description
Prepare the dataset for analysis. In this analysis, we use “pclass”, “fare”, “age”, “sex”, “embarked” as input variables. Please perform necessary cleaning and transformation. Implement the 2 clustering algorithms – K-means and Hierarchical Clustering, and add the cluster labels to the dataset as a new column. Please set # of clusters = 3 for both algorithms.For K-mean algorithm, make an Elbow plot using K from 1 to 20 and calculate the WCSS. Please show the plot and answer the question “which K should we choose”. You can modify the code I provided in the class – no need to write your own from scratch.
Don't use plagiarized sources. Get Your Custom Assignment on
I need help creating a cluster using a dataset?
From as Little as $13/Page