US6324533B1
Expired / Lapsed
US
⏱️ 0.0 years remaining
Integrated database and data-mining system
Assignee: International Business Machines Corp
•
Filing: 1998-05-29
•
Granted: 2001-11-27
•
Expires: 2018-05-29
Abstract
Abstract A method and apparatus for mining data relationships from an integrated database and data-mining system are disclosed. A set of frequent 1-itemsets is generated using a group-by query on data transactions. From these frequent 1-itemsets and the transactions, frequent 2-itemsets are determined. A candidate set of (n+2)-itemsets are generated from the frequent 2-itemsets, where n=1. Frequent (n+2)-itemsets are determined from candidate set and the transaction table using a query operation. The candidate set and frequent (n+2)-itemset are generated for (n+1) until the candidate set is empty. Rules are then extracted from the union of the determined frequent itemsets.
Inventors
- 👤 Rakesh Agrawal
- 👤 Sunita Sarawagi
- 👤 Shiby Thomas
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-10-24 18:52
CPC Classifications
G; G06; G06F; G06F16/00; G06F16/20; G06F16/24; G06F16/245; G06F16/2458; G06F16/2465; G06F2216/00; G06F2216/03; Y; Y10; Y10S; Y10S707/00; Y10S707/99931; Y10S707/99933
Claims Analysis
Total Claims: 36
Claim 1
Independent Claim
113 words
A method for mining rules from an integrated database and data-mining system having a table of data transactions and a query engine, the method comprising the steps of: a) performing a group-by query on the transaction table to generate a set of frequent 1-itemsets; b) determining frequent 2-itemsets from the frequent 1-itemsets and the transaction table; c) generating a candidate set of (n+2)-itemsets from the frequent (n+1)-itemsets, where n=1; d) determining frequent (n+2)-itemsets from the candidate set of (n+2)-itemsets and the transaction table using a query operation; e) repeating steps (c) and (d) with n=n+1 until the candidate set is empty; and f) generating rules from the union of the determined frequent itemsets.
Claim 2
Independent Claim
113 words
A method for mining rules from an integrated database and data-mining system having a table of data transactions and a query engine, the method comprising the steps of: a) performing a group-by query on the transaction table to generate a set of frequent 1-itemsets; b) determining frequent 2-itemsets from the frequent 1-itemsets and the transaction table; c) generating a candidate set of (n+2)-itemsets from the frequent (n+1)-itemsets, where n=1; d) determining frequent (n+2)-itemsets from the candidate set of (n+2)-itemsets and the transaction table using a query operation; e) repeating steps (c) and (d) with n=n+1 until the candidate set is empty; and f) generating rules from the union of the determined frequent itemsets.
Claim 3
Dependent Claim
69 words
The method as recited in claim 1 , wherein: each transaction corresponds to a plurality of items; and the step of performing a group-by query includes the steps of counting the number of transactions that contain each item and selecting the items that have a support above a user-specified threshold in determining the frequent 1-itemsets, the support of an item being the number of transactions that contain the item.
Claim 4
Dependent Claim
18 words
The method as recited in claim 1 , wherein the frequent 2-itemsets are generated using a join query.
Claim 5
Dependent Claim
66 words
The method as recited in claim 3 , wherein the step of determining frequent 2-itemsets includes the steps of: joining an 1-itemset with itself and two copies of the transaction table using join predicates; grouping results of the joining step for a pair of items to count the support of the items in the pair; and removing all 2-itemsets having a support below a specified threshold.
Claim 6
Dependent Claim
19 words
The method as recited in claim 1 , wherein the candidate (n+2)-itemsets are generated using an (n+2)-way join operation.
Claim 7
Dependent Claim
30 words
The method as recited in claim 1 , wherein the frequent (n+2)-itemsets are determined using an (n+3)-way join query, on the candidate itemsets and (n+2) copies of the transaction table.
Claim 8
Dependent Claim
92 words
The method as recited in claim 1 , wherein: the frequent (n+2)-itemsets are determined using cascaded subqueries; and the step of determining frequent (n+2)-itemsets includes the steps of: selecting distinct first items in the candidate itemsets using a subquery; joining the distinct first items with the transaction table; cascading (n+1) subqueries where each j-th subquery is a three-way join of the result of the last subquery, distinct j items from the candidate itemsets, and the transaction table; and determining which of the (n+2)-itemsets are frequent using the results of the last subqueries.
Claim 9
Dependent Claim
66 words
The method as recited in claim 1 , wherein the step of generating rules includes the steps of: putting all items from the frequent itemsets into a table F; generating a set of candidate rules from the table F using a table function; joining the candidate rules with the table F; and filtering out from the candidate rules those that do not meet a confidence criteria.
Claim 10
Dependent Claim
68 words
The method as recited in claim 1 , wherein: the query engine is an object-relational engine; and the steps of generating 2-itemsets and (n+1)-itemsets include the steps of: selecting from Vertical, GatherCount, and GatherJoin a method having the best cost for generating the (n+1)-itemsets; if the Vertical method is selected, then transforming the transaction table into a vertical format; and generating the frequent (n+1)-itemsets using the selected method.
Claim 11
Dependent Claim
26 words
The method as recited in claim 9 wherein the cost for generating the itemsets is based on statistics about the data transactions and the candidate itemsets.
Claim 12
Dependent Claim
16 words
The method as recited in claim 1 , wherein the query engine is an SQL engine.
Claim 13
Dependent Claim
132 words
An integrated data-mining system comprising: a database having a table of data transactions; a query engine coupled to the database; a query preprocessor for generating queries and input parameters for the query engine; means for performing a group-by query on the transaction table to generate a set of frequent 1-itemsets; means for determining frequent 2-itemsets from the frequent 1-itemsets and the transaction table; means for generating a candidate set of (n+2)-itemsets from the frequent (n+1)-itemsets, where n=1; means for determining frequent (n+2)-itemsets from the candidate set of (n+2)-itemsets and the transaction table using a query having cascaded subqueries; means for repeatedly generating the candidate set of (n+2)-itemsets and determining frequent (n+2)-itemsets with n=n+1 until the candidate set is empty; and means for generating rules from the union of the determined frequent itemsets.
Claim 14
Dependent Claim
132 words
An integrated data-mining system comprising: a database having a table of data transactions; a query engine coupled to the database; a query preprocessor for generating queries and input parameters for the query engine; means for performing a group-by query on the transaction table to generate a set of frequent 1-itemsets; means for determining frequent 2-itemsets from the frequent 1-itemsets and the transaction table; means for generating a candidate set of (n+2)-itemsets from the frequent (n+1)-itemsets, where n=1; means for determining frequent (n+2)-itemsets from the candidate set of (n+2)-itemsets and the transaction table using a query having cascaded subqueries; means for repeatedly generating the candidate set of (n+2)-itemsets and determining frequent (n+2)-itemsets with n=n+1 until the candidate set is empty; and means for generating rules from the union of the determined frequent itemsets.
Claim 15
Dependent Claim
184 words
A computer program product for mining rules from an integrated database and data-mining system having a table of data transactions and a query engine, the product comprising: a) means, recorded on the recording medium, for directing the system to perform a group-by query on the transaction table to generate a set of frequent 1-itemsets; b) means, recorded on the recording medium, for directing the system to determine frequent 2-itemsets from the frequent 1-itemsets and the transaction table; c) means, recorded on the recording medium, for directing the system to generate a candidate set of (n+2)-itemsets from the frequent (n+1)-itemsets, where n=1; d) means, recorded on the recording medium, for directing the system to determine frequent (n+2)-itemsets from the candidate set of (n+2)-itemsets and the transaction table using a query operation; e) means, recorded on the recording medium, for directing the system to repeatedly generate the candidate set of (n+2)-itemsets and determine frequent (n+2)-itemsets with n=n+1 until the candidate set is empty; and f) means, recorded on the recording medium, for directing the system to generate rules from the union of the determined frequent itemsets.
Claim 16
Dependent Claim
184 words
A computer program product for mining rules from an integrated database and data-mining system having a table of data transactions and a query engine, the product comprising: a) means, recorded on the recording medium, for directing the system to perform a group-by query on the transaction table to generate a set of frequent 1-itemsets; b) means, recorded on the recording medium, for directing the system to determine frequent 2-itemsets from the frequent 1-itemsets and the transaction table; c) means, recorded on the recording medium, for directing the system to generate a candidate set of (n+2)-itemsets from the frequent (n+1)-itemsets, where n=1; d) means, recorded on the recording medium, for directing the system to determine frequent (n+2)-itemsets from the candidate set of (n+2)-itemsets and the transaction table using a query operation; e) means, recorded on the recording medium, for directing the system to repeatedly generate the candidate set of (n+2)-itemsets and determine frequent (n+2)-itemsets with n=n+1 until the candidate set is empty; and f) means, recorded on the recording medium, for directing the system to generate rules from the union of the determined frequent itemsets.
Claim 17
Dependent Claim
69 words
The data-mining system as recited in claim 12 , wherein: each transaction corresponds to a plurality of items; and the means for performing a group-by query includes means for counting the number of transactions that contain each item and selecting the items that have a support above a user-specified threshold in determining the frequent 1-itemsets, the support of an item being the number of transactions that contain the item.
Claim 18
Dependent Claim
19 words
The data-mining system as recited in claim 12 , wherein the frequent 2-itemsets are generated using a join query.
Claim 19
Dependent Claim
70 words
The data-mining system as recited in claim 15 , wherein the means for determining frequent 2-itemsets includes: means for joining an 1-itemset with itself and two copies of the transaction table using join predicates; means for grouping results of the joining step for a pair of items to count the support of the items in the pair; and means for removing all 2-itemsets having a support below a specified threshold.
Claim 20
Dependent Claim
20 words
The data-mining system as recited in claim 12 , wherein the candidate (n+2)-itemsets are generated using an (n+2)-way join operation.
Claim 21
Dependent Claim
31 words
The data-mining system as recited in claim 12 , wherein the frequent (n+2)-itemsets are determined using an (n+3)-way join query, on the candidate itemsets and (n+2) copies of the transaction table.
Claim 22
Dependent Claim
98 words
The data-mining system as recited in claim 12 , wherein: the frequent (n+2)-itemsets are determined using cascaded subqueries; and the means for determining frequent (n+2)-itemsets includes: means for selecting distinct first items in the candidate itemsets using a subquery; means for joining the distinct first items with the transaction table; means for cascading (n+1) subqueries where each j-th subquery is a three-way join of the result of the last subquery, distinct j items from the candidate itemsets, and the transaction table; and means for determining which of the (n+2)-itemsets are frequent using the results of the last subqueries.
Claim 23
Dependent Claim
72 words
The data-mining system as recited in claim 12 , wherein the means for generating rules includes: means for putting all items from the frequent itemsets into a table F; means for generating a set of candidate rules from the table F using a table function; means for joining the candidate rules with the table F; and means for filtering out from the candidate rules those that do not meet a confidence criteria.
Claim 24
Dependent Claim
72 words
The data-mining system as recited in claim 12 , wherein: the query engine is an object-relational engine; and the means for generating 2-itemsets and (n+1)-itemsets include: means for selecting from Vertical, GatherCount, and GatherJoin a method having the best cost for generating the (n+1)-itemsets; if the Vertical method is selected, then means for transforming the transaction table into a vertical format; and means for generating the frequent (n+1)-itemsets using the selected method.
Claim 25
Dependent Claim
28 words
The data-mining system as recited in claim 21 , wherein the cost for generating the itemsets is based on statistics about the data transactions and the candidate itemsets.
Claim 26
Dependent Claim
17 words
The data-mining system as recited in claim 12 , wherein the query engine is an SQL engine.
Claim 27
Dependent Claim
79 words
The product as recited in claim 13 , wherein: each transaction corresponds to a plurality of items; and the means for directing to perform a group-by query includes means, recorded on the recording medium, for directing the system to count the number of transactions that contain each item and selecting the items that have a support above a user-specified threshold in determining the frequent 1-itemsets, the support of an item being the number of transactions that contain the item.
Claim 28
Dependent Claim
18 words
The product as recited in claim 13 , wherein the frequent 2-itemsets are generated using a join query.
Claim 29
Dependent Claim
98 words
The product as recited in claim 25 , wherein the means for directing to determine frequent 2-itemsets includes: means, recorded on the recording medium, for directing the system to join an 1-itemset with itself and two copies of the transaction table using join predicates; means, recorded on the recording medium, for directing the system to group results of the joining step for a pair of items to count the support of the items in the pair; and means, recorded on the recording medium, for directing the system to remove all 2-itemsets having a support below a specified threshold.
Claim 30
Dependent Claim
19 words
The product as recited in claim 13 , wherein the candidate (n+2)-itemsets are generated using an (n+2)-way join operation.
Claim 31
Dependent Claim
30 words
The product as recited in claim 13 , wherein the frequent (n+2)-itemsets are determined using an (n+3)-way join query, on the candidate itemsets and (n+2) copies of the transaction table.
Claim 32
Dependent Claim
135 words
The product as recited in claim 13 , wherein: the frequent (n+2)-itemsets are determined using cascaded subqueries; and the means for directing to determine frequent (n+2)-itemsets includes: means, recorded on the recording medium, for directing the system to select distinct first items in the candidate itemsets using a subquery; means, recorded on the recording medium, for directing the system to join the distinct first items with the transaction table; means, recorded on the recording medium, for directing the system to cascade (n+1) subqueries where each j-th subquery is a three-way join of the result of the last subquery, distinct j items from the candidate itemsets, and the transaction table; and means, recorded on the recording medium, for directing the system to determine which of the (n+2)-itemsets are frequent using the results of the last subqueries.
Claim 33
Dependent Claim
109 words
The product as recited in claim 13 , wherein the means for directing to generate rules includes: means, recorded on the recording medium, for directing the system to put all items from the frequent itemsets into a table F; means, recorded on the recording medium, for directing the system to generate a set of candidate rules from the table F using a table function; means, recorded on the recording medium, for directing the system to join the candidate rules with the table F; and means, recorded on the recording medium, for directing the system to filter out from the candidate rules those that do not meet a confidence criteria.
Claim 34
Dependent Claim
102 words
The product as recited in claim 13 , wherein: the query engine is an object-relational engine; and the means for directing the system to generate 2-itemsets and (n+1)-itemsets include: means, recorded on the recording medium, for directing the system to select from Vertical, GatherCount, and GatherJoin a method having the best cost for generating the (n+1)-itemsets; if the Vertical method is selected, then means, recorded on the recording medium, for directing the system to transform the transaction table into a vertical format; and means, recorded on the recording medium, for directing the system to generate the frequent (n+1)-itemsets using the selected method.
Claim 35
Dependent Claim
27 words
The product as recited in claim 31 , wherein the cost for generating the itemsets is based on statistics about the data transactions and the candidate itemsets.
Claim 36
Dependent Claim
16 words
The product as recited in claim 13 , wherein the query engine is an SQL engine.
References Cited (Backward Citations)
US5664171A
Cited
US5615341A
Cited
US5664174A
Cited
US5724573A
Cited
US5832482A
Cited
US5970464A
Cited
US6094645A
Cited
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 2004-11-26 | 2005-05-28 | 2005-11-27 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 2008-11-26 | 2009-05-28 | 2009-11-27 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2012-11-26 | 2013-05-28 | 2013-11-27 | $7700.00 | Window Closed / Lapsed |