USE OF THE UNPIVOT RELATIONAL OPERATOR IN THE EFFICIENT GATHERING OF SUFFICIENT STATISTICS FOR DATA MINING

Patent №

US 6,044,366

Granted

2000-03-28

Filed 1998

Owner

MICROSOFT CORPORATION

AI components

2

ml · hardware

Assignment

Recorded

Dataset

AIPD

2023_r1 edition

Application

09029953

The invention concerns a method and apparatus for generating a tabulation of counts of occurrences of value combinations of a set of attributes over a relation consisting of a set of database records. The gathered counts (also referred to as sufficient statistics) of attribute occurrences or correlation counts is most preferably used in building a classification or density estimation model from the database records that can be used to predict some attribute values based on other attribute values. A new SQL operator designated the `UNPIVOT` operator operates by scanning the database records and for each record reorganizes that data to form an UNPIVOTED data record that include the combinations of attribute name, attribute value and the values for one or more selected class attributes. The UNPIVOTED table can be used to produce the desired sufficient statistics in one scan of the data using standard database engines. While materialization of UNPIVOTED table would cause a large added scan cost overhead, the UNPIVOT operator allows us to achieve the counts without the added cost by combining the UNPIVOT operator with other SQL `select` and `group by` operators the UNPIVOTED table can be counted without the need for materializing it. The result is a guaranteed one pass algorithm that does not incur the added scan cost factor. The savings in scan cost can extend to several orders of magnitude compared to other methodologies for getting the counts supported by current database engines. The sufficient statistics so gathered can be used to drive a variety of data mining algorithms.

Machine learningAI hardwareG06F 16/283Y10S 707/99932Y10S 707/99933Y10S 707/99934Y10S 707/99936Y10S 707/99943

AI classification

AI hardware1.00
Machine learning0.81
Planning0.12
Knowledge representation0.06
Vision0.03
Natural language0.01
Evolutionary computation0.00
Speech0.00

Ownership

MICROSOFT CORPORATION

assignment · 90600064

Assignors

GRAFFE, GOETZ, FAYYAD, USAMA, CHAUDHURI, SURAJIT

On an employer assignment, the assignors are typically the inventors.

© 2026 NYSGPT2525 LLC