• Home
  • Search
  • Horizontal Aggregations in SQL to Prepare Data Sets for Data Mining Analysis
  • Cite Icon52
  • https://doi.org/10.1109/tkde.2011.16Copy DOI Icon

Horizontal Aggregations in SQL to Prepare Data Sets for Data Mining Analysis

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

Preparing a data set for analysis is generally the most time consuming task in a data mining project, requiring many complex SQL queries, joining tables, and aggregating columns. Existing SQL aggregations have limitations to prepare data sets because they return one column per aggregated group. In general, a significant manual effort is required to build data sets, where a horizontal layout is required. We propose simple, yet powerful, methods to generate SQL code to return aggregated columns in a horizontal tabular layout, returning a set of numbers instead of one number per row. This new class of functions is called horizontal aggregations. Horizontal aggregations build data sets with a horizontal denormalized layout (e.g., point-dimension, observation-variable, instance-feature), which is the standard layout required by most data mining algorithms. We propose three fundamental methods to evaluate horizontal aggregations: CASE: Exploiting the programming CASE construct; SPJ: Based on standard relational algebra operators (SPJ queries); PIVOT: Using the PIVOT operator, which is offered by some DBMSs. Experiments with large tables compare the proposed query evaluation methods. Our CASE method has similar speed to the PIVOT operator and it is much faster than the SPJ method. In general, the CASE and PIVOT methods exhibit linear scalability, whereas the SPJ method does not.

Similar Papers
  • Research Article

Hortizontal Aggregation in SQL for Data Mining Analysis to Prepare Data Sets

  • Jun 21, 2014
  • Journal Ijmer +2
  • Book Chapter
  • Citations6

Introduction to 3DM: Domain-Oriented Data-Driven Data Mining

  • May 17, 2008
  • Guoyin Wang
  • Supplementary Content
  • Citations10

Critical Success Factors in Data Mining Projects.

  • Aug 01, 2003
  • Jae-Sung Sim
  • Research Article
  • Citations1

Customized M-clustering Algorithm Comparison with Clustering Algorithms in Data Mining with the Case Study of Lead Generation Techniques

  • Jan 20, 2016
  • Indian Journal of Science and Technology
  • E Manigandan
  • Single Book
  • Citations24

Practical Data Mining

  • Dec 19, 2011
  • Jr Hancock
  • PDF
  • Research Article
  • Citations7

Research on eight machine learning algorithms applicability on different characteristics data sets in medical classification tasks.

  • Jan 31, 2024
  • Frontiers in Computational Neuroscience
  • Yiyan Zhang +2
  • Conference Article
  • Citations3

Power system state recognition using data mining algorithms

  • Sep 01, 2013
  • Prem Alluri +3
  • Research Article

Classification of Liver cirrhosis via data mining algorithm: A new tool to detect disease

  • Jun 30, 2021
  • Annals of Hepato-Biliary-Pancreatic Surgery
  • Manvendra Singh
  • Research Article
  • Citations36

A cost model to estimate the effort of data mining projects (DMCoMo)

  • Jul 20, 2007
  • Information Systems
  • Oscar Marbán +2
  • Conference Article
  • Citations63

Synthesizing CRISP-DM and Quality Management: A Data Mining Approach for Production Processes

  • Nov 01, 2018
  • Franziska Schafer +3
  • Conference Article
  • Citations9

Analysis of a Cascade Scaling Algorithm using Data Mining Methods

  • Jun 17, 2022
  • Satyajit S Uparkar +1
  • Conference Article
  • Citations4

<title>Data mining for multiagent rules, strategies, and fuzzy decision tree structure</title>

  • Mar 13, 2002
  • Proceedings of SPIE, the International Society for Optical Engineering/Proceedings of SPIE
  • James F Smith Iii +2
  • Conference Article
  • Citations5

Bio inspired Ensemble Feature Selection (BEFS) Model with Machine Learning and Data Mining Algorithms for Disease Risk Prediction

  • Sep 01, 2019
  • Syed Javeed Pasha +1
  • Research Article
  • Citations2

Decision support based on optimized data mining techniques: Application to mobile telecommunication companies

  • Jun 22, 2020
  • Concurrency and Computation: Practice and Experience
  • Lamia Berkani
  • Conference Article
  • Citations7

Implementation of Different Data Mining Algorithms with Neural Network

  • Feb 01, 2015
  • Aruna J Chamatkar +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.