--- tags: - CartPole-v1 - q-learning - reinforcement-learning - custom-implementation model-index: - name: q_learning-Cartpole results: - task: type: reinforcement-learning name: reinforcement-learning dataset: name: CartPole-v1 type: CartPole-v1 metrics: - type: mean_reward value: 248.33 +/- 140.57 name: mean_reward verified: false --- # **Q-Learning** Agent playing1 **CartPole-v1** This is a trained model of a **Q-Learning** agent playing **CartPole-v1** . ## Usage ```python model = load_from_hub(repo_id="erfan1380/q_learning-Cartpole", filename="q-learning.pkl") # Don't forget to check if you need to add additional attributes (is_slippery=False etc) env = gym.make(model["env_id"]) ```