×

Article and method for finding a compact representation to visualize complex decision trees

  • US 7,831,526 B1
  • Filed: 08/27/2007
  • Issued: 11/09/2010
  • Est. Priority Date: 08/25/2006
  • Status: Active Grant
First Claim
Patent Images

1. A computer implemented method for transforming a decision tree having a plurality of variables, a root node, intermediate nodes, and leaf nodes into an optimized compact graphical representation for display to a user, comprising:

  • inputting the decision tree;

    converting the leveled, read-once decision tree into a collection of independent decision chains, each of the independent decision chains having one level for each variable and wherein the variables are arranged in the same order, thereby creating a decision chain set structure;

    normalizing the decision chain structure and merging the leaf nodes;

    constructing an ordered power set from the plurality of variables to form elements comprising one or more variables;

    computing an optimal model graph for each element of the ordered power set having cardinality of one;

    computing an optimal model graph for each element of the power set having cardinality greater than one;

    selecting an optimal model graph for an element of the power set containing all variables;

    transforming the selected optimal model graph to an optimal model graph having a single root node;

    selecting a global exception from the optimal model graph having a single root node; and

    ,creating an exception-based directed acyclic graph from the optimal model having a single root node graph wherein the exception-based directed acyclic graph is comprised of the least number of nodes and the root node is associated with the global exception, thereby creating an optimized and compact representation of the original input decision tree for display to a user;

    wherein computing an optimal model graph for all element sets having a cardinality greater than one further comprises;

    selecting and removing a variable from each element to form a complimentary corresponding subset comprised of remaining variables of the element;

    retrieving a previously computed optimal model graph for the complementary subset from storage and making a copy of the optimal model graph of the complementary subset;

    moving all nodes for the selected variable in the copied optimal model graph downward in each decision chain until all nodes corresponding to remaining variables in the complementary subset are below nodes for the selected variable and all nodes for variables not in the element are above nodes for the selected variable;

    simplifying a nodal structure of the of the copied optimal model graph by merging redundant nodes of the selected variable to create a merged model;

    computing the number of nodes on levels corresponding to variables from the element;

    checking storage for an available model for the element;

    if an available model does not exist in storage, placing the merged model in memory storage;

    if a stored model does exist, determining if the stored model has more nodes than the current model on the levels corresponding to variables from the element;

    if the stored model has more nodes, replacing the existing model in storage with the current model.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×