The Wayback Machine - https://web.archive.org/web/20240910095449/https://www.geeksforgeeks.org/data-mining-cluster-analysis/
Open In App

Data Mining – Cluster Analysis

Last Updated : 01 Feb, 2023
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

INTRODUCTION:

  Cluster analysis, also known as clustering, is a method of data mining that groups similar data points together. The goal of cluster analysis is to divide a dataset into groups (or clusters) such that the data points within each group are more similar to each other than to data points in other groups. This process is often used for exploratory data analysis and can help identify patterns or relationships within the data that may not be immediately obvious. There are many different algorithms used for cluster analysis, such as k-means, hierarchical clustering, and density-based clustering. The choice of algorithm will depend on the specific requirements of the analysis and the nature of the data being analyzed.

Cluster Analysis is the process to find similar groups of objects in order to form clusters. It is an unsupervised machine learning-based algorithm that acts on unlabelled data. A group of data points would comprise together to form a cluster in which all the objects would belong to the same group.

The given data is divided into different groups by combining similar objects into a group. This group is nothing but a cluster. A cluster is nothing but a collection of similar data which is grouped together. 

For example, consider a dataset of vehicles given in which it contains information about different vehicles like cars,  buses, bicycles, etc. As it is unsupervised learning there are no class labels like Cars, Bikes, etc for all the vehicles, all the data is combined and is not in a structured manner.

Now our task is to convert the unlabelled data to labelled data and it can be done using clusters.

The main idea of cluster analysis is that it would arrange all the data points by forming clusters like cars cluster which contains all the cars,  bikes clusters which contains all the bikes, etc.

Simply it is the partitioning of similar objects which are applied to unlabelled data.

Properties of Clustering :

1. Clustering Scalability: Nowadays there is a vast amount of data and should be dealing with huge databases. In order to handle extensive databases, the clustering algorithm should be scalable. Data should be scalable, if it is not scalable, then we can’t get the appropriate result which would lead to wrong results.

2. High Dimensionality: The algorithm should be able to handle high dimensional space along with the data of small size.

3. Algorithm Usability with multiple data kinds: Different kinds of data can be used with algorithms of clustering. It should be capable of dealing with different types of data like discrete, categorical and interval-based data, binary data etc.

4. Dealing with unstructured data: There would be some databases that contain missing values, and noisy or erroneous data. If the algorithms are sensitive to such data then it may lead to poor quality clusters. So it should be able to handle unstructured data and give some structure to the data by organising it into groups of similar data objects. This makes the job of the data expert easier in order to process the data and discover new patterns.

5. Interpretability: The clustering outcomes should be interpretable, comprehensible, and usable. The interpretability reflects how easily the data is understood.

Clustering Methods:

The clustering methods can be classified into the following categories:

Partitioning Method: It is used to make partitions on the data in order to form clusters. If  “n” partitions are done on  “p” objects of the database then each partition is represented by a cluster and n < p.  The two conditions which need to be satisfied with this Partitioning Clustering Method are: 

  • One objective should only belong to only one group.
  • There should be no group without even a single purpose.

In the partitioning method, there is one technique called iterative relocation, which means the object will be moved from one group to another to improve the partitioning  

Hierarchical Method: In this method, a hierarchical decomposition of the given set of data objects is created. We can classify hierarchical methods and will be able to know the purpose of classification on the basis of how the hierarchical decomposition is formed. There are two types of approaches for the creation of hierarchical decomposition, they are: 

  • Agglomerative Approach: The agglomerative approach is also known as the bottom-up approach. Initially, the given data is divided into which objects form separate groups. Thereafter it keeps on merging the objects or the groups that are close to one another which means that they exhibit similar properties. This merging process continues until the termination condition holds.
  • Divisive Approach: The divisive approach is also known as the top-down approach. In this approach, we would start with the data objects that are in the same cluster. The group of individual clusters is divided into small clusters by continuous iteration. The iteration continues until the condition of termination is met or until each cluster contains one object.

Once the group is split or merged then it can never be undone as it is a rigid method and is not so flexible. The two approaches which can be used to improve the Hierarchical Clustering Quality in Data Mining are: –

  • One should carefully analyze the linkages of the object at every partitioning of hierarchical clustering.
  • One can use a hierarchical agglomerative algorithm for the integration of hierarchical agglomeration. In this approach, first, the objects are grouped into micro-clusters. After grouping data objects into microclusters, macro clustering is performed on the microcluster.

Density-Based Method: The density-based method mainly focuses on density. In this method, the given cluster will keep on growing continuously as long as the density in the neighbourhood exceeds some threshold, i.e,  for each data point within a given cluster. The radius of a given cluster has to contain at least a minimum number of points.

Grid-Based Method: In the Grid-Based method a grid is formed using the object together,i.e, the object space is quantized into a finite number of cells that form a grid structure. One of the major advantages of the grid-based method is fast processing time and it is dependent only on the number of cells in each dimension in the quantized space.  The processing time for this method is much faster so it can save time.

Model-Based Method: In the model-based method, all the clusters are hypothesized in order to find the data which is best suited for the model. The clustering of the density function is used to locate the clusters for a given model. It reflects the spatial distribution of data points and also provides a way to automatically determine the number of clusters based on standard statistics, taking outlier or noise into account. Therefore it yields robust clustering methods.

Constraint-Based Method: The constraint-based clustering method is performed by the incorporation of application or user-oriented constraints. A constraint refers to the user expectation or the properties of the desired clustering results.  Constraints provide us with an interactive way of communication with the clustering process. The user or the application requirement can specify constraints.  

Applications Of Cluster Analysis:

  • It is widely used in image processing, data analysis, and pattern recognition.
  • It helps marketers to find the distinct groups in their customer base and they can characterize their customer groups by using purchasing patterns.
  • It can be used in the field of biology, by deriving animal and plant taxonomies and identifying genes with the same capabilities.
  • It also helps in information discovery by classifying documents on the web.

 

Advantages of Cluster Analysis:

  1. It can help identify patterns and relationships within a dataset that may not be immediately obvious.
     
  2. It can be used for exploratory data analysis and can help with feature selection.
     
  3. It can be used to reduce the dimensionality of the data.
     
  4. It can be used for anomaly detection and outlier identification.
     
  5. It can be used for market segmentation and customer profiling.

Disadvantages of Cluster Analysis:

  1. It can be sensitive to the choice of initial conditions and the number of clusters.
     
  2. It can be sensitive to the presence of noise or outliers in the data.
     
  3. It can be difficult to interpret the results of the analysis if the clusters are not well-defined.
     
  4. It can be computationally expensive for large datasets.
     
  5. The results of the analysis can be affected by the choice of clustering algorithm used.
     
  6. It is important to note that the success of cluster analysis depends on the data, the goals of the analysis, and the ability of the analyst to interpret the results.


Previous Article
Next Article

Similar Reads

Frequent Pattern Mining in Data Mining
Frequent pattern mining in data mining is the process of identifying patterns or associations within a dataset that occur frequently. This is typically done by analyzing large datasets to find items or sets of items that appear together frequently. Frequent pattern extraction is an essential mission in data mining that intends to uncover repetitive
10 min read
Difference Between Data Mining and Text Mining
Data Mining: Data mining is the process of finding patterns and extracting useful data from large data sets. It is used to convert raw data into useful data. Data mining can be extremely useful for improving the marketing strategies of a company as with the help of structured data we can study the data from different databases and then get more inn
3 min read
Difference Between Data Mining and Web Mining
Data mining: Data mining is the method of analyzing expansive sums of data in an exertion to discover relationships, designs, and insights. These designs, concurring to Witten and Eibemust be "meaningful in that they lead to a few advantages, more often than not a financial advantage." Data in data mining is additionally ordinarily quantitative par
3 min read
Mining Collective Outliers Data Mining
A database may contain data objects that do not comply with the general behavior or model of the data. These data objects are Outliers. The investigation of OUTLIER data is known as OUTLIER MINING. An outlier may be detected using statistical tests which assume a distribution or probability model for the data, or using distance measures where objec
5 min read
Generalized Sequential Pattern (GSP) Mining in Data Mining
GSP is a very important algorithm in data mining. It is used in sequence mining from large databases. Almost all sequence mining algorithms are basically based on a prior algorithm. GSP uses a level-wise paradigm for finding all the sequence patterns in the data. It starts with finding the frequent items of size one and then passes that as input to
7 min read
Text Mining in Data Mining
In this article, we will learn about the main process or we should say the basic building block of any NLP-related tasks starting from this stage of basically Text Mining. What is Text Mining?Text mining is a component of data mining that deals specifically with unstructured text data. It involves the use of natural language processing (NLP) techni
10 min read
Data Mining For Financial Data Analysis
Data Mining is a quite strong field to execute advanced examination of data as well as it carries off techniques and mechanisms from statistics and machine learning. Business intelligence and advanced analytics applications use the information which is generated by it which involves the analysis of verified data. Financial analysis of data is very
3 min read
Analysis of Attribute Relevance in Data mining
Method of Analysis of Attribute : There have been numerous investigations in AI, insights, fluffy and harsh set Hypotheses on quality pertinence investigation. The overall thought behind characteristic Pertinence examination is to process some gauge that is utilized to evaluate the importance of a trait concerning a given class or idea. Such measur
2 min read
Predictive Analysis in Data Mining
Predictive analysis is a form of data analysis that uses statistical algorithms and machine learning techniques to identify the likelihood of future outcomes based on historical data. This method of analysis is used to make informed decisions, forecast future trends, and mitigate risks by predicting the likelihood of various outcomes. Predictive an
4 min read
Principal Components Analysis in Data Mining
Dimension reduction is a necessary step in the effective analysis of massive high-dimensional datasets. It may be the main objective in Data Mining for the analysis and visualization of the high-dimensional data or it may be an intermediate step that enables some other analysis such as clustering. The principal component analysis is a data reductio
2 min read
Discretization By Histogram Analysis in Data Mining
The histogram is old method used to plot the attributes in a graph. Histo means to plot and gram means chart. So basically histogram is a graph of the poles. It is one of the effective methods to summarize the distribution of a given attribute. If the attribute is nominal, then a vertical bar is plotted for every known value of the attribute, in wh
3 min read
Market Basket Analysis in Data Mining
A data mining technique that is used to uncover purchase patterns in any retail setting is known as Market Basket Analysis. Basically, market basket analysis in data mining involves analyzing the combinations of products that are bought together. This is a technique that gives the careful study of purchases done by a customer in a supermarket. This
6 min read
Types of Sources of Data in Data Mining
In this post, we will discuss what are different sources of data that are used in data mining process. The data from multiple sources are integrated into a common source known as Data Warehouse. Let's discuss what type of data can be mined: Flat FilesFlat files is defined as data files in text form or binary form with a structure that can be easily
6 min read
Data Preprocessing in Data Mining
Data preprocessing is an important step in the data mining process. It refers to the cleaning, transforming, and integrating of data in order to make it ready for analysis. The goal of data preprocessing is to improve the quality of the data and to make it more suitable for the specific data mining task. Some common steps in data preprocessing incl
6 min read
Data Integration in Data Mining
INTRODUCTION : Data integration in data mining refers to the process of combining data from multiple sources into a single, unified view. This can involve cleaning and transforming the data, as well as resolving any inconsistencies or conflicts that may exist between the different sources. The goal of data integration is to make the data more usefu
5 min read
Different Types of Data in Data Mining
Introduction : In general terms, “Mining” is the process of extraction. In the context of computer science, Data Mining can be referred to as knowledge mining from data, knowledge extraction, data/pattern analysis, data archaeology, and data dredging. There are other kinds of data like semi-structured or unstructured data which includes spatial dat
7 min read
Data Mining: Data Warehouse Process
INTRODUCTION: Data warehousing and data mining are closely related processes that are used to extract valuable insights from large amounts of data. The data warehouse process is a multi-step process that involves the following steps: Data Extraction: The first step in the data warehouse process is to extract data from various sources such as transa
8 min read
Data Mining: Data Attributes and Quality
Prerequisite - Data Mining Data: It is how the data objects and their attributes are stored. An attribute is an object's property or characteristics. For example. A person's hair colour, air humidity etc.An attribute set defines an object. The object is also referred to as a record of the instances or entity. Different types of attributes or data t
4 min read
Data Reduction in Data Mining
Prerequisite - Data Mining The method of data reduction may achieve a condensed description of the original data which is much smaller in quantity but keeps the quality of the original data. INTRODUCTION: Data reduction is a technique used in data mining to reduce the size of a dataset while still preserving the most important information. This can
7 min read
Data Transformation in Data Mining
INTRODUCTION: Data transformation in data mining refers to the process of converting raw data into a format that is suitable for analysis and modeling. The goal of data transformation is to prepare the data for data mining so that it can be used to extract useful insights and knowledge. Data transformation typically involves several steps, includin
6 min read
Difference Between Data Science and Data Mining
Data Science: Data Science is a field or domain which includes and involves working with a huge amount of data and uses it for building predictive, prescriptive and prescriptive analytical models. It's about digging, capturing, (building the model) analyzing(validating the model) and utilizing the data(deploying the best model). It is an intersecti
6 min read
Difference Between Big Data and Data Mining
Big Data: It is huge, large or voluminous data, information or the relevant statistics acquired by the large organizations and ventures. Many software and data storage created and prepared as it is difficult to compute the big data manually. It is used to discover patterns and trends and make decisions related to human behavior and interaction tech
3 min read
Difference Between Data Mining and Data Visualization
Data mining: Data mining is the method of analyzing expansive sums of data in an exertion to discover relationships, designs, and insights. These designs, concurring to Witten and Eibemust be "meaningful in that they lead to a few advantages, more often than not a financial advantage." Data in data mining is additionally ordinarily quantitative par
2 min read
Data Cube or OLAP approach in Data Mining
What is OLAP?OLAP stands for Online Analytical Processing, which is a technology that enables multi-dimensional analysis of business data. It provides interactive access to large amounts of data and supports complex calculations and data aggregation. OLAP is used to support business intelligence and decision-making processes. Grouping of data in a
4 min read
Difference between Data Profiling and Data Mining
1. Data Mining :Data mining can be defined as the process of identifying the patterns in a prebuilt database. It extracts aberrant patterns, interconnection between the huge datasets to get the correct outcomes.Data mining, sometimes known as “Knowledge discovery in databases”. We can say that it is a combination of three scientific disciplines i.e
5 min read
Data Mining - Time-Series, Symbolic and Biological Sequences Data
Data mining refers to extracting or mining knowledge from large amounts of data. In other words, Data mining is the science, art, and technology of discovering large and complex bodies of data in order to discover useful patterns. Theoreticians and practitioners are continually seeking improved techniques to make the process more efficient, cost-ef
3 min read
Clustering High-Dimensional Data in Data Mining
Clustering is basically a type of unsupervised learning method. An unsupervised learning method is a method in which we draw references from datasets consisting of input data without labeled responses. Clustering is the task of dividing the population or data points into a number of groups such that data points in the same groups are more similar t
3 min read
Complex Data Types in Data Mining
The Complex data types require advanced data mining techniques. Some of the Complex data types are sequence Data which includes the Time-Series, Symbolic Sequences, and Biological Sequences. The additional preprocessing steps are needed for data mining of these complex data types. 1. Time-Series Data Mining: In time-series data, data is measured as
7 min read
Data Replication Methods in Data Mining
Data replication is the process of copying or transferring the data from a database from one server of a database to a database of another server. It helps to improve data availability and accessibility. This process also facilitates data recovery and data sharing. Data replication is performed in order to provide duplication of the whole data in c
5 min read
Outlier Detection in High-Dimensional Data in Data Mining
An outlier is a data object that deviates significantly from the rest of the data objects and behaves in a different manner. An outlier is an object that deviates significantly from the rest of the objects. They can be caused by measurement or execution errors. The analysis of outlier data is referred to as outlier analysis or outlier mining. Outli
6 min read