Data mining
Intermediate
What you need first. Nothing else on this path comes first. This page is part of Statistical learning.
In statistical learning, data mining is the algorithmic extraction of patterns from large collections of records, as one step in turning those records into usable knowledge. Large files of transactions, clicks, and instrument readings created a statistical job that is not a single method. Data mining is the practice of extracting patterns from those files with algorithms, inside a wider effort to turn the records into something a person can use. The wider effort has a separate name, because the algorithm’s output is not yet knowledge.[1] [2]
Data mining
| Fact | Value |
|---|---|
| Topic | Statistical learning |
| Listed on | Statistical learning |
Definition
Two nested meanings have to be kept apart. Knowledge discovery in databases is the whole process of finding useful knowledge in data. Data mining is one step in that process: the application of specific algorithms that extract patterns from the prepared data. The other steps — selecting and cleaning the records, bringing in what is already known, and interpreting what the algorithm returns — are what keep the patterns from being accidents. Fayyad, Piatetsky-Shapiro, and Smyth call that distinction the central point of their account.[1]
The phrase knowledge discovery in databases was coined at the first workshop of that name in 1989, to stress that knowledge, not the raw output of an algorithm, was the product. Data mining was already the name used by statisticians, data analysts, and information-systems groups, and it had carried a warning: search long enough, and a meaningless pattern appears. The statistical literature had called that failure data dredging. The discovery literature’s answer was to treat mining as one step and to insist on the surrounding process.[1]
A statistical account of the same period describes the pressure that made the activity urgent, and it does so in the body of a chapter on procedures rather than in a preface. Predictive learning is an important aspect of data mining. Industrial and commercial applications are especially demanding: the files are large in both rows and columns, the inputs are a mixture of quantitative, binary, and categorical variables, missing values are ordinary, outliers are common, and only a small fraction of the recorded inputs matter. The fitted rule is asked to be fast enough to build, readable enough to discuss, and accurate enough to act on. Predictive learning is one part of the activity, not the whole of the discovery process.[2]
The learning problems that sit inside that step split into supervised prediction of an outcome and unsupervised description of associations among inputs. Supervised learning predicts an outcome from inputs. Unsupervised learning has no outcome and describes associations and patterns among the inputs. Both appear in the files data mining is asked to search.[2]
Interpretation
A pattern that an algorithm returns is a candidate, not a conclusion. Fayyad and co-authors put the danger in one sentence: blind application of data-mining methods, the activity statisticians had criticised as data dredging, easily leads to meaningless and invalid patterns. The interpretation step exists because a long search through even a random table produces regularities that look special. Using the algorithm and ignoring the search is the failure mode. The process around the algorithm — preparation, prior knowledge, and a reading of what the pattern would mean if it were real — is the part that can refuse a pattern.[1]
Interpretability is a requirement of the commercial setting, not a decoration. It is not enough to produce predictions. A user wants a qualitative account of how joint values of the inputs relate to the predicted response. A method that predicts well and cannot be discussed fails that requirement even when its error is small. Neural networks are the example Hastie, Tibshirani, and Friedman give: useful as prediction engines in pattern recognition, and far less useful for data mining when the point of the exercise is to understand the relationship.[2]
The same section records which procedures come closest to being usable off the shelf on messy files. An off-the-shelf method is one that can be applied without a long bout of preprocessing or a careful tuning of the learner. Decision trees come closest. They handle mixed inputs, tolerate missing values, resist outliers in the input space, are unchanged by a monotone rescaling of a numeric input, scale to a large number of rows, and perform their own selection of variables. Their weakness, in the same comparison, is predictive power. A neural network or a support-vector machine can predict well and handles mixed data, missingness, and irrelevant inputs poorly. The table of characteristics is a warning against treating one algorithm as the meaning of the field.[2]
Scale changes the statistics. Most data-mining algorithms inherited from statistics, pattern recognition, and machine learning assume the data sit in main memory and pay no attention to what happens when only a limited view of the file is possible. Database techniques for access, grouping, and ordering are what make those algorithms run on files that do not fit. Data warehousing, the business practice of collecting and cleaning transactional data for later analysis, is described as the stage-setting for the discovery process: cleaning, and then availability for analysis. The statistical obligation does not shrink because the file was warehoused. It grows, because a larger search has more chances to find an accident.[1]
Statistical use
A decision tree is the method closest to an off-the-shelf procedure for this kind of file, for the reasons in the comparison above. Boosting trees is one later attempt to improve the predictive weakness of a single tree. Binary logistic regression and nearest neighbours remain available when the file is clean enough for them. A neural network can predict well and is a poor explanatory tool for the same file.[2]
Unsupervised summaries belong in the same practice. Cluster analysis, through hierarchical clustering and K-means, looks for groups of rows. The Apriori algorithm lists frequent item sets in a basket file. Classification is the supervised piece, when the file already contains the label one wants to predict. Cross-validation is a check on a predictor. It is not, by itself, a check on an unsupervised list of rules, because a list of associations has no response whose error can be held out. The discovery process asks a different question of an unsupervised pattern: would a search of this length have produced something that looks like it in noise?[2] [1]
The applications Fayyad and co-authors use to show the range are not a single industry. SKICAT classified sky objects in a survey whose images were measured in terabytes. A system for the Washington welfare department identified duplicate claims. A basketball system organised game records for coaches. The point of the list is that the process, not one algorithm, is what those projects share: a large file, a pattern-finding step, and a use that requires the pattern to be interpretable.[1]
Connections
Machine learning supplies many of the algorithms used in the mining step. Data mining, in the narrower sense, is that step. In the broader industrial sense, it is the setting in which those rules are asked to run on messy, large files and to return something a person can discuss. Supervised learning and unsupervised learning are the two organisations of the rules. Pattern recognition and database research contributed procedures and the machinery for moving data that do not fit in memory. Statistics contributes the account of uncertainty, including the old warning that a search manufactures patterns. KDD, in the 1996 wording, is the process that holds those contributions in one sequence, from the raw file to a pattern someone is willing to use.[1] [2]
History
Manual analysis was the predecessor. Specialists sat with a file, on a quarterly health-care report or a catalogue of craters, and wrote the interpretation themselves. Fayyad and co-authors argue that this becomes impractical as the number of records and the number of fields both grow, and that the theories and tools for extracting useful information from that growth are the subject of knowledge discovery. The 1989 workshop gave the process its name. The statistical warning about dredging is older, and the 1996 article treats it as a constraint on the new name rather than as a reason to abandon the search.[1]
On the statistical side, the same years put predictive and descriptive learning into one framework, with computational remarks aimed at large applications. Those remarks are collected in The Elements of Statistical Learning: a comparison of neural nets, support-vector machines, trees, and nearest neighbours against the requirements of commercial files, and the conclusion that trees come closest to an off-the-shelf procedure while giving up accuracy. Association rules are among the successes the wider literature claimed on commercial databases. The statistical contribution is the language for saying whether a discovered pattern would be expected from the search that found it.[2] [1]
See also
Line chart · Apriori algorithm · Asymptotic analysis · Average treatment effect · Base rate · Bayesian inference · Bayesian model · Bayesian probability
References
- ^ a b c d e f g h i j a. (pp. 38–39) b. (p. 38) c. (p. 38) d. (p. 38) e. (p. 39) f. (p. 38) g. (pp. 37–39) h. (pp. 38–39) i. (pp. 37–38) j. (p. 38) Fayyad, U., Piatetsky-Shapiro, G. & Smyth, P. (1996). From Data Mining to Knowledge Discovery in Databases. AI Magazine, 17(3). https://ojs.aaai.org/aimagazine/index.php/aimagazine/article/view/1230
- ^ a b c d e f g h i a. (§10.7, p. 350) b. (§10.7, pp. 350–352) c. (§10.7, p. 350) d. (§10.7, pp. 351–352) e. (§10.7, pp. 350–352) f. (§10.7, pp. 350–352) g. (§10.7, p. 350) h. (§10.7, pp. 350–352) i. (§10.7, pp. 350–352) Hastie, T., Tibshirani, R. & Friedman, J. (2009). The Elements of Statistical Learning. Springer. https://doi.org/10.1007/978-0-387-84858-7
Cite this page
StatWiki (2026). "Data mining." StatWiki. Last updated 2 December 2026. https://www.statwiki.io/articles/data-mining.html
@misc{statwiki_data_mining,
author = {{StatWiki}},
title = {{Data mining}},
year = {2026},
url = {https://www.statwiki.io/articles/data-mining.html},
urldate = {2026-12-02},
note = {StatWiki, last updated 2 December 2026}
}