HomeAI Precision Dosing & DiagnosticsReinforcement-Learning Chemotherapy Dosing Agent

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.

AI Precision Dosing & Diagnostics3DAdvanced60 FPS
medical-ai-computer-science ↗ Open standalone

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.

⚙ Under the hood

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.

reinforcement learningq-learningmedical aiprecision dosingmachine learningoncology

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)