Data mining explained

Data mining is the process of extracting and discovering patterns in large data sets involving methods at the intersection of machine learning, statistics, and database systems. Data mining is an interdisciplinary subfield of computer science and statistics with an overall goal of extracting information (with intelligent methods) from a data set and transforming the information into a comprehensible structure for further use.[1] [2] [3] [4] Data mining is the analysis step of the "knowledge discovery in databases" process, or KDD. Aside from the raw analysis step, it also involves database and data management aspects, data pre-processing, model and inference considerations, interestingness metrics, complexity considerations, post-processing of discovered structures, visualization, and online updating.

The term "data mining" is a misnomer because the goal is the extraction of patterns and knowledge from large amounts of data, not the extraction (mining) of data itself.[5] It also is a buzzword[6] and is frequently applied to any form of large-scale data or information processing (collection, extraction, warehousing, analysis, and statistics) as well as any application of computer decision support system, including artificial intelligence (e.g., machine learning) and business intelligence. Often the more general terms (large scale) data analysis and analytics—or, when referring to actual methods, artificial intelligence and machine learning—are more appropriate.

The actual data mining task is the semi-automatic or automatic analysis of large quantities of data to extract previously unknown, interesting patterns such as groups of data records (cluster analysis), unusual records (anomaly detection), and dependencies (association rule mining, sequential pattern mining). This usually involves using database techniques such as spatial indices. These patterns can then be seen as a kind of summary of the input data, and may be used in further analysis or, for example, in machine learning and predictive analytics. For example, the data mining step might identify multiple groups in the data, which can then be used to obtain more accurate prediction results by a decision support system. Neither the data collection, data preparation, nor result interpretation and reporting is part of the data mining step, although they do belong to the overall KDD process as additional steps.

The difference between data analysis and data mining is that data analysis is used to test models and hypotheses on the dataset, e.g., analyzing the effectiveness of a marketing campaign, regardless of the amount of data. In contrast, data mining uses machine learning and statistical models to uncover clandestine or hidden patterns in a large volume of data.[7]

The related terms data dredging, data fishing, and data snooping refer to the use of data mining methods to sample parts of a larger population data set that are (or may be) too small for reliable statistical inferences to be made about the validity of any patterns discovered. These methods can, however, be used in creating new hypotheses to test against the larger data populations.

Etymology

In the 1960s, statisticians and economists used terms like data fishing or data dredging to refer to what they considered the bad practice of analyzing data without an a-priori hypothesis. The term "data mining" was used in a similarly critical way by economist Michael Lovell in an article published in the Review of Economic Studies in 1983.[8] [9] Lovell indicates that the practice "masquerades under a variety of aliases, ranging from "experimentation" (positive) to "fishing" or "snooping" (negative).

The term data mining appeared around 1990 in the database community, with generally positive connotations. For a short time in 1980s, the phrase "database mining"™, was used, but since it was trademarked by HNC, a San Diego-based company, to pitch their Database Mining Workstation;[10] researchers consequently turned to data mining. Other terms used include data archaeology, information harvesting, information discovery, knowledge extraction, etc. Gregory Piatetsky-Shapiro coined the term "knowledge discovery in databases" for the first workshop on the same topic (KDD-1989) and this term became more popular in the AI and machine learning communities. However, the term data mining became more popular in the business and press communities.[11] Currently, the terms data mining and knowledge discovery are used interchangeably.

Background

The manual extraction of patterns from data has occurred for centuries. Early methods of identifying patterns in data include Bayes' theorem (1700s) and regression analysis (1800s).[12] The proliferation, ubiquity and increasing power of computer technology have dramatically increased data collection, storage, and manipulation ability. As data sets have grown in size and complexity, direct "hands-on" data analysis has increasingly been augmented with indirect, automated data processing, aided by other discoveries in computer science, specially in the field of machine learning, such as neural networks, cluster analysis, genetic algorithms (1950s), decision trees and decision rules (1960s), and support vector machines (1990s). Data mining is the process of applying these methods with the intention of uncovering hidden patterns.[13] in large data sets. It bridges the gap from applied statistics and artificial intelligence (which usually provide the mathematical background) to database management by exploiting the way data is stored and indexed in databases to execute the actual learning and discovery algorithms more efficiently, allowing such methods to be applied to ever-larger data sets.

Process

The knowledge discovery in databases (KDD) process is commonly defined with the stages:

  1. Selection
  2. Pre-processing
  3. Transformation
  4. Data mining
  5. Interpretation/evaluation.

It exists, however, in many variations on this theme, such as the Cross-industry standard process for data mining (CRISP-DM) which defines six phases:

  1. Business understanding
  2. Data understanding
  3. Data preparation
  4. Modeling
  5. Evaluation
  6. Deployment

or a simplified process such as (1) Pre-processing, (2) Data Mining, and (3) Results Validation.

Polls conducted in 2002, 2004, 2007 and 2014 show that the CRISP-DM methodology is the leading methodology used by data miners.[14] [15] [16] [17]

The only other data mining standard named in these polls was SEMMA. However, 3–4 times as many people reported using CRISP-DM. Several teams of researchers have published reviews of data mining process models,[18] and Azevedo and Santos conducted a comparison of CRISP-DM and SEMMA in 2008.[19]

Pre-processing

Before data mining algorithms can be used, a target data set must be assembled. As data mining can only uncover patterns actually present in the data, the target data set must be large enough to contain these patterns while remaining concise enough to be mined within an acceptable time limit. A common source for data is a data mart or data warehouse. Pre-processing is essential to analyze the multivariate data sets before data mining. The target set is then cleaned. Data cleaning removes the observations containing noise and those with missing data.

Data mining

Data mining involves six common classes of tasks:[20]

Results validation

Data mining can unintentionally be misused, producing results that appear to be significant but which do not actually predict future behavior and cannot be reproduced on a new sample of data, therefore bearing little use. This is sometimes caused by investigating too many hypotheses and not performing proper statistical hypothesis testing. A simple version of this problem in machine learning is known as overfitting, but the same problem can arise at different phases of the process and thus a train/test split—when applicable at all—may not be sufficient to prevent this from happening.[21]

The final step of knowledge discovery from data is to verify that the patterns produced by the data mining algorithms occur in the wider data set. Not all patterns found by the algorithms are necessarily valid. It is common for data mining algorithms to find patterns in the training set which are not present in the general data set. This is called overfitting. To overcome this, the evaluation uses a test set of data on which the data mining algorithm was not trained. The learned patterns are applied to this test set, and the resulting output is compared to the desired output. For example, a data mining algorithm trying to distinguish "spam" from "legitimate" e-mails would be trained on a training set of sample e-mails. Once trained, the learned patterns would be applied to the test set of e-mails on which it had not been trained. The accuracy of the patterns can then be measured from how many e-mails they correctly classify. Several statistical methods may be used to evaluate the algorithm, such as ROC curves.

If the learned patterns do not meet the desired standards, it is necessary to re-evaluate and change the pre-processing and data mining steps. If the learned patterns do meet the desired standards, then the final step is to interpret the learned patterns and turn them into knowledge.

Research

The premier professional body in the field is the Association for Computing Machinery's (ACM) Special Interest Group (SIG) on Knowledge Discovery and Data Mining (SIGKDD).[22] [23] Since 1989, this ACM SIG has hosted an annual international conference and published its proceedings,[24] and since 1999 it has published a biannual academic journal titled "SIGKDD Explorations".[25]

Computer science conferences on data mining include:

Data mining topics are also present in many data management/database conferences such as the ICDE Conference, SIGMOD Conference and International Conference on Very Large Data Bases.

Standards

There have been some efforts to define standards for the data mining process, for example, the 1999 European Cross Industry Standard Process for Data Mining (CRISP-DM 1.0) and the 2004 Java Data Mining standard (JDM 1.0). Development on successors to these processes (CRISP-DM 2.0 and JDM 2.0) was active in 2006 but has stalled since. JDM 2.0 was withdrawn without reaching a final draft.

For exchanging the extracted models—in particular for use in predictive analytics—the key standard is the Predictive Model Markup Language (PMML), which is an XML-based language developed by the Data Mining Group (DMG) and supported as exchange format by many data mining applications. As the name suggests, it only covers prediction models, a particular data mining task of high importance to business applications. However, extensions to cover (for example) subspace clustering have been proposed independently of the DMG.[26]

Notable uses

See main article: Examples of data mining.

Data mining is used wherever there is digital data available. Notable examples of data mining can be found throughout business, medicine, science, finance, construction, and surveillance.

Privacy concerns and ethics

While the term "data mining" itself may have no ethical implications, it is often associated with the mining of information in relation to user behavior (ethical and otherwise).[27]

The ways in which data mining can be used can in some cases and contexts raise questions regarding privacy, legality, and ethics.[28] In particular, data mining government or commercial data sets for national security or law enforcement purposes, such as in the Total Information Awareness Program or in ADVISE, has raised privacy concerns.[29] [30]

Data mining requires data preparation which uncovers information or patterns which compromise confidentiality and privacy obligations. A common way for this to occur is through data aggregation. Data aggregation involves combining data together (possibly from various sources) in a way that facilitates analysis (but that also might make identification of private, individual-level data deducible or otherwise apparent).[31] This is not data mining per se, but a result of the preparation of data before—and for the purposes of—the analysis. The threat to an individual's privacy comes into play when the data, once compiled, cause the data miner, or anyone who has access to the newly compiled data set, to be able to identify specific individuals, especially when the data were originally anonymous.[32]

It is recommended to be aware of the following before data are collected:

Data may also be modified so as to become anonymous, so that individuals may not readily be identified. However, even "anonymized" data sets can potentially contain enough information to allow identification of individuals, as occurred when journalists were able to find several individuals based on a set of search histories that were inadvertently released by AOL.[33]

The inadvertent revelation of personally identifiable information leading to the provider violates Fair Information Practices. This indiscretion can cause financial,emotional, or bodily harm to the indicated individual. In one instance of privacy violation, the patrons of Walgreens filed a lawsuit against the company in 2011 for sellingprescription information to data mining companies who in turn provided the datato pharmaceutical companies.[34]

Situation in Europe

Europe has rather strong privacy laws, and efforts are underway to further strengthen the rights of the consumers. However, the U.S.–E.U. Safe Harbor Principles, developed between 1998 and 2000, currently effectively expose European users to privacy exploitation by U.S. companies. As a consequence of Edward Snowden's global surveillance disclosure, there has been increased discussion to revoke this agreement, as in particular the data will be fully exposed to the National Security Agency, and attempts to reach an agreement with the United States have failed.[35]

In the United Kingdom in particular there have been cases of corporations using data mining as a way to target certain groups of customers forcing them to pay unfairly high prices. These groups tend to be people of lower socio-economic status who are not savvy to the ways they can be exploited in digital market places.[36]

Situation in the United States

In the United States, privacy concerns have been addressed by the US Congress via the passage of regulatory controls such as the Health Insurance Portability and Accountability Act (HIPAA). The HIPAA requires individuals to give their "informed consent" regarding information they provide and its intended present and future uses. According to an article in Biotech Business Week, "'[i]n practice, HIPAA may not offer any greater protection than the longstanding regulations in the research arena,' says the AAHC. More importantly, the rule's goal of protection through informed consent is approach a level of incomprehensibility to average individuals."[37] This underscores the necessity for data anonymity in data aggregation and mining practices.

U.S. information privacy legislation such as HIPAA and the Family Educational Rights and Privacy Act (FERPA) applies only to the specific areas that each such law addresses. The use of data mining by the majority of businesses in the U.S. is not controlled by any legislation.

Copyright law

Situation in Europe

Under European copyright database laws, the mining of in-copyright works (such as by web mining) without the permission of the copyright owner is not legal. Where a database is pure data in Europe, it may be that there is no copyright—but database rights may exist, so data mining becomes subject to intellectual property owners' rights that are protected by the Database Directive. On the recommendation of the Hargreaves review, this led to the UK government to amend its copyright law in 2014 to allow content mining as a limitation and exception.[38] The UK was the second country in the world to do so after Japan, which introduced an exception in 2009 for data mining. However, due to the restriction of the Information Society Directive (2001), the UK exception only allows content mining for non-commercial purposes. UK copyright law also does not allow this provision to be overridden by contractual terms and conditions.Since 2020 also Switzerland has been regulating data mining by allowing it in the research field under certain conditions laid down by art. 24d of the Swiss Copyright Act. This new article entered into force on 1 April 2020.[39]

The European Commission facilitated stakeholder discussion on text and data mining in 2013, under the title of Licences for Europe.[40] The focus on the solution to this legal issue, such as licensing rather than limitations and exceptions, led to representatives of universities, researchers, libraries, civil society groups and open access publishers to leave the stakeholder dialogue in May 2013.[41]

Situation in the United States

US copyright law, and in particular its provision for fair use, upholds the legality of content mining in America, and other fair use countries such as Israel, Taiwan and South Korea. As content mining is transformative, that is it does not supplant the original work, it is viewed as being lawful under fair use. For example, as part of the Google Book settlement the presiding judge on the case ruled that Google's digitization project of in-copyright books was lawful, in part because of the transformative uses that the digitization project displayed—one being text and data mining.[42]

Software

Free open-source data mining software and applications

The following applications are available under free/open-source licenses. Public access to application source code is also available.

Proprietary data-mining software and applications

The following applications are available under proprietary licenses.

See also

Methods
Application domains
Application examples

See main article: Examples of data mining.

Related topics

For more information about extracting information out of data (as opposed to analyzing data), see:

Other resources

Further reading

Notes and References

  1. Web site: Data Mining Curriculum . . 2006-04-30 . 2014-01-27 . 2013-10-14 . https://web.archive.org/web/20131014213033/http://www.kdd.org/curriculum/index.html . live .
  2. Web site: Clifton . Christopher . Encyclopædia Britannica: Definition of Data Mining . 2010 . 2010-12-09 . 2011-02-05 . https://web.archive.org/web/20110205121520/http://www.britannica.com/EBchecked/topic/1056150/data-mining . live .
  3. Web site: Hastie. Trevor. Trevor Hastie. Tibshirani. Robert. Robert Tibshirani. Friedman. Jerome. Jerome H. Friedman. The Elements of Statistical Learning: Data Mining, Inference, and Prediction. 2009. 2012-08-07. https://web.archive.org/web/20091110212529/http://www-stat.stanford.edu/~tibs/ElemStatLearn/. 2009-11-10. dead.
  4. Book: Han. Jaiwei. Data Mining: Concepts and Techniques. Kamber. Micheline. Pei. Jian. 2011. Morgan Kaufmann. 978-0-12-381479-1. 3rd. Jiawei Han.
  5. Book: Data mining: concepts and techniques. Han. Jiawei. Kamber. Micheline. 2001. Morgan Kaufmann. 978-1-55860-489-6. 5. Thus, data mining should have been more appropriately named "knowledge mining from data," which is unfortunately somewhat long. Jiawei Han.
  6. http://www.okairp.org/documents/2005%20Fall/F05_ROMEDataQualityETC.pdf OKAIRP 2005 Fall Conference, Arizona State University
  7. Olson, D. L. (2007). Data mining in business services. Service Business, 1(3), 181–193.
  8. Lovell. Michael C.. 1983. Data Mining. The Review of Economics and Statistics. 65. 1. 1–12. 10.2307/1924403. 1924403.
  9. Book: Wojciech W. . Charemza . Derek F. . Deadman . New Directions in Econometric Practice . Aldershot . Edward Elgar . 1992 . Data Mining . 14–31 . 1-85278-461-X .
  10. Book: Mena, Jesús . 2011 . Machine Learning Forensics for Law Enforcement, Security, and Intelligence . Boca Raton, FL . CRC Press (Taylor & Francis Group) . 978-1-4398-6069-4 .
  11. Web site: Piatetsky-Shapiro . Gregory . Gregory Piatetsky-Shapiro . Parker . Gary . Lesson: Data Mining, and Knowledge Discovery: An Introduction . KD Nuggets . 2011 . Introduction to Data Mining . 30 August 2012 . 30 August 2012 . https://web.archive.org/web/20120830035140/http://www.kdnuggets.com/data_mining_course/x1-intro-to-data-mining-notes.html . live .
  12. Coenen. Frans. 2011-02-07. Data mining: past, present and future. The Knowledge Engineering Review. en. 26. 1. 25–29. 10.1017/S0269888910000378. 6487637. 0269-8889. 2021-09-04. 2023-07-02. https://web.archive.org/web/20230702140030/https://www.cambridge.org/core/journals/knowledge-engineering-review/article/abs/data-mining-past-present-and-future/EE2E494D98BCE76EBE3FE07897540C43. live.
  13. Book: Kantardzic, Mehmed . Data Mining: Concepts, Models, Methods, and Algorithms . 2003 . John Wiley & Sons . 978-0-471-22852-3 . 50055336 . registration .
  14. Web site: What main methodology are you using for data mining (2002)?. KDnuggets. 2002. 29 December 2023. live. 16 January 2017. https://web.archive.org/web/20170116195014/http://www.kdnuggets.com/polls/2002/methodology.htm.
  15. Web site: What main methodology are you using for data mining (2004)?. KDnuggets. 2004. 29 December 2023. live. 8 February 2017. https://web.archive.org/web/20170208085109/http://www.kdnuggets.com/polls/2004/data_mining_methodology.htm.
  16. Web site: What main methodology are you using for data mining (2007)?. KDnuggets. 2007. 29 December 2023. live. 17 November 2012. https://web.archive.org/web/20121117003400/http://www.kdnuggets.com/polls/2007/data_mining_methodology.htm.
  17. Web site: What main methodology are you using for data mining (2014)?. KDnuggets. 2014. 29 December 2023. live. 1 August 2016. https://web.archive.org/web/20160801220617/http://kdnuggets.com/polls/2014/analytics-data-mining-data-science-methodology.html.
  18. Lukasz Kurgan and Petr Musilek: "A survey of Knowledge Discovery and Data Mining process models" . The Knowledge Engineering Review. Volume 21 Issue 1, March 2006, pp 1–24, Cambridge University Press, New York,
  19. Azevedo, A. and Santos, M. F. KDD, SEMMA and CRISP-DM: a parallel overview . In Proceedings of the IADIS European Conference on Data Mining 2008, pp 182–185.
  20. Web site: Fayyad . Usama . Usama Fayyad . Piatetsky-Shapiro . Gregory. Gregory Piatetsky-Shapiro . Smyth . Padhraic . From Data Mining to Knowledge Discovery in Databases . 1996 . https://ghostarchive.org/archive/20221009/http://www.kdnuggets.com/gpspubs/aimag-kdd-overview-1996-Fayyad.pdf . 2022-10-09 . live . 17 December 2008 .
  21. Hawkins . Douglas M . 2004 . The problem of overfitting . Journal of Chemical Information and Computer Sciences . 44 . 1. 1–12 . 10.1021/ci0342472. 14741005 . 12440383 .
  22. Web site: Microsoft Academic Search: Top conferences in data mining. Microsoft Academic Search. 2014-06-13. 2014-11-19. https://web.archive.org/web/20141119150412/http://academic.research.microsoft.com/?SearchDomain=2&SubDomain=7&entitytype=2. dead.
  23. Web site: Google Scholar: Top publications - Data Mining & Analysis. Google Scholar. 2022-06-11. 2023-02-10. https://web.archive.org/web/20230210114142/https://scholar.google.de/citations?view_op=top_venues&vq=eng_datamininganalysis. live.
  24. http://www.kdd.org/conferences.php Proceedings
  25. http://www.kdd.org/explorations/about.php SIGKDD Explorations
  26. Book: Günnemann . Stephan . Kremer . Hardy . Seidl . Thomas . 10.1145/2023598.2023605 . An extension of the PMML standard to subspace clustering models . Proceedings of the 2011 workshop on Predictive markup language modeling . 48 . 2011 . 978-1-4503-0837-3 . 14967969 .
  27. Seltzer, William . The Promise and Pitfalls of Data Mining: Ethical Issues . https://ghostarchive.org/archive/20221009/https://ww2.amstat.org/committees/ethics/linksdir/Jsm2005Seltzer.pdf . 2022-10-09 . live. American Statistical Association. ASA Section on Government Statistics. 2005 .
  28. Pitts, Chip . The End of Illegal Domestic Spying? Don't Count on It . Washington Spectator . 15 March 2007 . dead . https://web.archive.org/web/20071128015201/http://www.washingtonspectator.com/articles/20070315surveillance_1.cfm . 2007-11-28 .
  29. Taipale, Kim A. . Data Mining and Domestic Security: Connecting the Dots to Make Sense of Data . Columbia Science and Technology Law Review . 5 . 2 . 15 December 2003 . 546782 . 45263753 . 21 April 2004 . 5 November 2014 . https://web.archive.org/web/20141105035644/http://www.stlr.org/cite.cgi?volume=5&article=2 . dead .
  30. Web site: Resig. John. A Framework for Mining Instant Messaging Services. https://ghostarchive.org/archive/20221009/https://johnresig.com/files/research/SIAMPaper.pdf . 2022-10-09 . live. 16 March 2018.
  31. http://www.nascio.org/publications/documents/NASCIO-dataMining.pdf Think Before You Dig: Privacy Implications of Data Mining & Aggregation
  32. Paul . Ohm . Don't Build a Database of Ruin . Harvard Business Review .
  33. http://www.securityfocus.com/brief/277 AOL search data identified individuals
  34. Big data's impact on privacy, security and consumer welfare. Telecommunications Policy. 1134–1145. 38. 11. 10.1016/j.telpol.2014.10.002. Nir. Kshetri. 2014. 2018-04-20. 2018-06-19. https://web.archive.org/web/20180619135001/http://libres.uncg.edu/ir/uncg/f/N_Kshetri_Big_2014.pdf. live.
  35. Web site: U.S.–E.U. Data Privacy: From Safe Harbor to Privacy Shield . Weiss . Martin A. . Archick . Kristin . 19 May 2016 . Congressional Research Service . Washington, D.C. . 6 . PDF . R44257 . 9 April 2020 . On October 6, 2015, the CJEU ... issued a decision that invalidated Safe Harbor (effective immediately), as currently implemented. . 9 April 2020 . https://web.archive.org/web/20200409134413/https://crsreports.congress.gov/product/pdf/R/R44257/7 . dead .
  36. Web site: Parker . George . 2018-09-30 . UK companies targeted for using big data to exploit customers . https://ghostarchive.org/archive/20221210/https://www.ft.com/content/5dbd98ca-c491-11e8-bc21-54264d1c4647 . 2022-12-10 . subscription . 2022-12-04 . Financial Times.
  37. Biotech Business Week Editors (June 30, 2008); BIOMEDICINE; HIPAA Privacy Rule Impedes Biomedical Research, Biotech Business Week, retrieved 17 November 2009 from LexisNexis Academic
  38. http://www.out-law.com/en/articles/2014/june/researchers-given-data-mining-right-under-new-uk-copyright-laws/ UK Researchers Given Data Mining Right Under New UK Copyright Laws.
  39. Web site: Fedlex. 2021-12-16. 2021-12-16. https://web.archive.org/web/20211216160549/https://www.fedlex.admin.ch/eli/cc/1993/1798_1798_1798/en#art_24_d. live.
  40. Web site: Licences for Europe – Structured Stakeholder Dialogue 2013. European Commission. 14 November 2014. 23 March 2013. https://web.archive.org/web/20130323003854/http://ec.europa.eu/licences-for-europe-dialogue/en/content/about-site. live.
  41. Web site: Text and Data Mining:Its importance and the need for change in Europe. Association of European Research Libraries. 14 November 2014. 29 November 2014. https://web.archive.org/web/20141129021244/http://libereurope.eu/news/text-and-data-mining-its-importance-and-the-need-for-change-in-europe/. dead.
  42. Web site: Judge grants summary judgment in favor of Google Books – a fair use victory. Lexology.com. 19 November 2013. Antonelli Law Ltd. 14 November 2014. 29 November 2014. https://web.archive.org/web/20141129011031/http://www.lexology.com/library/detail.aspx?g=a18c5b92-5a20-4d1d-a098-a3095046a88e. live.