Predictive modelling · GLMs · AI agents
Auto Research: An Agent That Searches for a GLM
- Problem
- Choosing a GLM’s structure (which factors, what shape for age, which interactions) is where most of a pricing or experience analysis goes, and an automated search can overfit, or reach for a factor it must not use.
- Built
- Karpathy’s autoresearch loop pointed at actuarial GLMs: an agent edits one file, a harness it cannot touch scores the fit, and a change stays only if the score falls. Eleven example files, or your own; every fit runs in the browser.
About the drawing
The agent’s loop, and its control: on the mortality problem a mechanical search with no model scores level with the live agent.