I am novice for machine learning, and have some questions about the code on the following part in…



I am novice for machine learning, and have some questions about the code on the following part in run.ipynb:

memory.clear_stmemory()
 
 if len(memory.ltmemory) >= config.MEMORY_SIZE:

######## RETRAINING ########
 print(‘RETRAINING…’)
 current_player.replay(memory.ltmemory)
 print(‘’)

1)What is stmemory and ltmemory used for?

2) what does len(memory.ltmemory) >= config.MEMORY_SIZE indicate?

Thank you so much this wonderful tutorial!

Source: Deep Learning on Medium