Import patternnet into deep Q network
1 view (last 30 days)
Show older comments
Kacjer Frank
on 15 Nov 2020
Commented: Emmanouil Tzorakoleftherakis
on 17 Nov 2020
Is it possible to import the trained patternnet in the neural network of deep reinforcement learning. I have already obtained the Pattern Recognition Neural Network using 'patternnet'. And I want to import the neural network as the neural network of DQN. Could you please drop me with some examples or exlain how to realize the above idea. Thank you very much.
0 Comments
Accepted Answer
Emmanouil Tzorakoleftherakis
on 16 Nov 2020
Hello,
By 'patternnet' are you referring to this function? If yes, then this does not use the deep learning layer objects that work with Reinforcement Learning Toolbox. You would need to recreate this network with deep learning layers (it's a different API).
In general, if you have a trained network, you can use it as an RL policy assuming it is compatible with the algorithm you want to work with. See this example for instance, where imitation learning is used first to get an initial policy before training further with RL.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!