ArticleslgStudy

computer science

Fuzzy clustering

Fuzzy clustering is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Fuzzy clustering rather than just read about it. In short: Fuzzy clustering (also referred to as soft clustering or soft k-means) is a form of clustering in which each data point can belong to more than one cluster. Clustering or cluster analysis involves assigning data points to clusters such that items in the same cluster are as similar as possible, while items belonging to different clusters are as dissimilar as possible.

Fuzzy clustering — main illustration
Fuzzy clustering — illustration

Key takeaways

  • Fuzzy clustering belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Fuzzy clustering to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Fuzzy clustering from memory before moving on to harder problems.

Reference excerpt

Fuzzy clustering (also referred to as soft clustering or soft k-means) is a form of clustering in which each data point can belong to more than one cluster. Clustering or cluster analysis involves assigning data points to clusters such that items in the same cluster are as similar as possible, while items belonging to different clusters are as dissimilar as possible. Clusters are identified via similarity measures. These similarity measures include distance, connectivity, and intensity. Different similarity measures may be chosen based on the data or the application.

Comparison to hard clustering In non-fuzzy clustering (also known as hard clustering), data are divided into distinct clusters, where each data point can only belong to exactly one cluster. In fuzzy clustering, data points can potentially belong to multiple clusters. For example, an apple can be red or green (hard clustering), but an apple can also be red AND green (fuzzy clustering). Here, the apple can be red to a certain degree as well as green to a certain degree. Instead of the apple belonging to green [green = 1] and not red [red = 0], the apple can belong to green [green = 0.5] and red [red = 0.5]. These value are normalized between 0 and 1; however, they do not represent probabilities, so the two values do not need to add up to 1.

Membership Membership grades are assigned to each of the data points (tags). These membership grades indicate the degree to which data points belong to each cluster. Thus, points on the edge of a cluster, with lower membership grades, may be in the cluster to a lesser degree than points in the center of cluster.

Fuzzy C-means clustering One of the most widely used fuzzy clustering algorithms is the Fuzzy C-means clustering (FCM) algorithm.

History Fuzzy c-means (FCM) clustering was developed by J.C. Dunn in 1973, and improved by J.C. Bezdek in 1981.

General description The fuzzy c-means algorithm is very similar to the k-means algorithm:

Choose a number of clusters. Assign coefficients randomly to each data point for being in the clusters. Repeat until the algorithm has converged (that is, the coefficients' change between two iterations is no more than ε {\displaystyle \varepsilon } , the given sensitivity threshold) : Compute the centroid for each cluster (shown below). For each data point, compute its coefficients of being in the clusters.

Centroid Any point x has a set of coefficients giving the degree of being in the kth cluster wk(x). With fuzzy c-means, the centroid of a cluster is the mean of all points, weighted by their degree of belonging to the cluster, or, mathematically,

c k = ∑ x w k ( x ) m x ∑ x w k ( x ) m , {\displaystyle c_{k}={{\sum _{x}{w_{k}(x)}^{m}x} \over {\sum _{x}{w_{k}(x)}^{m}}},}

where m is the hyper- parameter that controls how fuzzy the cluster will be (Where the fuzzier cluster means the cluster is less clear, and a data point can belong to multiple clusters at the same time.). The higher it is, the fuzzier the cluster will be in the end.

Algorithm The FCM algorithm attempts to partition a finite collection of n {\displaystyle n} elements

X = { x 1 , . . . , x n } {\displaystyle X=\{\mathbf {x} _{1},...,\mathbf {x} _{n}\}} into a collection of c fuzzy clusters with respect to some given criterion. Given a finite set of data, the algorithm returns a list of c {\displaystyle c} cluster centres C = { c 1 , . . . , c c } {\displaystyle C=\{\mathbf {c} _{1},...,\mathbf {c} _{c}\}} and a partition matrix

W = w i , j ∈ [ 0 , 1 ] , i = 1 , . . . , n , j = 1 , . . . , c {\displaystyle W=w_{i,j}\in [0,1],\;i=1,...,n,\;j=1,...,c} , where each element, w i j {\displaystyle w_{ij}} , tells the degree to which element, x i {\displaystyle \mathbf {x} _{i}} , belongs to cluster c j {\displaystyle \mathbf {c} _{j}} . The FCM aims to minimize an objective function:

… excerpt ends here. Continue reading the full article.

Illustrations

Fuzzy clustering illustration
Fuzzy clustering illustration
Fuzzy clustering: Image segmented by fuzzy clustering, with the original (top left), clustered (top right), and membership map (bottom)
Image segmented by fuzzy clustering, with the original (top left), clustered (top right), and membership map (bottom)

Worked examples

Example 1 — a first encounter with Fuzzy clustering

Start with the simplest possible case. Write down what Fuzzy clustering claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Fuzzy clustering before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Fuzzy clustering ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Fuzzy clustering

In research
Fuzzy clustering appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Fuzzy clustering in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Fuzzy clustering is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cluster analysis algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Fuzzy clustering outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Fuzzy clustering in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Fuzzy clustering means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Fuzzy clustering out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Fuzzy clustering in simple terms?

Fuzzy clustering (also referred to as soft clustering or soft k-means) is a form of clustering in which each data point can belong to more than one cluster. Clustering or cluster analysis involves assigning data points to clusters such that items in the same cluster are as similar as possible, whil…

Why does Fuzzy clustering matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Fuzzy clustering?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Fuzzy clustering.

Tags

  • Cluster analysis algorithms

Keep exploring