Invention Grant
- Patent Title: Evaluating decision trees on a GPU
- Patent Title (中): 评估GPU上的决策树
-
Application No.: US12248536Application Date: 2008-10-09
-
Publication No.: US08290882B2Publication Date: 2012-10-16
- Inventor: Toby Sharp
- Applicant: Toby Sharp
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Lee & Hayes, PLLC
- Main IPC: G06E1/00
- IPC: G06E1/00

Abstract:
Methods and apparatus for evaluating decision trees on a GPU are described. In an embodiment, the structure of a decision tree is converted into a 2D “tree” array with each row representing a node in the tree. Each row comprises details of any child nodes and the parameters which are required to perform the binary test at the node. A pixel shader can then be used to evaluate the decision tree in parallel for each input data point in an input array by navigating through rows in the 2D tree array. For each row, data is read from the input array dependent upon the parameters in the row and the shader moves to another row dependent upon the result of the binary test. On reaching a row which represents a leaf node, the pixel shader outputs evaluation results, such as a leaf node index or a probability distribution over classes.
Public/Granted literature
- US20100094800A1 Evaluating Decision Trees on a GPU Public/Granted day:2010-04-15
Information query