The F#orce Awakens
summary
Movie scripts are parsed with active patterns to extract scenes and speakers, non‑speaking characters (R2‑D2, Chewbacca, BB‑8) are imputed by estimating mentions vs speech, and a 67‑line F# wrapper over SWAPI uses type providers to download character metadata. Networks are built and visualized by compiling F# to JavaScript with Fable and D3; centrality uses iGraph (via the R provider). Episode I has 38 named characters and low density/clustering; Episode VII ranks Poe highest by degree and Kylo by betweenness; Vader stays most central overall.
AI-written summary · about
chapters (25)
- 0:00Introduction and background
- 1:23Choosing Star Wars data
- 3:31Parsing scripts with F#
- 5:20Handling messy data formats
- 7:48Imputing missing characters
- 9:12Finding Star Wars API
- 10:17Using type providers in F#
- 13:35Demo of F# type providers
- 15:01Downloading Star Wars data
- 15:44Analyzing character traits
- 16:34Verifying Star Wars facts
- 17:22Creating F# wrapper for API
- 17:42Building social networks
- 18:03Visualizing networks with Fable
- 19:27Debugging F# in browser
- 20:31Comparing Star Wars episodes
- 21:38Analyzing prequels vs originals
- 22:21Quantifying network complexity
- 25:38Measuring character importance
- 27:47Using R graph library in F#
- 28:31Results from Episode 7
- 29:34Most important characters
- 30:19Applying methods to real data
- 31:05Learning from toy examples
- 32:11Summary and fun with data
