Code for the model presented in Endress, A.D. & Johnson, S. P., When forgetting fosters learning: A neural network model for statistical learning, https://doi.org/10.1016/j.cognition.2021.104621
Please use the updated version of this code (available in the same repository and at https://doi.org/10.25383/city.21294735