How to interpret the learnableParameters (Reinforcement Learning Toolbox)?

3 views (last 30 days)
I was wondering how to interpret the tables that one is receiving when using this line:
params = getLearnableParameters (critic);
Why are there 6 tables after q learning for example? I expected one.

Accepted Answer

black_cat
black_cat on 15 Jun 2021
The values in these tables refer to the weights for the critic network.

More Answers (1)

Shadaab Siddiqie
Shadaab Siddiqie on 15 Jun 2021
From my understanding you want to know why are there 6 values returned as the result of the getLearnableParameters function. I assume that you are running example in getLearnableParameters:
load('DoubleIntegDDPG.mat','agent')
critic = getCritic(agent);
params = getLearnableParameters(critic);
In this case since DoubleIntegDDPG.mat has 6 learnable parameters from the reinforcement learning policy (critic in your case) getLearnableParameters returns 6 values.

Products


Release

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!