# US 2024/0256903 A1 · Systems and methods for using machine learning as a segmentation tool

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0256903 A1
- Document ID: US20240256903A1
- Status: Published application
- Kind: A1
- Application number: 18/374,126
- Filed: 2023-09-28
- Published: 2024-08-01
- Earliest claimed: 2023-01-26
- Applicants: The Toronto-Dominion Bank
- Inventors: TRAVIS ADRIAN ENS; MICHAEL CRISTEA; ZIZHUANG TANG; MAHDI GHELICHI
- Web page: https://patentgrep.com/patent/US20240256903A1

## CPC

- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/00: Machine learning
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Various examples are directed to providing segmentation tools using machine learning for executable decision tree generation on graphical user interfaces. For example, a system may generate a segmentation tool for receiving input data from a server including data related to a plurality of attributes of a set of records. The segmentation tool then generates a segmentation user interface for receiving input for parameters relating to features of interest and defined decision tree characteristics for generation of a decision tree having a set of nodes. The segmentation tool may further apply a machine learning model to generate an optimal decision tree based on the input data and the set of parameters. The segmentation tool may further extract a set of statistics related to the optimal decision tree including efficacy graphs and provide for presentation an interactive graphical interface concurrently depicting the optimal decision tree and the set of statistics.

## Claims

### Claim 1

A computerized method of interactive segmentation analysis, the method comprising:
receiving input data from a server, the input data comprising data points related to a plurality of attributes of a set of records;
generating a user interface on a computer device configured to receive input for a set of parameters related to a generation of a decision tree containing a set of nodes, the set of parameters comprising:
a computerized algorithm to employ in creating the decision tree;
constraints pertaining to the algorithm selected comprising selecting the maximum number of leaf nodes if leaf-wise is selected, or selecting the maximum depth if depth-wise is selected;
a minimum number of records to be divided into each node of the decision tree; and
a set of attributes for consideration by the decision tree from the plurality of attributes contained in the input data;
generating, using a machine learning model, an optimal decision tree containing a plurality of nodes based on the input data and the set of parameters;
extracting a set of statistics related to the optimal decision tree, wherein the set of statistics comprises information pertaining to the plurality of nodes of the optimal decision tree and indicative of reasoning for generation of the optimal decision tree and associated efficacy metrics for each of the attributes considered; and
providing, for presentation on the user interface, an interactive graphical interface concurrently depicting the optimal decision tree and the set of statistics.

### Claim 2 (depends on 1)

The method of claim 1, wherein the algorithm comprises at least one of: a tree growth model, depth-wise, and leaf-wise tree generation modes.

### Claim 3 (depends on 1)

The method of claim 1, wherein the optimal decision tree presented on the graphical interface is further configured to receive inputs from a user to alter the optimal decision tree presented on the graphical interface.

### Claim 4 (depends on 3)

The method of claim 3, wherein the inputs to alter the optimal decision tree on the graphical interface includes user interface requests received directly on the decision tree nodes generated on the user interface to combine sub-nodes of a node within the optimal decision tree presented on the graphical interface, via regeneration of the optimal decision tree by the machine learning model.

### Claim 5 (depends on 3)

The method of claim 3, wherein the inputs to alter the optimal decision tree presented on the graphical interface includes user interface requests to alter a manner in which a particular node of the optimal decision tree divides into its sub-nodes, via regeneration of the optimal decision tree by the machine learning model.

### Claim 6 (depends on 5)

The method of claim 5, wherein the inputs to alter presentation of the particular node of the optimal decision tree on the graphical interface divides into its sub-nodes includes altering the number of samples divided into each of the sub-nodes via regeneration of the optimal decision tree by the machine learning model.

### Claim 7 (depends on 3)

The method of claim 3, wherein the inputs to alter the optimal decision tree on the graphical interface comprise a user interface menu to allow custom splitting of a selected node of the optimal decision tree to create two new leaf nodes from the selected node which then represents an internal node.

### Claim 8 (depends on 3)

The method of claim 3, wherein the input to alter the optimal decision tree on the graphical interface further comprise a user interface menu to graft a first tree onto a second tree via selection and dragging one tree displayed on the user interface onto another thereby causing regeneration of the optimal decision tree including the first and the second tree.

### Claim 9 (depends on 1)

The method of claim 1, wherein the machine learning model is a supervised machine learning model trained on a set of known outcomes and known attributes to generate the optimized decision tree from the set of parameters.

### Claim 10 (depends on 9)

The method of claim 9, wherein the machine learning model is an xGBoost model.

### Claim 11

A system comprising a computer having at least one processor and a non-transient storage medium storing computer readable instructions, that when executed by said at least one processor of the computer, cause the computer to perform operations comprising:
receiving input data from a server, the input data comprising data points related to a plurality of attributes of a set of records;
generating a user interface on a computer device configured to receive input for a set of parameters related to a generation of a decision tree containing a set of nodes, the set of parameters comprising:
a computerized algorithm to employ in creating the decision tree;
constraints pertaining to the algorithm selected comprising selecting the maximum number of leaf nodes if leaf-wise is selected, or selecting the maximum depth if depth-wise is selected;
a minimum number of records to be divided into each node of the decision tree; and
a set of attributes for consideration by the decision tree from the plurality of attributes contained in the input data;
generating, using a machine learning model, an optimal decision tree containing a plurality of nodes based on the input data and the set of parameters;
extracting a set of statistics related to the optimal decision tree, wherein the set of statistics comprises information pertaining to the plurality of nodes of the optimal decision tree and indicative of reasoning for generation of the optimal decision tree and associated efficacy metrics for each of the attributes considered; and
providing, for presentation on the user interface, an interactive graphical interface concurrently depicting the optimal decision tree and the set of statistics.

### Claim 12 (depends on 11)

The system of claim 11, wherein the algorithm comprises at least one of: a tree growth model, depth-wise, and leaf-wise tree generation modes.

### Claim 13 (depends on 11)

The system of claim 11, wherein the optimal decision tree presented on the graphical interface is further configured to receive inputs from a user to alter the optimal decision tree presented on the graphical interface.

### Claim 14 (depends on 13)

The system of claim 13, wherein the inputs to alter the optimal decision tree on the graphical interface includes user interface requests received directly on the decision tree nodes generated on the user interface to combine sub-nodes of a node within the optimal decision tree presented on the graphical interface, via regeneration of the optimal decision tree by the machine learning model.

### Claim 15 (depends on 13)

The system of claim 13, wherein the inputs to alter the optimal decision tree presented on the graphical interface includes user interface requests to alter a manner in which a particular node of the optimal decision tree divides into its sub-nodes, thereby the instructions causing operations comprising regeneration of the optimal decision tree by the machine learning model.

### Claim 16 (depends on 15)

The system of claim 15, wherein the inputs to alter presentation of the particular node of the optimal decision tree on the graphical interface divides into its sub-nodes includes altering the number of samples divided into each of the sub-nodes thereby the instructions causing operations comprising regeneration of the optimal decision tree by the machine learning model.

### Claim 17 (depends on 13)

The system of claim 13, wherein the inputs to alter the optimal decision tree on the graphical interface comprise a user interface menu to allow custom splitting of a selected node of the optimal decision tree to create two new leaf nodes from the selected node which then represents an internal node.

### Claim 18 (depends on 13)

The system of claim 13, wherein the input to alter the optimal decision tree on the graphical interface further comprise a user interface menu to graft a first tree onto a second tree via selection and dragging one tree displayed on the user interface onto another thereby the instructions causing operations comprising regeneration of the optimal decision tree including the first and the second tree.

### Claim 19 (depends on 11)

The system of claim 11, wherein the machine learning model is a supervised machine learning model trained on a set of known outcomes and known attributes to generate the optimized decision tree from the set of parameters.

### Claim 20 (depends on 19)

The system of claim 19, wherein the machine learning model is an xGBoost model.

### Claim 21

A non-transitory machine-readable medium comprising instruction thereon that, when executed by a processor unit, causes the processor unit to perform operations comprising:
receiving input data from a server, the input data comprising data points related to a plurality of attributes of a set of records;
generating a user interface on a computer device configured to receive input for a set of parameters related to a generation of a decision tree containing a set of nodes, the set of parameters comprising:
a computerized algorithm to employ in creating the decision tree;
constraints pertaining to the algorithm selected comprising selecting the maximum number of leaf nodes if leaf-wise is selected, or selecting the maximum depth if depth-wise is selected;
a minimum number of records to be divided into each node of the decision tree; and
a set of attributes for consideration by the decision tree from the plurality of attributes contained in the input data;
generating, using a machine learning model, an optimal decision tree containing a plurality of nodes based on the input data and the set of parameters;
extracting a set of statistics related to the optimal decision tree, wherein the set of statistics comprises information pertaining to the plurality of nodes of the optimal decision tree and indicative of reasoning for generation of the optimal decision tree and associated efficacy metrics for each of the attributes considered; and
providing, for presentation on the user interface, an interactive graphical interface concurrently depicting the optimal decision tree and the set of statistics.
