How did you feel about the first midterm?
Consider the following two scenarios:
Predicting whether a patient is likely to develop diabetes based on features such as age, blood pressure, glucose levels, and BMI. You have two models:
Which model would you pick? Why?
Predicting whether a user will purchase a product next based on their browsing history, previous purchases, and click behavior. You have two models:
Which model would you pick? Why?

Ridge model,
Let’s take a break!
We are now just over half-way through CPSC 330!
You had a midterm already a couple of weeks ago, I’d like some feedback on how things are going in class (as the instructor).
I’d love to hear how you think lectures are going, and how the course is going overall: bit.ly/cpsc330_2025W2.
Let’s take a couple of minutes to complete this before we get started on today’s content.
For this demo, each student should click this link to create a new repo in their accounts, then clone that repo locally to follow along with the demo from today.
For this demo, each student should click this link to create a new repo in their accounts, then clone that repo locally to follow along with the demo from today.
You might need to install SHAP in your conda environment
conda install -c conda-forge shap
