Research on Memory Algorithm Based on Time Series Model and Reinforcement Learning | Synapse