Train and evaluate decision trees
Find a file
2026-03-30 09:09:43 +00:00
decision_tree readme; tree metrics 2026-03-30 09:07:53 +00:00
.gitignore init 2026-03-30 08:25:55 +00:00
readme.md make markdown nice on forgejo 2026-03-30 09:09:43 +00:00
wine_quality.py readme; tree metrics 2026-03-30 09:07:53 +00:00
winequality-red.csv init 2026-03-30 08:25:55 +00:00

Train and evaluate decision trees

  • pure Python
  • no dependencies outside the stdlib

Terminology

| my term | synonyms elsewhere |
|---------+--------------------|
| label   | class              |
| row     | example, instance  |
| column  | feature            |

TODO

  • train
  • predict
  • tree metrics
  • output a probaility distribution instead of a label

tree metrics

  • accuracy
  • precision
  • recall
  • F-measure
  • AUROC