Réponse apportée
How to continue training a DQN agent in the reinforcement learning toolbox?
Hi James, It looks like the experience buffer is the culprit here. Have a look at this question for a suggestion. Pretty much y...

environ 6 ans il y a | 0

| A accepté

Réponse apportée
Measures to improve computation time with reinforcement learning block in Simulink
Hi Enrico, Changing the values of TargetUpdateMethod and TargetUpdateFrequency will not change how often training happens, but ...

environ 6 ans il y a | 0

Réponse apportée
DDPG Control - for non-linear plant control - Q0 does not converge even after 5,000 episodes
Hi Rajesh, Looks to me that this problem has converged. Ideally, the Q0 curve should eventually overlap with the average episod...

environ 6 ans il y a | 0

Réponse apportée
Reinforcement Learning Toolbox: DDPG Agent, Q0 diverging to very high values during training
Hi Johan, It makes sense that stopping the training leads to bad actions since the blown-up critic values probably don't lead t...

plus de 6 ans il y a | 0

Réponse apportée
Reinforcement Learning Tool Box : How to change epsilon during training?
Hi Keita, Have a look at this link. The 'EpsilonGreedyExploration' option provides a way to reduce exploration as training prog...

plus de 6 ans il y a | 1

Réponse apportée
Reinforcement Learning Toolbox- Multiple Discrete Actions for actor critic agent (imageInputLayer issues)
Hi Anthony, I believe this link should help. Looks like the action space is not set up correctly. For multiple discrete actio...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Create policy evaluation function for RL agent
Can you try defining the size of inputs and outputs in the MATLAB Function block? This seems to be coming up a lot in the error ...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Reinforcement Learning Toolbox - When does algorithm train?
The implementation is based on the algorithm listed here. Weights are being updated at each time step.

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
RL Toolbox: Proximal Policy Optimisation
Hi Robert, Reinforcement Learning Toolbox in R2019b has a PPO implementation for discrete action spaces. Future releases will i...

plus de 6 ans il y a | 0

Réponse apportée
Training an agent of reinforcement learning as a motor's controller, but Matlab doesn't not do training at all?
Hello, It is hard to pinpoint the problem exactly without a repro model, but sounds like training stops prematurely. Can you re...

plus de 6 ans il y a | 1

Réponse apportée
DDPG - Noise Model - sample time step - definition
Hi Niklas, This post should be helpful. By "sample time step" the documentation refers to the "step count of the RL trainingpro...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Reinforcement Learning Simulink Block Inital Policy
To use the rl agent block, you need to create an agent first, which also requires a policy architecture. When you set up your ne...

plus de 6 ans il y a | 0

Réponse apportée
How to bound DQN critic estimate or RL training progress y-axis
Hello, I believe the best approach here is to figure out why the critic estimate takes large values. Even if you scale the plot...

plus de 6 ans il y a | 0

| A accepté

Réponse apportée
Reinforcement Learning Simulink Block Inital Policy
If you already have a policy with trained weights, you could just use that directly when creating the agent, instead of creating...

plus de 6 ans il y a | 0

Réponse apportée
How to use CarMaker with Reinforcement learning tool box?
Hi Jin, You can use CarMaker with Simulink. After you set up the Simulink model to work with CarMaker, you use the same proces...

plus de 6 ans il y a | 0

Réponse apportée
reinforcement learning toolbox - q table
Hi Xinpeng, To see the trained table, you have to do is extract it using ‘getCritic’. Try: critic = getCritic(agent); The v...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
Reinforcement Learning Toolbox - Change Action Space
Hi Federico, Unfortunately, the action space is fixed once created. To reduce the amount of times an action is selected, you co...

plus de 6 ans il y a | 1

| A accepté

Réponse apportée
'sim' command error
Hello, I believe that if you install update 1 (or later) of R2019a release, this issue will be resolved.

plus de 6 ans il y a | 0

Réponse apportée
how to create own environment in reinforcement learning
To create a MATLAB environment type rlCreateEnvTemplate('myEnv') This will create a template m file based on the pendulum syst...

plus de 6 ans il y a | 0

Réponse apportée
How to show the progress of the training step in an episode?
Hello, You can use 'getLearnableParameterValues' to get the network parameters after training. Can you share some more detail...

plus de 6 ans il y a | 0

Réponse apportée
How to visualize episode behaviour with the reinforcement learning toolbox?
Hello, To create a custom MATLAB environment, use the template that pops up after running rlCreateEnvTemplate('myenv') In thi...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
Reinforcement Learning - Multiple Discrete Actions
Hi Enrico, Try actionPath = [ imageInputLayer([1 2 1],'Normalization','none','Name','action') fullyConnectedLayer(h...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
Reinforcement Learning Toolbox - Intialise Experience Buffer
Hi Enrico, Glad to see that Reinforcement Learning Toolbox is helpful. Regarding your comment about algebraic loops, have you t...

presque 7 ans il y a | 4

| A accepté

Réponse apportée
How can I have several actions for a DQN in the Reinforcement Learning Toolbox?
If you type help rlFiniteSetSpec the second example is spec = rlFiniteSetSpec({[0,1];[1,1];[1,2];[1,3]}) If you define all ...

presque 7 ans il y a | 1

| A accepté

Réponse apportée
Loading and saving huge matrices in Simulink
On a separate note, it looks like you are implementing Q-learning (?). Q-learning uses tables, which do not scale well when your...

presque 7 ans il y a | 0

Réponse apportée
Design a reinforcement learning (RL) based controller to stabilize a quad copter
Hello, Not sure if you are still looking for a solution, but starting in R2019a, you can do deep reinforcement learning directl...

presque 7 ans il y a | 1

Réponse apportée
How to apply Reinforcement Learning techniques using the Neural Network Toolbox R2018a?
Starting in R2019a, you can do deep reinforcement learning directly in MATLAB and Simulink with Reinforcement Learning Toolbox, ...

presque 7 ans il y a | 0

Réponse apportée
deep reinforcement learning in MATLAB
Hi Akhil, You can now do deep reinforcement learning directly in MATLAB and Simulink with Reinforcement Learning Toolbox. Ple...

presque 7 ans il y a | 0

Réponse apportée
Can I extract data from excel filtering a specific search word and its associated value on the next column?
Hi Karla, You can do this by proper indexing of the columns. Please see code sample below: data = {'O2', 5;'oxygen', 3;'...

environ 8 ans il y a | 0

| A accepté

Réponse apportée
Power supply design with voltage and current ratings in Simulink
Hi Betha, The following link might be helpful: https://www.mathworks.com/matlabcentral/answers/362232-defining-custom-rang...

environ 8 ans il y a | 0

Charger plus