Overview of Decision Tree library
masterDecision Tree is a Ruby library that implements the ID3 (information gain) algorithm for decision tree learning. It supports both discrete and continuous datasets.
- Discrete models: Assume unique labels and can be graphed and converted into PNGs for visual analysis.
- Continuous models: Iteratively choose the best threshold between all possible assignments for a variable, resulting in a binary tree partitioned by thresholds (e.g.,
temperature > 20C).