Q-Learning Chemotherapy Dosing Grid (2D)
Watch a tabular Q-learning agent learn a chemotherapy dosing policy on a live 2D tumor-burden vs. toxicity value grid: click any cell to inspect its learned action values, tune exploration and toxicity aversion, and watch the Bellman update run in real time.
This simulator trains a tabular Q-learning agent to choose chemotherapy doses for a simulated patient, purely from trial-and-error reward signal — no hand-coded treatment rules. A 2D grid shows every (tumor burden, toxicity) state as a tile whose fill level is the agent's learned value estimate and whose colour is its currently preferred dose; a marker traces the agent's live position and glides between tiles as training plays out in real time. Click any tile to lock a side-by-side inspector on its four dose values, tune the learning rate, exploration decay and toxicity aversion, and watch the learned policy shift between aggressive and conservative dosing, with live episode count, exploration rate, moving-average reward and cure rate.
Watch a tabular Q-learning agent learn a chemotherapy dosing policy on a live 2D tumor-burden vs. toxicity value grid: click any cell to inspect its learned action values, tune exploration and toxicity aversion, and watch the Bellman update run in real time.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install