Skip to main content

Em Algorithm(Expectation Maximization) And Hierarchical Cluster

Em Algorithm(Expectation Maximization) And Hierarchical Cluster

Em algorithm(Expectation Maximization)-

The EM algorithm is the extension of K means algorithm. The EM algorithm is assign each object to a cluster according their weight representation. The probability are mention here for clustering definition they are based on weighted and measures of objects.

Hierarchical Method Cluster-

It is working for grouping data objects into cluster. It is divided into two types-

1.Aaglomerative Hierarchical Clustering

2.Divisible Hierachical Clustering

1.Aaglomerative Hierarchical Clustering-

It is fallow bottom-up strategy. In that merging a small atomic cluster into larger cluster. That process is repeated until the termination condition holds.

2.Divisible Hierachical Clustering-

It follows the top-down strategy and it is Reverse process of Aaglomerative hierarchical clustering. That is starting with all objects with one cluster and subdivided cluster into smaller unit until termination condition not satisfied well in Manner.

Explanation :

Clustering is a fundamental task in data mining and machine learning that groups similar data points into clusters without predefined labels. Two widely used clustering approaches are the EM Algorithm (Expectation Maximization) and Hierarchical Clustering. Both play a key role in pattern discovery and data analysis, though they differ in their principles and applications.

EM Algorithm (Expectation Maximization)

The Expectation Maximization (EM) algorithm is an iterative optimization method used for finding the best parameters of probabilistic models, especially when data contains hidden (latent) variables. In clustering, EM is often applied through the Gaussian Mixture Model (GMM), where data is assumed to be generated from a mixture of several Gaussian distributions.

The EM algorithm operates in two main steps:

  1. Expectation (E-step):
    Estimates the probability that each data point belongs to a specific cluster based on current parameters (means, variances, and probabilities).

  2. Maximization (M-step):
    Updates the parameters of each cluster to maximize the likelihood of the observed data, given the current assignments.

These two steps repeat until convergence — when changes in parameters become negligible.
Unlike K-Means, which assigns each point to exactly one cluster, EM allows soft clustering, meaning each point can belong to multiple clusters with certain probabilities. This makes EM more flexible and effective for overlapping or complex data distributions.

Hierarchical Clustering

Hierarchical Clustering builds a hierarchy of clusters either from the bottom up (agglomerative) or from the top down (divisive).

  • Agglomerative clustering starts by treating each data point as a separate cluster and successively merges the closest pairs until all points form a single cluster.

  • Divisive clustering, on the other hand, starts with one large cluster and recursively splits it into smaller clusters.

The relationships between clusters are visualized using a dendrogram, a tree-like diagram that shows how clusters are merged or divided at each step. The choice of linkage criteria—such as single linkage, complete linkage, or average linkage—determines how distances between clusters are measured.

Hierarchical clustering does not require specifying the number of clusters in advance and is particularly useful for visualizing the structure of data. However, it can be computationally expensive for large datasets.


Read More-

  1. What Is Data Warehouse
  2. Applications of Data Warehouse, Types Of Data Warehouse
  3. Architecture of Data Warehousing
  4. Difference Between OLTP And OLAP
  5. Python Notes

Comments

Popular posts from this blog

Data Mining Weka Software- 4 types of working in weka software

Weka Software Weka Software- Weka software are used for calculating result with different condition in  data mining . The weka software is play important role in industry, That software are open source and gives great graphical user interface to user. That software are basically Java based customized tool. The weka software are mainly used in machine learning programs for calculating a different task. In weka software including lots of data mining algorithms for performing a different task.  Weka software gives four types of GUI for work-  1. Simple CLI- It gives simple command line interface that allows direct execution of commands.  2. Explorer-It is an environment for exploring data means display data to user in different format.  3. Experimenter-That section for performing experiment and conducting statistical test between learning schema. In that stage execution of algorithm are perform.  4. Knowledge Flow-It is J...

Cluster Analysis -Properties of Clustering and Applications of Cluster Analysis

CLUSTER ANALYSIS 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 ...

The Latest Popular Programming Languages in the IT Sector & Their Salary Packages (2025)

Popular Programming Languages in 2025 The IT industry is rapidly evolving in 2025, driven by emerging technologies that transform the way businesses build, automate, and innovate. Programming languages play a vital role in this digital revolution, powering everything from web and mobile development to artificial intelligence and cloud computing. The most popular programming languages in today’s IT sector stand out for their versatility, scalability, and strong developer communities. With increasing global demand, mastering top languages such as Python, Java, JavaScript, C++, and emerging frameworks ensures excellent career growth and competitive salary packages across software development, data science, and IT engineering roles. 1. Python Python stands as the most versatile and beginner-friendly language, widely used in data science, artificial intelligence (AI), machine learning (ML), automation, and web development . Its simple syntax and powerful libraries like Pandas, ...