decisionrl — RL vs the textbook formula on drifting demand

A DQN policy (blue) and the best fixed base-stock rule (grey) face the same demand, which switches between a low and a high regime. Watch RL track the regime the fixed rule can't. Runs entirely in your browser.
RL (DQN) profit
0
regime
-
base-stock profit
0