<jupyter_start><jupyter_text>Le nombre de clusters estimé est 3<jupyter_code># Plot result
import matplotlib.pyplot as plt
from itertools import cycle

plt.figure(1)
plt.clf()

colors = cycle('bgrcmykbgrcmykbgrcmykbgrcmyk')
for k, col in zip(range(n_clusters_), colors):
    my_members = labels == k
    cluster_center = cluster_centers[k]
    plt.plot(X[my_members, 0], X[my_members, 1], col + '.')
    plt.plot(cluster_center[0], cluster_center[1], 'o', markerfacecolor=col,
             markeredgecolor='k', markersize=14)
plt.title('Estimated number of clusters: %d' % n_clusters_)
plt.show()<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.12939297124600638, 'fraction_numerical': 0.012779552715654952, 'mean_word_length': 5.53125, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '534350', 'license': 'MIT', 'n_tokens_mistral': 242, 'n_tokens_neox': 235, 'n_words': 50, 'path': 'Mean_shift.ipynb', 'repo_name': 'QYTZER/ML-BIOMSCS', 'size': '626'}