Save this video — free

Lecture 15: Zipf's Law

Professor Rosen · 1:04:12 · Watch on YouTube

Lecture 15: Zipf's Law Watch on YouTube →

Overview

The lecture uses a 5,000-word English frequency dataset to introduce Zipf’s law: word frequency generally decreases roughly in inverse proportion to rank, producing an approximately straight line on a log-log plot. Along the way, it demonstrates reading and parsing CSV data in Python, calculating how much of a corpus is accounted for by common words, interpreting dispersion, and visualizing the pattern with Altair; it also covers course grading and lab deadlines.

Key takeaways

Chapters

0:00 Runestone Grade Imports and Week Eight Course Logistics
9:20 Academic Progress Reports and Lab Demo Expectations
11:00 SETI, Language Fingerprints, and Zipf’s Law
14:30 Inspecting the 5,000-Word Frequency Dataset
18:40 Parsing CSV Rows into Python Lists
26:20 Zipf’s Law and the Unsustainable Word-Frequency Joke
29:35 Measuring How Much the Top and Bottom Words Contribute
36:15 Dispersion and Examples of Rare English Words
39:20 Logarithms as Repeated Splitting for Computer Science
47:35 Building a Word-Rank Chart with Altair
53:15 Log-Log Plots Reveal the Zipf Pattern
57:10 Finding Reversed Words with Python Slicing

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Professor Rosen.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.