get started with reinforcement learning toolbox -凯发k8网页登录
reinforcement learning toolbox™ provides an app, functions, and a simulink® block for training policies using reinforcement learning algorithms, including dqn, ppo, sac, and ddpg. you can use these policies to implement controllers and decision-making algorithms for complex applications such as resource allocation, robotics, and autonomous systems.
the toolbox lets you represent policies and value functions using deep neural networks or look-up tables and train them through interactions with environments modeled in matlab® or simulink. you can evaluate the single- or multi-agent reinforcement learning algorithms provided in the toolbox or develop your own. you can experiment with hyperparameter settings, monitor training progress, and simulate trained agents either interactively through the app or programmatically. to improve training performance, simulations can be run in parallel on multiple cpus, gpus, computer clusters, and the cloud (with parallel computing toolbox™ and matlab parallel server™).
through the onnx™ model format, existing policies can be imported from deep learning frameworks such as tensorflow™ keras and pytorch (with deep learning toolbox™). you can generate optimized c, c , and cuda® code to deploy trained policies on microcontrollers and gpus. the toolbox includes reference examples to help you get started.
tutorials
- train reinforcement learning agent in mdp environment
train a reinforcement learning agent in a generic markov decision process environment.
- train reinforcement learning agent in basic grid world
train q-learning and sarsa agents to solve a grid world in matlab.
- create simulink environment and train agent
train a controller using reinforcement learning with a plant modeled in simulink as the training environment.
- design and train agent using reinforcement learning designer
design and train a dqn agent for a cart-pole system using the reinforcement learning designer app.
about reinforcement learning
- what is reinforcement learning?
reinforcement learning is a goal-directed computational approach where a computer learns to perform a task by interacting with an uncertain dynamic environment.
you can train a reinforcement learning agent to control a plant.
- reinforcement learning environments
model environment dynamics using a matlab object that generates rewards and observations in response to agents actions.
interactive learning
this free, four-hour tutorial provides an interactive introduction to
reinforcement learning.