Skip to content
Snippets Groups Projects
Commit cdfa6a89 authored by thibault.capt's avatar thibault.capt
Browse files

update

parent 1976fb11
Branches
Tags
No related merge requests found
......@@ -67,9 +67,6 @@ if __name__ == '__main__':
cluster_classifications[cluster_index] = cluster_counts
cluster_majority_class[cluster_index] = cluster_counts.most_common(1)[0][0]
# Afficher la variance totale
print(f'Variance totale : {total_variance}')
# Afficher le taux de classification par cluster et la classe majoritaire par cluster
for cluster_index in range(k):
print(f'Cluster {cluster_index + 1} - Taux de classification : {cluster_classifications[cluster_index]}')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment