ID3决策树及随机森林.zip

上传者: 49101550 | 上传时间: 2021-07-25 22:06:07 | 文件大小: 60KB | 文件类型: ZIP
使用ID3决策树:先运行cut_data.py划分训练集和测试集。然后运行tree_main.py。 使用随机森林:运行forest.py即可。 注:,含有数据集,使用前要修改代码中数据集的路径。

文件下载

资源详情

[{"title":"( 25 个子文件 60KB ) ID3决策树及随机森林.zip","children":[{"title":"test_result.py <span style='color:#111;'> 2.15KB </span>","children":null,"spread":false},{"title":"forest.py <span style='color:#111;'> 3.52KB </span>","children":null,"spread":false},{"title":"树模型.json <span style='color:#111;'> 23.33KB </span>","children":null,"spread":false},{"title":"nursery.csv <span style='color:#111;'> 1.02MB </span>","children":null,"spread":false},{"title":"tree_main.py <span style='color:#111;'> 1.20KB </span>","children":null,"spread":false},{"title":"树模型5.json <span style='color:#111;'> 22.37KB </span>","children":null,"spread":false},{"title":"树模型2.json <span style='color:#111;'> 23.06KB </span>","children":null,"spread":false},{"title":"树模型1.json <span style='color:#111;'> 19.21KB </span>","children":null,"spread":false},{"title":"tree.py <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":".idea","children":[{"title":"misc.xml <span style='color:#111;'> 195B </span>","children":null,"spread":false},{"title":"workspace.xml <span style='color:#111;'> 11.85KB </span>","children":null,"spread":false},{"title":"ID3.iml <span style='color:#111;'> 331B </span>","children":null,"spread":false},{"title":".name <span style='color:#111;'> 3B </span>","children":null,"spread":false},{"title":"树模型 <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"inspectionProfiles","children":[{"title":"profiles_settings.xml <span style='color:#111;'> 174B </span>","children":null,"spread":false}],"spread":false},{"title":"modules.xml <span style='color:#111;'> 285B </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 225B </span>","children":null,"spread":false}],"spread":true},{"title":"树模型4.json <span style='color:#111;'> 19.38KB </span>","children":null,"spread":false},{"title":"cut_data.py <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"__pycache__","children":[{"title":"entropy.cpython-38.pyc <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false},{"title":"cut_data.cpython-38.pyc <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"tree.cpython-38.pyc <span style='color:#111;'> 1.48KB </span>","children":null,"spread":false},{"title":"test_result.cpython-38.pyc <span style='color:#111;'> 1.26KB </span>","children":null,"spread":false}],"spread":true},{"title":"树模型3.json <span style='color:#111;'> 18.79KB </span>","children":null,"spread":false},{"title":"entropy.py <span style='color:#111;'> 1.68KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • yulanqing :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-10-06

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明