Cluster Analysis - DSCI 4520

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/17

flashcard set

Earn XP

Description and Tags

Vocabulary flashcards covering fundamental concepts, distance metrics, standardization techniques, and algorithms in cluster analysis from DSCI 4520.

Last updated 7:06 PM on 10/14/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

18 Terms

1
New cards

Cluster

Is a descriptive collection of data objects that exhibits high similarity among objects within the same group and dissimilarity among objects in different groups.

2
New cards

Cluster Analysis

Involves Subjective Judgements -We don’t know how many clusters there are until the output


Is an unsupervised classification technique, also known as segmentation, meaning there’s no pre-determined classes. It groups data points based on similarity without prior labels. The number of clusters is often determined post-analysis.

3
New cards

Cluster Analysis in applied in these two…

either as a stand-alone exploratory analysis or as a pre-processing step for predictive models



.It helps uncover patterns and structures in data before applying supervised learning techniques.

4
New cards

Market Segmentation

A business application of cluster analysis that groups customers to develop tailored marketing strategies, allocate resources efficiently, differentiate offerings, and improve customer satisfaction.

5
New cards

Intra-Class Similarity

Sign of good clustering; is how similar the data objects within the same cluster are

<p>Sign of good clustering; is how similar the data objects within the same cluster are </p>
6
New cards

Inter-Class Similarity

Sign of good clustering; is how similar the data objects across different clusters,

<p>Sign of good clustering; is how similar the data objects across different clusters, </p>
7
New cards

Minkowski Distance

A metric for calculating distance between points in multidimensional space expressed


includes…

Euclidean Distance (A to C) and

Manhattan Distance (AB + BC)

8
New cards
<p>Euclidean Distance</p>

Euclidean Distance

The straight-line distance between two points corresponding to Minkowski distance where p=2p = 2, calculated ad(x,y)=∑i=1n(xi−yi)2d(x, y) = \sqrt{\sum_{i=1}^n (x_i - y_i)^2}

calculated a2*b2*c2 AND then square root it


Calculation for Euclidean distance: how similar are jim and mike?

Compared to what? Well if we look at mike and kate, jim and mike arent that similar.

<p>The straight-line distance between two points corresponding to Minkowski distance where $$p = 2$$, calculated a$$d(x, y) = \sqrt{\sum_{i=1}^n (x_i - y_i)^2}$$</p><p><strong>calculated </strong><span style="background-color: transparent;"><strong>a2*b2*c2 AND then square root it</strong></span></p><p></p><p><span style="background-color: transparent;">Calculation for Euclidean distance: how similar are jim and mike?</span></p><p><span style="background-color: transparent;">Compared to what? Well if we look at mike and kate, jim and mike arent that similar.</span></p>
9
New cards

Manhattan Distance

A distance metric between two points measured along axes at right angles, corresponding to Minkowski distance where p=1p = 1, calculated as d(x,y)=∑i=1n∣xi−yi∣d(x, y) = \sum_{i=1}^n |x_i - y_i|.


calculated as Manhattan Distance (AB + BC)

10
New cards

Standardization

The pre-processing practice of converting variables to a common scale (squish the range from a bigger range to a smaller one), using z- score, ie, turning 1 billion - billion to 0 to -3.


-Do this because similarity is measured in terms of distance


- Now mike is more similar to jim than kate


Two ways to standardize

  • z-score

  • Scaling [0,1]


11
New cards

zz-Score Standardization

A standardization technique calculated as z=x−xˉsz = \frac{x - \bar{x}}{s} , Subtract the mean from each

observation and divide by the sample standard deviation


-Resulting data will have a mean of 00 and a standard deviation of 11.

12
New cards

zz-Score Standardization Calculation Practice

Let's calculate the z-score for Jim's Age using the data tables visible on your screen:

z=x−xˉsz = \frac{x - \bar{x}}{s}


x = 38 Jims age:


1: xˉ\bar{x} (average of ages = 38 + 97 + 22/ 3 = 52.33 xˉ\bar{x})

2: σ (Std Dev Age = ((Jim 52.33 - 38)² + ( Mike 97 - 52.33)² + Kate 52.33 - 22)² = 3120.67 σ

3: 3120.67 σ / 2(n-1) = 1560.33

4. get square root of 1560.33 = 39.50 s


so, x (38) - 52.33 (average) / 39.50 s = -0.36 (for Jim’s age) and you rinse and repeat until you get a mean of 00 and a standard deviation of 11 .

<p>Let's calculate the z-score for <strong>Jim's Age</strong> using the data tables visible on your screen:</p><p>$$ z = \frac{x - \bar{x}}{s} $$ </p><p></p><p><strong>x = 38 </strong>Jims age:</p><p></p><p>1: $$ \bar{x} $$ (average of ages = 38 + 97 + 22/ 3 = <strong>52.33 </strong>$$ \bar{x} $$)</p><p>2: σ (Std Dev Age = ((Jim 52.33 - 38)² + ( Mike 97 - 52.33)² + Kate 52.33 - 22)²  = <strong>3120.67 σ </strong></p><p>3: <strong>3120.67 σ / 2(n-1) </strong>= <strong>1560.33</strong></p><p>4.<strong> </strong>get square root of <u>1560.33 </u><strong>= 39.50 s</strong></p><p></p><p>so,  <strong>x (38) - 52.33 (average) / 39.50 s = -0.36 (for Jim’s age) </strong>and <strong>you rinse and repeat until you get a mean of $$0$$ and a standard deviation of $$1$$ .</strong></p>
13
New cards

Partitional Clustering

Take a big cluster and make smaller ones

  • K means average


A clustering approach that divides a dataset of nn objects into discrete clusters to optimize a specific partitioning criterion.


14
New cards

Hierarchical Clustering

-clustering technique where the goal is to identify the hierarchies between objects n in the dataset such

that they can be represented in a nested tree structure

15
New cards

kk-Means Algorithm

A heuristic partitional clustering algorithm introduced by MacQueen (1967) where each cluster is represented by a calculated centroid based on variable averages.

16
New cards
<p>k - Means Clustering example</p>

k - Means Clustering example

  1. Randomly select two seeds as the

initial centroids

  1. Assign each observation to

the closest centroid by calculating the distance between them

(Assign observations to clusters based on distance)

  1. Recalculate cluster centroids by finding the average of the subject of the point: age for example)

  2. Rinse and repeat until nothing moves


<ol><li><p>Randomly select two seeds as the</p></li></ol><p>initial centroids</p><ol start="2"><li><p>Assign each observation to</p></li></ol><p>the closest centroid by calculating the distance between them</p><p>(Assign observations to clusters based on distance)</p><ol start="3"><li><p>Recalculate cluster centroids by finding the average of the subject of the point: age for example)</p></li><li><p>Rinse and repeat until nothing moves</p></li></ol><p></p>
17
New cards

Cluster Centroid

The representative center of a cluster formed by calculating the average value across each variable for all observations assigned to that cluster.

18
New cards

Sum of Squared Errors (WSS)

cluster sums of squared errors- when you calculate the points within a cluster…and the more clusters there are, the less errors there are. It creates a chart that decreases and becomes gradually horizontal. You stop at the point where it decreases.


A measure of cluster compactness calculated by summing the squared distances between each data point and its assigned cluster centroid.