XenonStack Glossary: AI, Data and Cloud Terms Explained

Data Mining: Process, Techniques and Applications

Written by Dr. Jagreet Kaur | 07 Feb 2023

Data mining is the process of discovering useful patterns and relationships in large volumes of data. Britannica says the field combines statistics, artificial intelligence and database management, and the IBM guide to data mining describes it as using machine learning and statistical analysis to uncover patterns in large datasets.

This page is for analytics leaders, data scientists and business owners who want a plain view of the data mining process, its main techniques, where it is applied, and how it relates to AI agents.

What is data mining?

The IBM guide to data mining also calls it knowledge discovery in databases. The aim is to turn large, messy datasets, structured or unstructured and drawn from many sources, into findings that a business can act on.

Britannica groups the approaches into predictive modelling, descriptive modelling, pattern mining and anomaly detection.

How does the data mining process work?

The IBM guide to data mining lists five steps.

  1. Set business objectives with stakeholders before collecting data.
  2. Select the data that answers the business questions.
  3. Prepare the data by removing noise such as duplicates, missing values and outliers.
  4. Build models and mine for patterns, trends, associations or correlations.
  5. Evaluate and implement: interpret the results, check they are valid, novel, useful and understandable, then act on them.

What are the main data mining techniques?

The IBM guide to data mining describes the following core techniques.

TechniqueWhat it doesTypical question
Association rulesIf/then rules that find relationships between variables, measured by support and confidenceWhich products are bought together?
ClassificationSorts items into predefined classesIs this transaction fraudulent or genuine?
ClusteringGroups similar items without predefined classesWhich customers behave alike?
RegressionPredicts an outcome from predetermined variablesWhat will demand be next month?
Decision trees and neural networksTree and layered models used to classify or predictWhich outcome is most likely?

Where is data mining used?

The IBM guide to data mining lists anomaly detection for fraud, network intrusion and product defects, risk assessment, targeting markets by linking customer behaviour to sales, reviewing customer service interactions, predicting equipment failures to plan maintenance, and finding costly bottlenecks in operations.

Industries it names include healthcare, finance, retail, manufacturing, education, HR and supply chain management.

How is data mining different from related terms?

TermFocusHow it differs
Data miningDiscovering patterns in large datasetsExploratory; draws on statistics and machine learning
Data warehousingStoring integrated, curated dataProvides the prepared data that mining draws on
Reporting and BIDescribing what already happenedAnswers known questions rather than searching for unknown patterns
Text mining and process miningMining text, or event logs of processesSpecialised forms that the IBM guide distinguishes from data mining

How does data mining relate to AI agents?

Mined patterns, such as a fraud rule or a churn segment, become the signals that AI agents act on. If those patterns are built on poorly governed data, an agent will act on them just as confidently. ElixirData, XenonStack's Context OS, is the decision infrastructure layer that connects agent decisions to the data and policy behind them.

What should you do first?

  1. Write the business question before touching the data.
  2. Check that the data you plan to mine is complete, owned and permitted for this use.
  3. Clean duplicates, missing values and outliers.
  4. Pick one technique that matches the question and test it on a small scope.
  5. Record which pattern drives each automated decision.

To map one decision your agents make, and the data and policy it depends on, book a Context Workshop. See what happens in the workshop.

Frequently asked questions

What is data mining in simple terms?

Data mining is the process of finding useful patterns and relationships in large amounts of data, using statistics and machine learning.

What are the steps in data mining?

The IBM guide lists five steps: set business objectives, select the data, prepare the data, build models and mine for patterns, then evaluate and implement the results.

What are common data mining techniques?

Common techniques include association rules, classification, clustering, regression, decision trees and neural networks.

Where is data mining used?

It is used for fraud and anomaly detection, risk assessment, customer targeting, customer service analysis, predictive maintenance and operational optimisation.

Is data mining the same as machine learning?

No. Data mining is the process of discovering patterns in data, and it uses machine learning and statistical methods as tools. Machine learning is one of the methods it draws on.