Döntésfák
Döntésfák, or decision trees, are a supervised machine learning technique used for both classification and regression tasks. They are structured as a tree-like graph where internal nodes represent tests on an attribute, branches represent the outcome of the test, and leaf nodes represent a class label (in classification) or a continuous value (in regression). The process of using a decision tree involves starting at the root node and traversing down the tree by following the branches that correspond to the values of the data's attributes. This continues until a leaf node is reached, which then provides the prediction.
The construction of a decision tree involves recursively partitioning the data based on the attribute that
Decision trees are popular due to their interpretability; the decision-making process can be easily visualized and