Clustering, Data Analysis.
kmedoids.fit_predict(X_num) silhouette_avg = silhouette_score(X_num, cluster_labels) print("Silhoutte Score (K-Means) -" + str(n_clusters) +" :"+ str(silhouette_avg)) data0["Clustering_Kmedoids_Exp0_" + str(n_clusters)] = cluster_labels Output: Analisis Hasil sns.scatterplot(data=data0, x='Usia',