Data Driven Modeling - Day 2

Repository: https://github.com/colbrydi/data_driven_modeling

Agenda (80 minutes)

  1. 10 min - Check-in and review of Part 1: what did statistics tell us?
  2. 20 min - Introduce supervised and unsupervised learning, train/test splits, and overfitting
  3. 35 min - Guided work in Assignment_Instructions_Part_2.ipynb
  4. 15 min - Share evidence about dataset size and the number of features

Learning Goals

By the end of this class, you should be able to:

In-Class Focus

Statistics describe; machine learning predicts. Today we use scikit-learn on one small dataset to ask three different questions, compare each model against a simple baseline, and watch what happens when a model sees too few observations or too many features.

Use the repository as the primary working reference:

The notebook gives you a working scaffold and expects you to look things up in the scikit-learn documentation. As you work, consider whether the model beats the baseline, how you know you are not fooling yourself, and whether machine learning was necessary at all.

Before Next Class

Daily Check-in and Reflection

Daily Check-in Form