# US 10,956,450 B2 · Dense subset clustering

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

- Number: US 10,956,450 B2
- Document ID: US10956450B2
- Status: Granted
- Kind: B2
- Application number: 15/082,267
- Filed: 2016-03-28
- Published: 2017-09-28
- Granted: 2021-03-23
- Earliest claimed: 2016-03-28
- Assignees: salesforce.com, inc.
- Applicants: salesforce.com, inc.
- Inventors: Dai Duong Doan; Arun Kumar Jagota
- Web page: https://patentgrep.com/patent/US10956450B2

## CPC

- G06F 16/285: {Clustering or classification}
- G06F 16/2246: {Trees, e.g. B+trees}
- G06F 16/24578: {using ranking}
- G06F 16/287: {Visualization; Browsing}
- G06F 16/24575: {using context}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Some embodiments of the present invention include a method for determining a dense subset from a group of records using a graphical representation of the group of records, the graphical representation having nodes and edges, a node associated with a record from the group of records, an edge connecting two nodes associated with two related records, wherein a node is associated with a weight corresponding to a number of edges connected to the node, wherein a record is added to the dense subset based on its associated node having a highest weight and a density that satisfies a density threshold, the density being based on the content of the dense subset, and wherein the content of the dense subset is to be processed as including duplicate records.

## Claims

### Claim 1

A computer-implemented method for determining a dense subset from a group of records using a graphical representation, the method comprising:
providing, by a database system, a graphical representation of the group of records, the graphical representation having a plurality of nodes and a plurality of edges, each node being associated with a record from the group of records and each edge being defined as a connection between two nodes, each edge symbolizing that the records associated with the two connected nodes are related;
associating, by the database system, a weight to each of the plurality of nodes, the weight being defined as equal to a number of edges connected to each node;
generating, by the database system, a first dense subset of records by:
adding a first record associated with a first node based on the first node having a highest weight among the plurality of nodes; and
adding a second record associated with a second node having a highest weight amongst nodes connected to the first node by an edge in the graphical representation;
identifying, by the database system, a node from the graphical representation (1) that is associated with a record that is not part of the first dense subset and (2) has a highest associated weight among a group of nodes associated with records outside of the records within the first dense subset;
determining, by the database system, a density of the identified node, the density being equal to a number of nodes associated with records in the first dense subset that are connected to the identified node divided by a total number of nodes associated with records within the first dense subset;
adding, by the database system, the record associated with the identified node to the first dense subset of records when the density of the identified node satisfies a density threshold;
identifying, by the database system, a duplicate record from the first dense subset of records using match rules to compare records within the first dense subset to each other; and
removing, by the database system, the duplicate record from the first dense subset of records.

### Claim 2 (depends on 1)

The method of claim 1, the generating the first dense subset of records further comprising adding a plurality of records to the first dense subset, wherein each of the added plurality of records are associated with nodes connected to the first node.

### Claim 3 (depends on 2)

The method of claim 2, further comprising determining a density of a third node based on (a) a number of nodes that the third node is connected to in the first dense subset and (b) a total number of nodes in the first dense subset.

### Claim 4 (depends on 3)

The method of claim 3, wherein the third record is added to the first dense subset based on the third node having a highest weight and based on the density of the third node satisfying the density threshold, wherein the highest weight of the third node is determined excluding weights of nodes associated with records already in the first density subset.

### Claim 5 (depends on 4)

The method of claim 4, wherein the third record is not added to the first dense subset if addition of the third record causes a density of any node associated with the content of the first dense subset to decrease and fail the density threshold.

### Claim 6 (depends on 5)

The method of claim 5, wherein the density of one or more of the first node, second node and the third node is changeable based on the content of the first dense subset being updated.

### Claim 7 (depends on 6)

The method of claim 6, wherein addition of records into the first dense subset is completed based on finding no other node in the graphical representation having a density satisfying the density threshold.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
removing nodes associated with the content of the first dense subset from the graphical representation; and
determining a second dense subset from the graphical representation after said removing of the nodes from the graphical representation.

### Claim 9

An apparatus for identifying duplicate records in a database object, the apparatus comprising:
one or more processors; and
a non-transitory computer readable medium storing a plurality of instructions, which when executed, cause the one or more processors to:
provide a graphical representation of the group of records, the graphical representation having a plurality of nodes and a plurality of edges, each node being associated with a record from the group of records and each edge being defined as a connection between two nodes, each edge symbolizing that the records associated with the two connected nodes are related;
associate a weight to each of the plurality of nodes, the weight being defined as equal to a number of edges connected to each node;
generate, by the database system, a first dense subset of records by:
adding a first record associated with a first node based on the first node having a highest weight among the plurality of nodes; and
adding a second record associated with a second node having a highest weight amongst nodes connected to the first node by an edge in the graphical representation;
identify a node from the graphical representation (1) that is associated with a record that is not part of the first dense subset and (2) has a highest weight among a group of nodes that are associated with a group of records outside of the records within the first dense subset;
determine a density of the identified node, the density being equal to a number of nodes associated with records in the first dense subset that are connected to the identified node divided by a total number of nodes associated with records within the first dense subset;
add the record associated with the identified node to the first dense subset of records when the density of the identified node satisfies a density threshold;
identifying, by the database system, a duplicate record from the first dense subset of records using match rules to compare records within the first dense subset to each other; and
removing, by the database system, the duplicate record from the first dense subset of records.

### Claim 10 (depends on 9)

The apparatus of claim 9, the generating the first dense subset of records further comprising adding a plurality of records to the first dense subset, wherein each of the added plurality of records are associated with nodes connected to the first node.

### Claim 11 (depends on 10)

The apparatus of claim 10, further comprising instructions to determine a density of a third node based on (a) a number of nodes that the third node is connected to in the first dense subset and (b) a total number of nodes in the first dense subset.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the third record is added to the first dense subset based on the third node having a highest weight and based on the density of the third node satisfying the density threshold, wherein the highest weight of the third node is determined excluding weights of nodes associated with records already in the first density subset.

### Claim 13 (depends on 12)

The apparatus of claim 12, wherein the third record is not added to the first dense subset if addition of the third record causes a density of any node associated with the content of the first dense subset to decrease and fail the density threshold.

### Claim 14 (depends on 13)

The apparatus of claim 13, wherein the density of one or more of the first node, second node and the third node is changeable based on the content of the first dense subset being updated.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein addition of records into the first dense subset is completed based on finding no other node in the graphical representation having a density satisfying the density threshold.

### Claim 16 (depends on 15)

The apparatus of claim 15, further comprising:
removing nodes associated with the content of the first dense subset from the graphical representation; and
determining a second dense subset from the graphical representation after said removing of the nodes from the graphical representation.

### Claim 17

A computer program product comprising computer-readable program code to be executed by one or more processors when retrieved from a non-transitory computer-readable medium, the program code including instructions to:
provide a graphical representation of the group of records, the graphical representation having a plurality of nodes and a plurality of edges, each node being associated with a record from the group of records and each edge being defined as a connection between two nodes, each edge symbolizing that the records associated with the two connected nodes are related;
associate a weight to each of the plurality of nodes, the weight being defined as equal to a number of edges connected to each node;
generate a first dense subset of records by:
selecting adding a first record associated with a first node based on the first node having a highest weight among the plurality of nodes; and
adding a second record associated with a second node having a highest weight amongst nodes connected to the first node by an edge in the graphical representation;
identify a node from the graphical representation (1) that is associated with a record that is not part of the first dense subset and (2) has a highest weight among a group of nodes that are associated with a group of records outside of the records within the first dense subset;
determine a density of the identified node, the density being equal to a number of nodes associated with records in the first dense subset that are connected to the identified node divided by a total number of nodes associated with records within the first dense subset;
add the record associated with the identified node to the first dense subset of records when the density of the identified node satisfies a density threshold;
identify a duplicate record from the first dense subset of records using match rules to compare records within the first dense subset to each other; and
remove the duplicate record from the first dense subset of records.

### Claim 18 (depends on 17)

The computer program product of claim 17, the generating the first dense subset of records further comprising adding a plurality of records to the first dense subset, wherein each of the added plurality of records are associated with nodes connected to the first node.

### Claim 19 (depends on 18)

The computer program product of claim 18, further comprising determining a density of a third node based on (a) a number of nodes that the third node is connected to in the first dense subset and (b) a total number of nodes in the first dense subset.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the third record is added to the first dense subset based on the third node having a highest weight and based on the density of the third node satisfying the density threshold, wherein the highest weight of the third node is determined excluding weights of nodes associated with records already in the first density subset.

### Claim 21 (depends on 20)

The computer program product of claim 20, wherein the third record is not added to the first dense subset if addition of the third record causes a density of any node associated with the content of the first dense subset to decrease and fail the density threshold.

### Claim 22 (depends on 21)

The computer program product of claim 21, wherein the density of one or more of the first node, second node and the third node is changeable based on the content of the first dense subset being updated.

### Claim 23 (depends on 22)

The computer program product of claim 22, wherein addition of records into the first dense subset is completed based on finding no other node in the graphical representation having a density satisfying the density threshold.

### Claim 24 (depends on 23)

The computer program product of claim 23, wherein the program code includes further instructions to:
remove nodes associated with the content of the first dense subset from the graphical representation; and
determine a second dense subset from the graphical representation after said removing of the nodes from the graphical representation.
