Skip to content
An independent journal on software and craft Updated 2026
Culture of DevelopmentNotes for people who build software

Streams / May 22, 2019

Session S0043: Decision trees in code

Implementing a decision tree from scratch and checking it on a small data set.

Implementing a decision tree from scratch and checking it on a small data set.

Sessions are unscripted. The useful part is often the decision that did not work, not the one that did.

Session themes

  • Wrote the split logic.
  • Printed the tree for inspection.
  • Tested a few predictions.

A short topic summary, not a transcript.

Takeaways

  • A model you can print is a model you can debug.