Applied Sciences (Nov 2024)
Guided Decision Tree: A Tool to Interactively Create Decision Trees Through Visualization of Subsequent LDA Diagrams
Abstract
Decision trees are a widely used machine learning technique due to their ease of interpretation and construction. This method allows domain experts to learn from raw data, but they cannot include their prior knowledge in the analysis due to its automatic nature, which implies minimal human intervention in its computation. Conversely, interactive visualization methods have proven to be effective in gaining insights from data, as they incorporate the researcher’s criteria into the analysis process. In an effort to combine both methodologies, we have developed a tool to manually build decision trees according to subsequent visualizations of data mapping after applying linear discriminant analysis in combination with Star Coordinates in order to analyze the importance of each feature in the separation. The nodes’ information contains data about the features that can be used to split and their cut-off values, in order to select them in a guided manner. In this way, it is possible to produce simpler and more expertly driven decision trees than those obtained by automatic methods. The resulting decision trees reduces the tree size compared to those generated by automatic machine learning algorithms, obtaining a similar accuracy and therefore improving their understanding. The tool developed and presented here to manually create decision trees in a guided manner based on the subsequent visualizations of the data mapping facilitates the use of this method in real-world applications. The usefulness of this tool is demonstrated through a case study with a complex dataset used for motion recognition, where domain experts built their own decision trees by applying their prior knowledge and the visualizations provided by the tool in node construction. The resulting trees are more comprehensible and explainable, offering valuable insights into the data and confirming the relevance of upper body features and hand movements for motion recognition.
Keywords