~/talk

Predicting Titanic Survivors with Machine Learning

Talkat RailsConf 2017 · 2017-04-25..04-27· [machine-learning, python]
name:Ju Liu
slides:none on file

891-row train.csv of Titanic passengers gets explored with pandas + matplotlib and then modeled with scikit-learn; a one-line heuristic “if female predict survive” scores ~78% (701 correct, 190 wrong), a LogisticRegression pushes to ~79%, and a DecisionTree hits ~98% on training but collapses under cross-validation (overfitting). visual export creates tree.dot/png showing top splits: sex, age < 6.5, Pclass; data finds 342 survivors total and that 77 of 78 first‑class women survive in this dataset.

AI-written summary · about

  1. 0:00Introduction
  2. 2:05Desktop background
  3. 3:20Project overview
  4. 4:40Visualize the pipe
  5. 5:53Plot
  6. 6:50Normalize
  7. 7:20Subplots
  8. 8:10Copy Paste
  9. 8:39Survival Rate
  10. 9:47Passenger Class Distribution
  11. 10:55Python List Comprehension
  12. 12:38Titanic made 2 stops
  13. 14:33Men vs Women
  14. 19:30Women
  15. 22:54Check Accuracy
  16. 23:23Extract Results
  17. 24:46Linear Model
  18. 26:50Clean Data
  19. 27:46How Algorithms Work
  20. 28:24Classification
  21. 29:19Output
  22. 29:38Not linear
  23. 30:12Preprocessing
  24. 31:20Algorithm Improvements
  25. 32:09Decision Trees
  26. 33:01Classifier
  27. 33:19Overfitting
  28. 34:00Machine Learning
  29. 34:23Model Selection
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.