-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmall_tree.dot
33 lines (33 loc) · 1.4 KB
/
small_tree.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
digraph Tree {
node [shape=box, style="rounded", color="black", fontname="helvetica"] ;
edge [fontname="helvetica"] ;
0 [label="temp_1 <= 66.5\nsquared_error = 131.8\nsamples = 171\nvalue = 62.8"] ;
1 [label="temp_1 <= 55.5\nsquared_error = 55.2\nsamples = 96\nvalue = 55.3"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="temp_1 <= 47.5\nsquared_error = 33.6\nsamples = 49\nvalue = 50.0"] ;
1 -> 2 ;
3 [label="squared_error = 19.9\nsamples = 15\nvalue = 42.3"] ;
2 -> 3 ;
4 [label="squared_error = 10.5\nsamples = 34\nvalue = 52.7"] ;
2 -> 4 ;
5 [label="forecast_noaa <= 50.5\nsquared_error = 18.1\nsamples = 47\nvalue = 60.8"] ;
1 -> 5 ;
6 [label="squared_error = 17.8\nsamples = 12\nvalue = 57.3"] ;
5 -> 6 ;
7 [label="squared_error = 11.2\nsamples = 35\nvalue = 62.2"] ;
5 -> 7 ;
8 [label="temp_1 <= 76.5\nsquared_error = 32.7\nsamples = 75\nvalue = 74.2"] ;
0 -> 8 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
9 [label="friend <= 48.5\nsquared_error = 22.1\nsamples = 54\nvalue = 72.7"] ;
8 -> 9 ;
10 [label="squared_error = 16.2\nsamples = 4\nvalue = 64.8"] ;
9 -> 10 ;
11 [label="squared_error = 18.6\nsamples = 50\nvalue = 73.2"] ;
9 -> 11 ;
12 [label="friend <= 66.5\nsquared_error = 40.2\nsamples = 21\nvalue = 77.9"] ;
8 -> 12 ;
13 [label="squared_error = 34.1\nsamples = 11\nvalue = 74.5"] ;
12 -> 13 ;
14 [label="squared_error = 20.1\nsamples = 10\nvalue = 81.6"] ;
12 -> 14 ;
}