ID3算法的实现与测试。
文件 | 描述 |
---|---|
id3.py | 实现ID3算法,并包括使用示例 |
golf.csv | 示例用高尔夫数据 |
dree/dree.pdf | Dot格式决策树/渲染后的决策树 |
mushroom_data | UCI蘑菇分类数据以及生成的决策树 |
nursery_data | UCI Nursery数据集以及生成的决策树 |
本项目依赖于数个包,可以使用以下命令快速安装。
pip install -r ./requirements.txt
A python implementation of ID3.
ID3算法的实现与测试。
文件 | 描述 |
---|---|
id3.py | 实现ID3算法,并包括使用示例 |
golf.csv | 示例用高尔夫数据 |
dree/dree.pdf | Dot格式决策树/渲染后的决策树 |
mushroom_data | UCI蘑菇分类数据以及生成的决策树 |
nursery_data | UCI Nursery数据集以及生成的决策树 |
本项目依赖于数个包,可以使用以下命令快速安装。
pip install -r ./requirements.txt
A python implementation of ID3.