← Home

UChicago Pathways in Data Science · July 2026

Started at UChicago.
Continued at home.

Automobile Efficiency Across Eras started as my team's final project in a three-week summer program. At home, I added newer vehicle data to test whether our models still worked on cars from other decades.

Explore the analysis View the GitHub repository
Keshu Yang and the University of Chicago Pathways in Data Science class gathered in a lecture hall.
Where it started Pathways in Data Science class · University of Chicago · July 2026

01 · How it started

Would the models work
on newer cars?

Our class project used cars from 1970–1982. I wanted to see what happened with later data.

01

At UChicago

Our first models.

I coordinated our four-person team's data cleaning, model comparison, and presentation. We used k-nearest neighbors and multiple linear regression to predict MPG for nearly 400 cars. Weight was the strongest predictor, and k-nearest neighbors performed better.

Starting data
1970–1982 Auto MPG
Team output
Models + final presentation
02

Back at home

Adding later data.

After the program, I added a vehicle sample from 1999 and 2008 and EPA trends through 2024. I kept the sources separate because their testing methods differ.

Data coverage
Historical models: 1970-1982
Later-vehicle sample: 1999 and 2008
EPA trends: 1975-2024
Independent output
Pipeline + notebooks + report + website

02 · What I added

More data, different tests.

The datasets use different testing rules, so I documented what can and can't be compared.

Data sources

What each source covers.

I used the UCI file for historical models, production-weighted EPA data for long-term trends, and later vehicle files to test predictions across years.

Model testing

Testing on unfamiliar cars.

I tested models on later years, held-out model families, and another vehicle era. Cross-era predictions were poor, but the datasets also differ in vehicle mix and testing methods.

Code and report

The full analysis.

The project includes six notebooks, a repeatable data pipeline, a report, source notes, and a website.

One result: EPA real-world fuel economy rose from 13.1 MPG in 1975 to 27.2 MPG in 2024. But my later-year tests showed that models trained on older cars didn't reliably carry over to newer ones.

Code and notebooks

Read the analysis on GitHub.

Read the repository More about me →