Streams / May 22, 2019
Session S0043: Decision trees in code
May 22, 2019Nick LarsenS00431 min read
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.