Clarification on NumEpoch, MaxMiniBatchPerEpoch, and LearningFrequency in rlAgentDDPGOptions

35 views (last 30 days)
Hello,
I'm currently working with the rlAgentDDPGOptions and while I have a solid understanding of most of the configuration parameters, I am having some trouble understanding three specific options: NumEpoch, MaxMiniBatchPerEpoch, and LearningFrequency.
My main confusion revolves around how and when the networks are updated, considering the agent's sampling times. Specifically:
  • NumEpoch: How does this parameter relate to the overall training process, and how does it affect network updates?
  • MaxMiniBatchPerEpoch: How does this limit the number of mini-batches processed during an epoch, and how does it interact with the sampling process?
  • LearningFrequency: How does this parameter influence the frequency of updates relative to the agent’s sampling rate?
Any clarification on these points would be greatly appreciated!
Thank you in advance for your help!
Best regards,
Fabián.
  5 Comments
Fabián
Fabián on 14 Sep 2025 at 1:36
Hi @Umar,
Thank you so much for your response. With your clarifications, I fully understand the implementation of the DDPG algorithm in MATLAB. You deserve a cold beer.
Best regards!
Fabián.
Umar
Umar on 14 Sep 2025 at 3:04

Hi @Fabian, Haha, I’ll happily take that cold beer — thanks! 😄 Glad to hear the explanation helped clarify things. Feel free to reach out anytime if more questions come up.

Sign in to comment.

Answers (0)

Categories

Find more on Sequence and Numeric Feature Data Workflows in Help Center and File Exchange

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!