Use of the UNPIVOT relational operator in the efficient gathering of sufficient statistics for data mining
Abstract
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 b
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 125.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of generating a tabulation of occurrences of one or more class attributes of database records as a combination of other attributes and attribute values in the database records comprising the steps of a) scanning the database records; b) for each scanned database record, reformatting the data within said record from a first record format that includes attribute values for one or more attribute names and values for a selected one or more class attributes into a second record format with records that include combinations of attribute names, attribute values and the values for the selec
- Claim 2Depends on #1
The method of claim 1 wherein the steps of reformatting and groupi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 125 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- Automating the Analysis and Cataloging of Sky Surveys, Advances in Knowledge discovery and Data Mining , Chapter 19, pp. 471 493, Fayyad, Usama M., Djorgovski, S. George and Weir, Nicholas, AAAI Press/The MIT Press, Menlo Park California; Cambridge, MA; London, England (1996).
- Automating the Analysis and Cataloging of Sky Surveys, Advances in Knowledge discovery and Data Mining, Chapter 19, pp. 471-493, Fayyad, Usama M., Djorgovski, S. George and Weir, Nicholas, AAAI Press/The MIT Press, Menlo Park California; Cambridge, MA; London, England (1996).
- Data Mining and Knowledge Discovery: Making Sense Out of Data ,Fayyad, Usama M. Submitted to IEEE Expert, for publication in the special issue on Data mining (Aug., 1996).
- Data Mining and Knowledge Discovery: Making Sense Out of Data,Fayyad, Usama M. Submitted to IEEE Expert, for publication in the special issue on Data mining (Aug., 1996).
- From Digitized Images to Online Catalogs . AI Magazine , pp. 51 66, Fayyad, Usama M., Djorgovski, S.G. and Weir, Nicholas, (Summer 1996).