Lab 6 · Hands-on Python Exercise

Build a Demand-Based Pricing Model

A Python lab where you build a simplified version of Airbnb's Smart Pricing — fitting a lead time distribution and turning it into a nightly price suggestion.

🚧 Under Construction
🏗️

This lab is coming soon

Lab 6 is still being built. When it's ready, you'll work through a simplified version of Airbnb's Smart Pricing system using Python in Google Colab — no prior coding experience required.

What you'll build when it's ready
  • Simulate a dataset of bookings with realistic lead time patterns
  • Visualize a lead time distribution for a high-demand vs. last-minute market
  • Cluster similar listings into demand aggregations
  • Fit a simple hybrid model (ML + structural form) to predict prices
  • Compare your hybrid predictions to a pure ML baseline

In the meantime, go read the full Chapter 6 case study — it covers everything the lab will ask you to build, including the business context that makes the technical work make sense.

Instructor note: This lab page is a placeholder. Check back before the next assignment is due, or email the instructor if you need this lab content urgently.