Skip to content

Commit a1601f2

Browse files
committed
Updated DT example to have a root node
1 parent efb740b commit a1601f2

File tree

9 files changed

+1
-1
lines changed

9 files changed

+1
-1
lines changed

.DS_Store

0 Bytes
Binary file not shown.

Sklearn/.DS_Store

0 Bytes
Binary file not shown.

Sklearn/DecisionTrees/.DS_Store

0 Bytes
Binary file not shown.

Sklearn/DecisionTrees/Graphviz_Dot_Examples/irisGreenLeafBlueDecisionDepth2Example.dot

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
digraph Tree {
22
node [shape=box, style=filled,fillcolor="#FFFFFF"] ;
3-
0 [label=<<FONT COLOR="#0000FF">petal length (cm) &le; 2.45<br/>gini = 0.665<br/>samples = 112<br/>value = [38, 40, 34]<br/>class = versicolor</FONT>>] ;
3+
0 [label=<<FONT COLOR="#D2691E">petal length (cm) &le; 2.45<br/>gini = 0.665<br/>samples = 112<br/>value = [38, 40, 34]<br/>class = versicolor</FONT>>] ;
44
1 [label=<<FONT COLOR="#008000">gini = 0.0<br/>samples = 38<br/>value = [38, 0, 0]<br/>class = setosa</FONT>>] ;
55
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
66
2 [label=<<FONT COLOR="#0000FF">petal length (cm) &le; 4.95<br/>gini = 0.497<br/>samples = 74<br/>value = [0, 40, 34]<br/>class = versicolor</FONT>>] ;
7.57 KB
Loading
-45.7 KB
Binary file not shown.
7.56 KB
Binary file not shown.
350 KB
Loading
347 KB
Loading

0 commit comments

Comments
 (0)