~/talk

Exploring Decision Trees with Matryoshka

Talkat Scala World 2017 · 2017-09-16..09-19· [data-science, functional-programming]
slides:none on file

Automatic decision trees predict Titanic survival using Scala and Matryoshka by turning a Tree into a higher-kinded type, applying Fix and a Functor, then building with an entropy-minimizing ID3-style split. Baselines: “everyone died” yields ~63% accuracy; a simple gender split improves accuracy by ~10%; the full entropy-built tree performs ~2% worse (overfitting). Implementation uses recursion schemes (ana/cata/hylo), exposes stack-safety limits in Matryoshka, and suggests random forests to reduce overfitting.

AI-written summary · about

  1. 0:00Introduction to the topic
  2. 1:53Titanic prediction problem
  3. 7:53Building decision trees
  4. 11:09Implementing recursive trees
  5. 13:57Entropy and automation
  6. 19:36Recursion schemes introduction
  7. 26:40Anamorphisms with entropy
  8. 32:23Exploring tree paths
  9. 36:22Catamorphisms and hylomorphisms
  10. 44:17Conclusion and Q&A
~/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.