Reinforcement-Learning Chemotherapy Dosing Agent
Watch a tabular Q-learning agent learn a chemotherapy dosing policy from scratch: a live 3D state-space landscape of tumor burden vs. toxicity, epsilon-greedy exploration, and the Bellman update running 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 3D landscape shows every (tumor burden, toxicity) state as a column whose height is the agent's learned value estimate and whose colour is its currently preferred dose; a marble marks the agent's live position and hops between states as training plays out in real time. Tune the learning rate, exploration decay and toxicity aversion to 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 purely from trial and error, visualized as a live 3D landscape of tumor-burden vs. toxicity state values with an agent marble hopping between states.
3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install