Session · 90 min · Available now · Modeling & Inference

What Fills the Seats

Fit ridge, lasso and elastic net on the same attendance data, tune them honestly, and pick the one that generalizes.

An agent can write the model. This session is about knowing when it is wrong.

$79 Buy now Buy once, watch any time. A person answers if it is the wrong one for you.
What you learn

The skills, and the artifact you leave with.

  • What regularization does and why it beats plain regression on real data
  • The difference between ridge, lasso, and elastic net, in code and intuition
  • How lasso performs feature selection for you
  • How to choose the penalty with cross-validation instead of by hand
You leave with

Three fitted models on real MLB attendance data, the cross-validation curves, and a short write-up of what fills the seats.

Why it matters now

Attendance, pricing and demand questions arrive with more candidate predictors than any model should carry; this is the disciplined way through.

From the jobs board, in the postings' own words; the board carries the date each was read.

Curriculum
  1. What Fills the Seats

    One live session, recorded, 90 minutes. Yours to keep and watch any time.

The problem

Season attendance has more plausible predictors than any one model should carry, and the one that fits best in-sample is rarely the one that generalizes.

Three decisions it teaches
  1. How to set up penalized regression with a split you can defend
  2. How to tune the penalty by cross-validation and read the whole path, not one number
  3. How to compare ridge, lasso and elastic net on held-out error and on which predictors survive

The artifact. Three fitted models on real MLB attendance data, the cross-validation curves, and a short write-up of what fills the seats.

Curriculum
  1. What Fills the Seats

    One live session, recorded, 90 minutes. Yours to keep and watch any time.

What you get

Everything that exists for this session, and nothing that does not.

  • The recording90 minutes, yours to keep
Play with the data

Run the code, in your browser.

The chart on this page, drawn by code you can edit. R runs on webR and Python on Pyodide; nothing loads until you press Run, and nothing you type leaves the page.

Python
This chart is the code's result. Run recomputes it in your browser.
Home attendance game by game, in thousands, with a rolling mean and a band of one rolling sd.

Edit me: Filter to weekend games (weekend == 1) and run again.

Data: Season game log (game_log.csv). Simulated for practice by AthlyticZ (agents/sim_data.py, seed 20261109). License CC BY 4.0.

The code runs in your browser on Pyodide; nothing you type leaves the page.

Curriculum

What is covered, in order.

From the academy course record, as it is taught.

  1. What Fills the Seats

    One live session, recorded, 90 minutes. Yours to keep and watch any time.

Greg Matthews
Your instructor Greg Matthews

PhD · Director, Center for Data Science and Consulting @ Loyola University Chicago

Teaches the method the way it is used in the role above. The team page lists everything they teach here.

Also teaches The Injury Report Problem, Know Exactly When an MLB Player Starts to Decline.

What is included

What is yours when you buy.

  • The full recording, 75 min
  • Yours to keep: watch it any time

Refunds. If you bought it and it is the wrong one for you, write to michael@athlyticz.com and a person will answer.

Questions

The ones that stop a purchase.

Is this too advanced, or too basic, for me?

Built for someone who already writes code in the session's language and wants the method, not the syntax. If the outcome line at the top reads like something you could use next week, it is pitched right. If it reads like a different job, start with the courses on /browse.

What exactly do I get, and for how long?

The full recording, yours to keep: buy once, watch any time. Masterclass subscribers get every live session for a year and can watch every recorded session for as long as they are a member. Everyone else can buy a recording on its own.

Do I need to install anything?

No. The recording plays in the browser.

What if it is not for me?

Twenty minutes on a call before you buy costs nothing, and the call is the fastest way to tell. If you bought it and it is the wrong one for you, email michael@athlyticz.com and a person will answer.

Want more?

Ten live hours of end-to-end project work every month.

The Masterclass is all of it, live and recorded, for $1,899 a year, or $199 a month. Paid by the month, it renews monthly at $199, cancel any time by replying to your receipt.

This session $79

What Fills the Seats. The recording, yours to keep.

Buy now
The Masterclass $1,899 a year, or $199 a month

Every live session this year, and every recording.

Join the Masterclass
Membership $2,999 a year

The whole catalog of courses plus the Masterclass.

Get Membership
$79Buy now