-
Notifications
You must be signed in to change notification settings - Fork 31
/
cancerTree.dot
64 lines (64 loc) · 3.42 KB
/
cancerTree.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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
digraph Tree {
node [shape=box, style="filled", color="black"] ;
0 [label="mean concave points <= 0.0513\nsamples = 426\nvalue = [158, 268]\nclass = benign", fillcolor="#399de569"] ;
1 [label="worst radius <= 16.83\nsamples = 267\nvalue = [16, 251]\nclass = benign", fillcolor="#399de5ef"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="radius error <= 0.6256\nsamples = 249\nvalue = [5, 244]\nclass = benign", fillcolor="#399de5fa"] ;
1 -> 2 ;
3 [label="worst smoothness <= 0.1777\nsamples = 246\nvalue = [3, 243]\nclass = benign", fillcolor="#399de5fc"] ;
2 -> 3 ;
4 [label="smoothness error <= 0.0033\nsamples = 245\nvalue = [2, 243]\nclass = benign", fillcolor="#399de5fd"] ;
3 -> 4 ;
5 [label="worst perimeter <= 99.845\nsamples = 6\nvalue = [1, 5]\nclass = benign", fillcolor="#399de5cc"] ;
4 -> 5 ;
6 [label="samples = 5\nvalue = [0, 5]\nclass = benign", fillcolor="#399de5ff"] ;
5 -> 6 ;
7 [label="samples = 1\nvalue = [1, 0]\nclass = malignant", fillcolor="#e58139ff"] ;
5 -> 7 ;
8 [label="worst texture <= 33.35\nsamples = 239\nvalue = [1, 238]\nclass = benign", fillcolor="#399de5fe"] ;
4 -> 8 ;
9 [label="samples = 225\nvalue = [0, 225]\nclass = benign", fillcolor="#399de5ff"] ;
8 -> 9 ;
10 [label="worst texture <= 33.56\nsamples = 14\nvalue = [1, 13]\nclass = benign", fillcolor="#399de5eb"] ;
8 -> 10 ;
11 [label="samples = 1\nvalue = [1, 0]\nclass = malignant", fillcolor="#e58139ff"] ;
10 -> 11 ;
12 [label="samples = 13\nvalue = [0, 13]\nclass = benign", fillcolor="#399de5ff"] ;
10 -> 12 ;
13 [label="samples = 1\nvalue = [1, 0]\nclass = malignant", fillcolor="#e58139ff"] ;
3 -> 13 ;
14 [label="smoothness error <= 0.0051\nsamples = 3\nvalue = [2, 1]\nclass = malignant", fillcolor="#e581397f"] ;
2 -> 14 ;
15 [label="samples = 1\nvalue = [0, 1]\nclass = benign", fillcolor="#399de5ff"] ;
14 -> 15 ;
16 [label="samples = 2\nvalue = [2, 0]\nclass = malignant", fillcolor="#e58139ff"] ;
14 -> 16 ;
17 [label="worst texture <= 19.91\nsamples = 18\nvalue = [11, 7]\nclass = malignant", fillcolor="#e581395d"] ;
1 -> 17 ;
18 [label="samples = 5\nvalue = [0, 5]\nclass = benign", fillcolor="#399de5ff"] ;
17 -> 18 ;
19 [label="concave points error <= 0.0101\nsamples = 13\nvalue = [11, 2]\nclass = malignant", fillcolor="#e58139d1"] ;
17 -> 19 ;
20 [label="samples = 11\nvalue = [11, 0]\nclass = malignant", fillcolor="#e58139ff"] ;
19 -> 20 ;
21 [label="samples = 2\nvalue = [0, 2]\nclass = benign", fillcolor="#399de5ff"] ;
19 -> 21 ;
22 [label="worst texture <= 20.405\nsamples = 159\nvalue = [142, 17]\nclass = malignant", fillcolor="#e58139e0"] ;
0 -> 22 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
23 [label="mean concave points <= 0.091\nsamples = 14\nvalue = [4, 10]\nclass = benign", fillcolor="#399de599"] ;
22 -> 23 ;
24 [label="samples = 10\nvalue = [0, 10]\nclass = benign", fillcolor="#399de5ff"] ;
23 -> 24 ;
25 [label="samples = 4\nvalue = [4, 0]\nclass = malignant", fillcolor="#e58139ff"] ;
23 -> 25 ;
26 [label="worst area <= 718.65\nsamples = 145\nvalue = [138, 7]\nclass = malignant", fillcolor="#e58139f2"] ;
22 -> 26 ;
27 [label="worst texture <= 25.925\nsamples = 13\nvalue = [6, 7]\nclass = benign", fillcolor="#399de524"] ;
26 -> 27 ;
28 [label="samples = 7\nvalue = [0, 7]\nclass = benign", fillcolor="#399de5ff"] ;
27 -> 28 ;
29 [label="samples = 6\nvalue = [6, 0]\nclass = malignant", fillcolor="#e58139ff"] ;
27 -> 29 ;
30 [label="samples = 132\nvalue = [132, 0]\nclass = malignant", fillcolor="#e58139ff"] ;
26 -> 30 ;
}