Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mickvanhulst/dm_id3_dt_project
Decision tree project for data mining Yoeri van Bruchem and Mick van Hulst (RU)
https://github.com/mickvanhulst/dm_id3_dt_project
Last synced: 2 months ago
JSON representation
Decision tree project for data mining Yoeri van Bruchem and Mick van Hulst (RU)
- Host: GitHub
- URL: https://github.com/mickvanhulst/dm_id3_dt_project
- Owner: mickvanhulst
- Created: 2017-11-16T10:10:07.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-02-12T13:48:33.000Z (almost 7 years ago)
- Last Synced: 2024-08-01T15:14:22.505Z (5 months ago)
- Language: Python
- Homepage:
- Size: 3.05 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - dm_id3_dt_project - Decision tree project for data mining Yoeri van Bruchem and Mick van Hulst (RU) (Python)
README
# ID3 Decision Tree classifier
This is a project created by the students Yoeri van Bruchem and Mick van Hulst for the course Data Mining at the Radboud University.# How to
1. Clone the repo on your local pc.
2. Open a terminal and run: 'pip3 install -r requirements.txt' (pip3 is used for Python 3)
3. (optional*)Install [Graphviz](https://graphviz.gitlab.io/download/).
4. (optional) The algorithm uses pre-pruning by default and does not apply a maximum tree depth. The user can change the following parameters:
- pruning_type: can be set to either 'pre' or 'post' for either pre- or post-pruning.
- max_depth: can be set to establish a maximum tree depth (has to be higher than zero). This may only be a natural number. Non-natural numbers are automatically converted. Use 'None' if you do not want
to apply a max tree depth (i.e. this is the default value for the class, so you may also choose to remove the parameter as an input).
4. Run 'main.py' using Python3.# Important
*This is if you'd like the algorithm to chart the tree itself. This requires some manual input in the code by the user. The user has to add the path to his GraphViz folder in the code (see variable 'path' in main.py). Keep in mind
that the function to draw the tree is commented by default.