RL Ensemble

RL Ensemble
17 Downloads
Updated 14 Apr 2025

View License

To test the enclosed code, kindly run the files in order:
For DR number of failures reported in Fig. 5:
1- PendulumQlearnDR.m
2- CountFails_DR.m
For Nearest, FERL, FERLHull reported in Fig. 5:
1- Fuzzification.m
2- PendulumQlearn.m
3- CountFails_Nearest.m
4- CountFails_mFERL.m
5- CountFails_FERL.m
The codes are uploaded on File Exchange - MATLAB Central for reproducibility by fellow researchers.
To reproduce the results in Fig. 3 and Fig. 4, kindly run:
1- In MATLAB command: load agent1; load agent2;
load agent3; load agent4;
g=9.81;
l=7; m=2; %initial parameters
li=6; mi=2.5; %initial estimates
2- The file Ensemble_Pendulum_RAL2024_Simulink_2018a
Base code is used from [1].
[1] Matthew Sheen (2023). Reinforcement Learning Example - Pendulum Controller w/ Animation (https://github.com/mws262/MATLAB-Reinforcement-Learning-Pendulum), GitHub. Retrieved September 15, 2023.

Cite As

Abdel Gafoor Haddad (2026). RL Ensemble (https://www.mathworks.com/matlabcentral/fileexchange/135447-rl-ensemble), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2025a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.3

Added more comments and user guide.

1.0.2

Aligned FERL

1.0.1

Added user guide

1.0.0