Data Mining Techniques and Applications
Data Mining Techniques and Applications
Assistant Professor-SOIS
Presidency University
Bangalore
Module-4 [Introduction to Data Mining]
Introduction to Data mining, KDD versus data mining, data mining techniques(pre-
processing), tools and applications. Mining complex data objects, Spatial databases,
Multimedia databases, Time series and Sequence data; mining Text Databases and mining
Word Wide Web. Applications of data warehousing across different industries- Retail
industry, Manufacturing and distribution, Bank, insurance company, Government agencies
etc.
Assignment: Data Mining Techniques.
Relational Database:
A relational database is a collection of multiple data sets formally organized by tables, records,
and columns from which data can be accessed in various ways without having to recognize the
database tables. Tables convey and share information, which facilitates data searchability,
reporting, and organization.
Data warehouses:
A Data Warehouse is the technology that collects the data from various sources within the
organization to provide meaningful business insights. The huge amount of data comes from
multiple places such as Marketing and Finance. The extracted data is utilized for analytical
purposes and helps in decision- making for a business organization. The data warehouse is
designed for the analysis of data rather than transaction processing.
Data Repositories:
The Data Repository generally refers to a destination for data storage. However, many IT
professionals utilize the term more clearly to refer to a specific kind of setup within an IT
structure. For example, a group of databases, where an organization has kept various kinds of
information.
Object-Relational Database:
One of the primary objectives of the Object-relational data model is to close the gap between
the Relational database and the object-oriented model practices frequently utilized in many
programming languages, for example, C++, Java, C#, and so on.
Transactional Database:
A transactional database refers to a database management system (DBMS) that has the potential
to undo a database transaction if it is not performed appropriately. Even though this was a
unique capability a very long while back, today, most of the relational database systems support
transactional database activities.
Data Mining is primarily used by organizations with intense consumer demands- Retail,
Communication, Financial, marketing company, determine price, consumer preferences,
product positioning, and impact on sales, customer satisfaction, and corporate profits. Data
mining enables a retailer to use point-of-sale records of customer purchases to develop products
and promotions that help the organization to attract the customer.
o There is a probability that the organizations may sell useful data of customers to other
organizations for money. As per the report, American Express has sold credit card
purchases of their customers to other organizations.
o Many data mining analytics software is difficult to operate and needs advance training
to work on.
o Different data mining instruments operate in distinct ways due to the different
algorithms used in their design. Therefore, the selection of the right data mining tools
is a very challenging task.
o The data mining techniques are not precise, so that it may lead to severe consequences
in certain conditions.
The process of data mining becomes effective when the challenges or problems
are correctly recognized and adequately resolved.
Data Mining:
Data mining, also known as Knowledge Discovery in Databases, refers to the nontrivial
extraction of implicit, previously unknown, and potentially useful information from data stored
in databases.
Data Mining is only a step within the overall KDD process. There are two major Data Mining
goals defined by the application's goal: verification of discovery. Verification verifies the user's
hypothesis about data, while discovery automatically finds interesting patterns.
There are four major data mining tasks: clustering, classification, regression, and association
(summarization). Clustering is identifying similar groups from unstructured data.
Classification is learning rules that can be applied to new data.
KDD is the overall process of extracting knowledge from data, while Data Mining is a
step inside the KDD process, which deals with identifying patterns in data.
And Data Mining is only the application of a specific algorithm based on the overall
goal of the KDD process.
i. Classification of Data mining frameworks as per the type of data sources mined:
This classification is as per the type of data handled. For example, multimedia, spatial data, text
data, time-series data, World Wide Web, and so on..
ii. Classification of data mining frameworks as per the database involved:
This classification based on the data model involved. For example. Object-oriented database,
transactional database, relational database, and so on..
iii. Classification of data mining frameworks as per the kind of knowledge discovered:
This classification depends on the types of knowledge discovered or data mining functionalities.
For example, discrimination, classification, clustering, characterization, etc. some frameworks tend
to be extensive frameworks offering a few data mining functionalities together..
iv. Classification of data mining frameworks according to data mining techniques used:
This classification is as per the data analysis approach utilized, such as neural networks, machine
learning, genetic algorithms, visualization, statistics, data warehouse-oriented or database-oriented,
etc.
The classification can also take into account, the level of user interaction involved in the data mining
procedure, such as query-driven systems, autonomous systems, or interactive exploratory systems.
2. Clustering:
Clustering is a division of information into groups of connected objects. Describing the data by a
few clusters mainly loses certain confine details, but accomplishes improvement. It models data by
its clusters. Data modeling puts clustering from a historical point of view rooted in statistics,
mathematics, and numerical analysis. From a machine learning point of view, clusters relate to
hidden patterns, the search for clusters is unsupervised learning, and the subsequent framework
represents a data concept. From a practical point of view, clustering plays an extraordinary job in
data mining applications. For example, scientific data exploration, text mining, information
retrieval, spatial database applications, CRM, Web analysis, computational biology, medical
diagnostics, and much more.
In other words, we can say that Clustering analysis is a data mining technique to identify similar
data. This technique helps to recognize the differences and similarities between the data. Clustering
is very similar to the classification, but it involves grouping chunks of data together based on their
similarities.
3. Regression:
Regression analysis is the data mining process is used to identify and analyze the relationship
between variables because of the presence of the other factor. It is used to define the probability of
the specific variable. Regression, primarily a form of planning and modeling. For example, we
might use it to project certain costs, depending on other factors such as availability, consumer
demand, and competition. Primarily it gives the exact relationship between two or more variables
in the given data set.
4. Association Rules:
This data mining technique helps to discover a link between two or more items. It finds a hidden
pattern in the data set.
Association rules are if-then statements that support to show the probability of interactions between
data items within large data sets in different types of databases. Association rule mining has several
applications and is commonly used to help sales correlations in data or medical data sets.
Advertisement
The way the algorithm works is that you have various data, For example, a list of grocery items
that you have been buying for the last six months. It calculates a percentage of items being
purchased together.
o Lift:
This measurement technique measures the accuracy of the confidence over how often
item B is purchased.
(Confidence) / (item B)/ (Entire dataset)
o Support:
This measurement technique measures how often multiple items are purchased and
compared it to the overall dataset.
(Item A + Item B) / (Entire dataset)
o Confidence:
This measurement technique measures how often item B is purchased when item A is
purchased as well.
(Item A + Item B)/ (Item A)
5. Outer detection:
This type of data mining technique relates to the observation of data items in the data set, which do
not match an expected pattern or expected behavior. This technique may be used in various domains
like intrusion, detection, fraud detection, etc. It is also known as Outlier Analysis or Outilier
mining. The outlier is a data point that diverges too much from the rest of the dataset. The majority
of the real-world datasets have an outlier. Outlier detection plays a significant role in the data
mining field. Outlier detection is valuable in numerous fields like network interruption
identification, credit or debit card fraud detection, detecting outlying in wireless sensor network
data, etc.
6. Sequential Patterns:
The sequential pattern is a data mining technique specialized for evaluating sequential data to
discover sequential patterns. It comprises of finding interesting sub-sequences in a set of sequences,
where the stake of a sequence can be measured in terms of different criteria like length, occurrence
frequency, etc.
In other words, this technique of data mining helps to discover or recognize similar patterns in
transaction data over some time.
7. Prediction:
Prediction used a combination of other data mining techniques such as trends, clustering,
classification, etc. It analyses past events or instances in the right sequence to predict a future event.
Data mining is described as a process of finding hidden precious data by evaluating the huge
quantity of information stored in data warehouses, using multiple data mining techniques such
as Artificial Intelligence (AI), Machine learning and statistics.
Steps of Data Pre-processing
Data pre-processing is an important step in the data mining process that involves cleaning
and transforming raw data to make it suitable for analysis. Some common steps in data pre-
processing include:
1. Data Cleaning: This involves identifying and correcting errors or
inconsistencies in the data, such as missing values, outliers, and duplicates.
Various techniques can be used for data cleaning, such as imputation, removal,
and transformation.
2. Data Integration: This involves combining data from multiple sources to create
a unified dataset. Data integration can be challenging as it requires handling data
with different formats, structures, and semantics. Techniques such as record
linkage and data fusion can be used for data integration.
3. Data Transformation: This involves converting the data into a suitable format
for analysis. Common techniques used in data transformation include
normalization, standardization, and discretization. Normalization is used to scale
the data to a common range, while standardization is used to transform the data
to have zero mean and unit variance. Discretization is used to convert
continuous data into discrete categories.
4. Data Reduction: This involves reducing the size of the dataset while preserving
the important information. Data reduction can be achieved through techniques
such as feature selection and feature extraction. Feature selection involves
selecting a subset of relevant features from the dataset, while feature extraction
involves transforming the data into a lower-dimensional space while preserving
the important information.
5. Data Discretization: This involves dividing continuous data into discrete
categories or intervals. Discretization is often used in data mining and machine
learning algorithms that require categorical data. Discretization can be achieved
through techniques such as equal width binning, equal frequency binning, and
clustering.
6. Data Normalization: This involves scaling the data to a common range, such as
between 0 and 1 or -1 and 1. Normalization is often used to handle data with
different units and scales. Common normalization techniques include min-max
normalization, z-score normalization, and decimal scaling.
Data pre-processing plays a crucial role in ensuring the quality of data and the accuracy of
the analysis results. The specific steps involved in data pre-processing may vary depending
on the nature of the data and the analysis goals.
By performing these steps, the data mining process becomes more efficient and the results
become more accurate.
Pre-processing in Data Mining
Data pre-processing is a data mining technique which is used to transform the raw data in a
useful and efficient format.
Steps
Involved in Data Pre-processing
1. Data Cleaning: The data can have many irrelevant and missing parts. To handle this
part, data cleaning is done. It involves handling of missing data, noisy data etc.
Missing Data: This situation arises when some data is missing in the data. It can
be handled in various ways.
Some of them are:
o Ignore the tuples: This approach is suitable only when the
dataset we have is quite large and multiple values are missing
within a tuple.
o Fill the Missing values: There are various ways to do this
task. You can choose to fill the missing values manually, by
attribute mean or the most probable value.
List Of Most Popular Data Mining Tools and Applications Here we go! Here we have
compared the list of free and commercial data modelling tools.
Xplenty is the data integration platform for all. It offers the no-code and low-
code options.
It has functionalities to transfer and transform data between databases and data
warehouses.
Rapid Miner is one of the best predictive analysis system developed by the
company with the same name as the Rapid Miner. It is written in JAVA
programming language. It provides an integrated environment for deep
learning, text mining, machine learning & predictive analysis.
The tool can be used for over a vast range of applications including for business
applications, commercial applications, training, education, research, application
development, machine learning.
Rapid Miner offers the server as both on premise & in public/private cloud
infrastructures. It has a client/server model as its base. Rapid Miner comes with
template-based frameworks that enable speedy delivery with reduced number
of errors (which are quite commonly expected in manual code writing process).
3) Orange
Availability: Licensed
SSDT is a universal, declarative model that expands all the phases of database
development in the Visual Studio IDE.
BIDS was the former environment developed by Microsoft to do data analysis and
provide business intelligence solutions. Developers use SSDT transact- a design
capability of SQL, to build, maintain, debug and refactor databases.
A user can work directly with a database or can work directly with a connected
database, thus, providing on or off-premise facility. Users can use visual studio tools
for development of databases like IntelliSense, code navigation tools, and
programming support via C#, visual basic etc. SSDT provides Table Designer to
create new tables as well as edit tables in direct databases as well as connected
databases.
Deriving its base from BIDS, which was not compatible with Visual Studio2010,
the SSDT BI came into existence and it replaced BIDS.
6) DataMelt
DataMelt can be used for analysis of large data volumes, data mining, and stat
analysis.
Set-valued attribute
Generalization of each value in the set into its corresponding higher-level
concepts
Derivation of the general behavior of the set, such as the number of
elements in the set, the types or value ranges in the set, or the weighted
average for numerical data
E.g., hobby = {tennis, hockey, chess, violin, nintendo_games} generalizes to
{sports, music, video_games}
List-valued or a sequence-valued attribute
Same as set-valued attributes except that the order of the elements in the
sequence should be observed in the generalization
Spatial data:
Generalize detailed geographic points into clustered regions, such as
business, residential, industrial, or agricultural areas, according to land
usage
Require the merge of a set of geographic areas by spatial operations
Image data:
Extracted by aggregation and/or approximation
Size, color, shape, texture, orientation, and relative positions and
structures of the contained objects or regions in the image
Music data:
Summarize its melody: based on the approximate patterns that
repeatedly occur in the segment
Summarized its style: based on its tone, tempo, or the major musical
instruments played
Measures
numerical
distributive (e.g. count, sum)
algebraic (e.g. average)
holistic (e.g. median, rank)
spatial
collection of spatial pointers (e.g. pointers to all regions with 25-
30 degrees in July)
Time-series database
Consists of sequences of values or events changing with time
Data is recorded at regular intervals
Characteristic time-series components
Trend, cycle, seasonal, irregular
Applications
Financial: stock price, inflation
Biomedical: blood pressure
Meteorological: precipitation
A time series can be illustrated as a time-series graph which describes a point moving
with the passage of time
Categories of Time-Series Movements
Long-term or trend movements (trend curve)
Cyclic movements or cycle variations, e.g., business cycles
Seasonal movements or seasonal variations
i.e, almost identical patterns that a time series appears to follow during
corresponding months of successive years.
Irregular or random movements
Time Sequence:
Time-sequence query language
Should be able to specify sophisticated queries like
Find all of the sequences that are similar to some sequence in class A, but not similar
to any sequence in class B
Should be able to support various kinds of queries: range queries, all-pair
queries, and nearest neighbor queries
Shape definition language
Allows users to define and query the overall shape of time sequences
Uses human readable series of sequence transitions or macros
Ignores the specific details
E.g., the pattern up, Up, UP can be used to describe increasing degrees
of rising slopes
Macros: spike, valley, etc.
Mining text databases:
Text databases (document databases)
Large collections of documents from various sources: news articles, research
papers, books, digital libraries, e-mail messages, and Web pages, library
database, etc.
Data stored is usually semi-structured
Traditional information retrieval techniques become inadequate for the
increasingly vast amounts of text data
Information retrieval
A field developed in parallel with database systems
Information is organized into (a large number of) documents
Information retrieval problem: locating relevant documents based on user
input, such as keywords or example documents.
Types of Text Data Mining:
Keyword-based association analysis
Automatic document classification
Similarity detection
Cluster documents by a common author
Cluster documents containing information from a common source
Link analysis: unusual correlation between entities
Sequence analysis: predicting a recurring event
Anomaly detection: find information that violates usual patterns
Hypertext analysis
Patterns in anchors/links
Anchor text correlations with linked objects
Internet growth
40000000
35000000
30000000
25000000
Hosts
20000000
15000000
10000000
5000000
0
Sep-69
Sep-72
Sep-75
Sep-78
Sep-81
Sep-84
Sep-87
Sep-90
Sep-93
Sep-96
Sep-99
Only a small portion of the information on the Web is truly relevant or useful
99% of the Web information is useless to 99% of Web users
How can we find high-quality Web pages on a specified topic?