Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Comprehensive Exercise

A comprehensive hands-on exercise implementing and training various reinforcement learning algorithms for control problems, from classic game environments to advanced control system applications.

πŸ“‹ Overview

This exercise is structured in four main parts, progressively building from fundamental RL concepts to advanced control applications:

  1. Actor-Critic Algorithm - Learn policy gradient methods with value function approximation
  2. DDPG (Deep Deterministic Policy Gradient) - Implement continuous control with actor-critic networks
  3. DDPG for Control Problem I - Apply DDPG to a practical control system
  4. DDPG for Control Problem II - Extend to a more complex control scenario

🎯 Learning Objectives

  • Understand neural network-based policy and value function approximation
  • Implement policy gradient algorithms (Actor-Critic)
  • Develop continuous control algorithms (DDPG)
  • Apply RL techniques to real-world control problems
  • Train agents and evaluate their performance

πŸ—οΈ Project Structure

RLinControl_CE.ipynb
β”œβ”€β”€ Part 0: Setup & Utilities
β”œβ”€β”€ Part 1: Actor-Critic
β”œβ”€β”€ Part 2: DDPG
β”œβ”€β”€ Part 3: DDPG for Control Problem I
└── Part 4: DDPG for Control Problem II

πŸ“Š Evaluation Metrics

  1. Total Reward per Episode: Immediate performance indicator
  2. Average Reward (50-episode MA): Smoothed performance trend
  3. Closed-Loop Response: System output under different inputs
  4. Convergence Speed: How quickly the agent learns

πŸ“ˆ Expected Results

  • Part 1 (Actor-Critic): Episodic reward should converge to ~500 on CartPole
  • Part 2 (DDPG): Average reward should trend toward -200 to -300 on Pendulum
  • Parts 3-4: Depends on control problem design and reward structure

πŸ”— References

πŸ‘¨β€πŸ« Course Information

Institution: IUST Type: Comprehensive Exercise Level: Intermediate to Advanced RL


Last Updated: 2025 Status: Active Exercise with TODO sections for student completion

About

Comprehensive Exercise Notebook: DDPG Application in Control

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages