1 Star 0 Fork 0

AIpi-machine/decesiontree

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
tree.dot 3.37 KB
一键复制 编辑 原始数据 按行查看 历史
吴官骏 提交于 2021-12-21 01:45 . decesiontree
digraph Tree {
node [shape=box, style="filled", color="black"] ;
0 [label="X[11] <= 0.229\nsamples = 155\nvalue = [83, 72]\nclass = R", fillcolor="#fceee5"] ;
1 [label="X[19] <= 0.829\nsamples = 71\nvalue = [20, 51]\nclass = L", fillcolor="#87c3ef"] ;
0 -> 1 [labeldistance=2.5, labelangle=45, headlabel="True"] ;
2 [label="X[43] <= 0.301\nsamples = 54\nvalue = [7, 47]\nclass = L", fillcolor="#56ace9"] ;
1 -> 2 ;
3 [label="X[27] <= 0.153\nsamples = 46\nvalue = [1, 45]\nclass = L", fillcolor="#3d9fe6"] ;
2 -> 3 ;
4 [label="samples = 1\nvalue = [1, 0]\nclass = R", fillcolor="#e58139"] ;
3 -> 4 ;
5 [label="samples = 45\nvalue = [0, 45]\nclass = L", fillcolor="#399de5"] ;
3 -> 5 ;
6 [label="X[48] <= 0.059\nsamples = 8\nvalue = [6, 2]\nclass = R", fillcolor="#eeab7b"] ;
2 -> 6 ;
7 [label="samples = 2\nvalue = [0, 2]\nclass = L", fillcolor="#399de5"] ;
6 -> 7 ;
8 [label="samples = 6\nvalue = [6, 0]\nclass = R", fillcolor="#e58139"] ;
6 -> 8 ;
9 [label="X[26] <= 0.883\nsamples = 17\nvalue = [13, 4]\nclass = R", fillcolor="#eda876"] ;
1 -> 9 ;
10 [label="X[10] <= 0.076\nsamples = 14\nvalue = [13, 1]\nclass = R", fillcolor="#e78b48"] ;
9 -> 10 ;
11 [label="samples = 1\nvalue = [0, 1]\nclass = L", fillcolor="#399de5"] ;
10 -> 11 ;
12 [label="samples = 13\nvalue = [13, 0]\nclass = R", fillcolor="#e58139"] ;
10 -> 12 ;
13 [label="samples = 3\nvalue = [0, 3]\nclass = L", fillcolor="#399de5"] ;
9 -> 13 ;
14 [label="X[51] <= 0.007\nsamples = 84\nvalue = [63, 21]\nclass = R", fillcolor="#eeab7b"] ;
0 -> 14 [labeldistance=2.5, labelangle=-45, headlabel="False"] ;
15 [label="X[22] <= 0.773\nsamples = 18\nvalue = [7, 11]\nclass = L", fillcolor="#b7dbf6"] ;
14 -> 15 ;
16 [label="samples = 10\nvalue = [0, 10]\nclass = L", fillcolor="#399de5"] ;
15 -> 16 ;
17 [label="X[15] <= 0.134\nsamples = 8\nvalue = [7, 1]\nclass = R", fillcolor="#e99355"] ;
15 -> 17 ;
18 [label="samples = 1\nvalue = [0, 1]\nclass = L", fillcolor="#399de5"] ;
17 -> 18 ;
19 [label="samples = 7\nvalue = [7, 0]\nclass = R", fillcolor="#e58139"] ;
17 -> 19 ;
20 [label="X[6] <= 0.232\nsamples = 66\nvalue = [56, 10]\nclass = R", fillcolor="#ea985c"] ;
14 -> 20 ;
21 [label="X[39] <= 0.626\nsamples = 61\nvalue = [55, 6]\nclass = R", fillcolor="#e88f4f"] ;
20 -> 21 ;
22 [label="X[36] <= 0.911\nsamples = 57\nvalue = [54, 3]\nclass = R", fillcolor="#e68844"] ;
21 -> 22 ;
23 [label="X[57] <= 0.002\nsamples = 56\nvalue = [54, 2]\nclass = R", fillcolor="#e68640"] ;
22 -> 23 ;
24 [label="X[58] <= 0.004\nsamples = 6\nvalue = [4, 2]\nclass = R", fillcolor="#f2c09c"] ;
23 -> 24 ;
25 [label="samples = 4\nvalue = [4, 0]\nclass = R", fillcolor="#e58139"] ;
24 -> 25 ;
26 [label="samples = 2\nvalue = [0, 2]\nclass = L", fillcolor="#399de5"] ;
24 -> 26 ;
27 [label="samples = 50\nvalue = [50, 0]\nclass = R", fillcolor="#e58139"] ;
23 -> 27 ;
28 [label="samples = 1\nvalue = [0, 1]\nclass = L", fillcolor="#399de5"] ;
22 -> 28 ;
29 [label="X[32] <= 0.836\nsamples = 4\nvalue = [1, 3]\nclass = L", fillcolor="#7bbeee"] ;
21 -> 29 ;
30 [label="samples = 3\nvalue = [0, 3]\nclass = L", fillcolor="#399de5"] ;
29 -> 30 ;
31 [label="samples = 1\nvalue = [1, 0]\nclass = R", fillcolor="#e58139"] ;
29 -> 31 ;
32 [label="X[19] <= 0.305\nsamples = 5\nvalue = [1, 4]\nclass = L", fillcolor="#6ab6ec"] ;
20 -> 32 ;
33 [label="samples = 1\nvalue = [1, 0]\nclass = R", fillcolor="#e58139"] ;
32 -> 33 ;
34 [label="samples = 4\nvalue = [0, 4]\nclass = L", fillcolor="#399de5"] ;
32 -> 34 ;
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/aipi-machine/decesiontree.git
git@gitee.com:aipi-machine/decesiontree.git
aipi-machine
decesiontree
decesiontree
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385