decisiontree·CART / scikit-learn plot_tree convention·research, education·complexity 3/3·since v0.2.0
Iris CART decision tree
Machine-learning decision tree for the classic Iris classifier with split thresholds, sample counts, Gini impurity, and class leaves.
For the data scientist
decisiontree:ml·§ —
↘ preview
100%
UTF-8 · LF · 12 lines · 697 chars✓ parsed·3.7 ms·7.8 KB SVG
Scenario
Model explainability often starts with a small tree. This Iris example mirrors the structure exported by CART tools: feature thresholds inside split nodes, impurity metrics, samples, and class-labelled leaves.
Annotation key
decisiontree:mlselects ML mode.splitnodes carryfeature,threshold,samples, andgini.trueandfalseprefixes define the branch semantics.