<jupyter_start><jupyter_text>The plots of the scoreschanged epsilon from 0.01 to 0.001 at the 3773th game<jupyter_code>import matplotlib.pyplot as plt
import pickle
import numpy as np
with open('mem.pickle','rb') as f:
    (_,_,_,scores)=pickle.load(f)
def moving_avg(x,p=10):
    y = []
    for i in range(len(x)-p+1):
        y.append(np.mean(x[i:i+p]))
    return y
np.max(scores)
plt.plot(scores)
plt.plot(moving_avg(scores,3))
plt.plot(moving_avg(scores,5))
plt.plot(moving_avg(scores,10))
plt.xlabel('score')
plt.ylabel('games')
plt.savefig('plot.png')<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.16326530612244897, 'fraction_numerical': 0.030612244897959183, 'mean_word_length': 5.617977528089888, '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': '291174', 'license': 'Apache-2.0', 'n_tokens_mistral': 266, 'n_tokens_neox': 238, 'n_words': 46, 'path': '10_10/analyze-Copy1.ipynb', 'repo_name': 'yanglyuxun/game_play_snake', 'size': '588'}