Rethink Tree Traversal

Jinxiong Zhang
2024-06-18
Abstract:We will show how to implement binary decision tree traversal in the language of matrix computation. Our main contribution is to propose some equivalent algorithms of binary tree traversal based on a novel matrix representation of the hierarchical structure of the decision tree. Our key idea is to travel the binary decision tree by maximum inner product search. We not only implement decision tree methods without the recursive traverse but also delve into the partitioning nature of tree-based methods.
Machine Learning,Data Structures and Algorithms,Numerical Analysis
What problem does this paper attempt to address?