# US 2008/0306788 A1 · Spen Data Clustering Engine With Outlier Detection

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

- Number: US 2008/0306788 A1
- Document ID: US20080306788A1
- Status: Published application
- Kind: A1
- Application number: 12/029,491
- Filed: 2008-02-12
- Published: 2008-12-11
- Earliest claimed: 2007-06-08
- Assignees: Ketera Technologies, Inc.
- Inventors: Ram Dayal Goyal
- Web page: https://patentgrep.com/patent/US20080306788A1

## CPC

- G06Q 10/00: Administration; Management
- G06Q 10/06375: {Prediction of business process outcome or impact based on a proposed change}
- G06Q 20/108: {Remote banking, e.g. home banking}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

Disclosed herein is a computer implemented method and system for grouping spend items in a list of said spend items, and for detecting outliers. The spend items entered into the spend database are phonetically sorted and grouped into second level clusters by the spend data clustering engine. In the first level of clustering, first level clusters are created by matching the spend items using generated word tokens and sorted sound codes. The unique spend items, in the list generated after first level clustering, are further matched to create second level clusters. The first level clusters are updated based on the second level of clustering. In order to determine discrepancies in clustering and spend, statistically deviating outliers are detected in each second level cluster. This engine provides clustering at configurable levels of accuracy. The engine's specific combination of word token and sound code matching provides accurate results for spend items.

## Claims

### Claim 1

A computer implemented method of grouping spend items in a list of said spend items and detecting outliers, comprising the steps of:
generating word tokens and sound codes for the spend items in said spend item list;
phonetically sorting the spend items using said sound codes;
grouping said phonetically sorted spend items into second level clusters, comprising the steps of:
assigning first level identifiers to the sorted spend items;
sorting the sound codes of each sorted spend item;
creating first level clusters by matching sorted spend items using said word tokens and said sorted sound codes, whereby said first level identifiers of said matched spend items are updated with a common second level identifier;
generating a list of unique spend items, wherein each of said unique spend items represents each of said first level clusters;
creating said second level clusters by matching the unique spend items using the word tokens and sound codes, whereby said second level identifiers of matched unique spend items are updated with a common third level identifier;
updating the first level clusters represented by the unique spend item with said third level identifier; and
detecting statistically deviating outliers in each of the second level clusters;
whereby discrepancies in clustering and spend are determined by grouping the spend items into the second level clusters and detecting the outliers in each of the second level clusters.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, wherein said step of generating the sound codes for each spend item is performed by using a modified metaphone algorithm.

### Claim 3 (depends on 1)

The computer implemented method of claim 1, wherein said step of grouping is agglomerative and the second level clusters are normalized in the form of a table.

### Claim 4 (depends on 1)

The computer implemented method of claim 1, wherein said step of matching comprises setting a matching score threshold for a predetermined accuracy of clustering.

### Claim 5 (depends on 1)

The computer implemented method of claim 1, wherein said step of matching further comprises resolving inaccuracies resulting from spelling mistakes and pronunciation errors of the item descriptions of the spend items.

### Claim 6 (depends on 1)

The computer implemented method of claim 1, wherein said step of matching further comprises calculating a matching score by using string matching criteria, wherein said string matching criteria comprises lengths of the word tokens in item descriptions, Levenshtein distance score, and prefix matching score.

### Claim 7 (depends on 1)

The computer implemented method of claim 1, wherein said step of detecting outliers is performed on a supplier basis.

### Claim 8 (depends on 1)

The computer implemented method of claim 1, wherein said step of detecting outliers comprises determining central tendency of prices of spend items within each of the second level clusters, wherein said central tendency is one of a mean, a median and a mode.

### Claim 9 (depends on 1)

The computer implemented method of claim 1, wherein said step of detecting outliers further comprises setting thresholds for frequent and non-frequent suppliers.

### Claim 10 (depends on 8)

The computer implemented method of claim 8, wherein said step of detecting outliers further comprises comparing statistical deviation of price of a spend item with said central tendency within each of the second level clusters.

### Claim 11 (depends on 1)

The computer implemented method of claim 1, wherein resolution of clustering is set by selectively performing one or more of first level and second level clustering.

### Claim 12

A computer implemented system for grouping spend items in a list of said spend items and detecting possible outliers, comprising:
a word token generator for generating word tokens for the spend items;
a sound code generator for generating sound codes for the spend items;
a sorting module for sorting spend items using said generated sound codes;
a spend data clustering engine for grouping sorted spend items into second level clusters, using said generated word tokens and the sound codes, comprising:
a level 1 clustering engine for creating first level clusters;
a level 2 clustering engine for creating said second level clusters; and
an outlier detection engine for detecting statistically deviating outliers in each of the second level clusters.

### Claim 13 (depends on 12)

The computer implemented system of claim 12, wherein said spend item list is one of a machine readable format, and a machine readable database.

### Claim 14 (depends on 12)

The computer implemented system of claim 12 further comprising a file read/write module for reading the inputted spend items and writing the processed results to a result file.

### Claim 15 (depends on 12)

The computer implemented system of claim 12, wherein said spend data clustering engine comprises a matching engine, wherein said matching engine performs matching of the word tokens, and calculates a matching score by using string matching criteria.

### Claim 16 (depends on 15)

The computer implemented system of claim 15, wherein said string matching criteria comprises lengths of the word tokens in item descriptions, Levenshtein distance score, and prefix matching score.

### Claim 17

A computer program product comprising computer executable instructions embodied in a computer-readable medium, wherein said computer program product comprises:
a first computer parsable program code for generating word tokens and sound codes for spend items;
a second computer parsable program code for phonetically sorting said spend items using said sound codes;
a third computer parsable program code for grouping said phonetically sorted spend items into second level clusters, further comprising:
a fourth computer parsable program code for assigning first level identifiers to the sorted spend items;
a fifth computer parsable program code for sorting the sound codes of each sorted spend item;
a sixth computer parsable program code for creating first level clusters by matching sorted spend items using said word tokens and said sorted sound codes, whereby said first level identifiers of said matched spend items are updated with a common second level identifier;
a seventh computer parsable program code for generating a list of unique spend items, wherein each of said unique spend items represents each of said first level clusters;
a eighth computer parsable program code for creating said second level clusters by matching the unique spend items using the word tokens and said sorted sound codes, whereby the said second level identifiers of matched unique spend items are updated with a common third level identifier;
a ninth computer parsable program code for updating the first level clusters represented by the unique spend item with said third level identifier; and
a tenth computer parsable program code for detecting statistically deviating outliers in each of the second level clusters to determine discrepancies in clustering and spend.

### Claim 18 (depends on 17)

The computer program product of claim 17 further comprising an eleventh computer parsable program code for resolving inaccuracies resulting from spelling mistakes and pronunciation errors of the item descriptions of the spend items.

### Claim 19 (depends on 17)

The computer program product of claim 17 further comprising a twelfth computer parsable program code for setting a matching score threshold for a predetermined accuracy level of clustering.

### Claim 20 (depends on 17)

The computer program product of claim 17 further comprising a thirteenth computer parsable program code for calculating a matching score by using string matching criteria, wherein said string matching criteria comprises length of words in item descriptions and Levenshtein distance score, and prefix matching score.

### Claim 21 (depends on 17)

The computer program product of claim 17 further comprising a fourteenth computer parsable program code for determining central tendency of prices of spend items within each of the second level clusters, wherein said central tendency is one of a mean, a median and a mode.

### Claim 22 (depends on 17)

The computer program product of claim 17 further comprising a fifteenth computer parsable program code for setting thresholds for frequent and non-frequent suppliers.

### Claim 23 (depends on 21)

The computer program product of claim 21 further comprising a sixteenth computer parsable program code for comparing statistical deviation of price of a spend item with said central tendency within each of the second level clusters.
