Session 3 - Build your first model and run it through Chap
By the end of this session, you'll have a working model that runs through CHAP and generates a prediction report. You'll start from a template, make a small modification, and run an evaluation — the same workflow you'll use for your own models later
Before following this session, you should have completed Session 2. We assume you now have a system for virtual environments in either R or Python and know the basics of working on the command line, git and GitHub. It is also an advantage to have gone through Session 1 as well before starting this session.
Recording
Guides
1. Install CHAP
Install the CHAP command-line tool using uv. This tool is required for evaluating and testing your models.
2. Implement your own model from a minimalist example
Fork and clone an example model repository. Choose between Python (uv) or R depending on your preferred language. Then follow the README in the repository for next steps.
Homework
To follow the progression of the webinar series, you should verify that you are all set by January 21, 2026
Learn more
To learn more, please continue to the following webinar sessions (4,5,6) or consult our guide to learn modeling with disease modeling as case.