<jupyter_start><jupyter_text>Scatter permet de ne pas relier les points par des lignes<jupyter_code>plot = plt.scatter(range(100), play(Strategie.CHANGER, 100))
plot = plt.bar([1,2],[sum(play(Strategie.CHANGER, 10000)), 
               sum(play(Strategie.GARDER, 10000))], 
        tick_label=["Changer","Garder"])
gains_changer = []
gains_garder = []
gains_alea = []
samples =  [1000, 10000, 20000, 50000, 80000, 100000]

for tours in samples:
    gains_changer.append(play(Strategie.CHANGER, tours))
    gains_garder.append(play(Strategie.GARDER, tours))
    gains_alea.append(play(Strategie.ALEA, tours))
figure = plt.figure()

plot = plt.scatter(samples, [sum(x) for x in gains_changer])

plot = plt.scatter(samples, [sum(x) for x in gains_garder])

plot = plt.scatter(samples, [sum(x) for x in gains_alea])
figure = plt.figure()

plot = plt.scatter(samples, [sum(x)/len(x) for x in gains_changer])

plot = plt.scatter(samples, [sum(x)/len(x) for x in gains_garder])

plot = plt.scatter(samples, [sum(x)/len(x) for x in gains_alea])<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1529080675422139, 'fraction_numerical': 0.0450281425891182, 'mean_word_length': 5.276470588235294, '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': '304466', 'license': 'Apache-2.0', 'n_tokens_mistral': 458, 'n_tokens_neox': 425, 'n_words': 86, 'path': 'Monty Hall.ipynb', 'repo_name': 'yvzn/ml-exercises', 'size': '1066'}