• Verkeerd document? Gratis ruilen
  • Geschreven door studenten die geslaagd zijn
  • Direct beschikbaar na je betaling
  • Online lezen of als PDF
Verkopen
Kies je studieland
Kies je taal
Document preview thumbnail
Voorbeeld 3 van de 21 pagina's
Overig

MATHEMATICS Assignment – 3

Document preview thumbnail
Voorbeeld 3 van de 21 pagina's

MATHEMATICS Assignment – 3

Voorbeeld van de inhoud

MATHEMATICS Assignment – 3
1. Recitation Problems

1.1. Chapter 8

1.1.1. Given K equally sized clusters, the probability that a randomly chosen initial centroid
will come from any given cluster is 1/K, but the probability that each cluster will have
exactly one initial centroid is much lower. (It should be clear that having one initial
centroid in each cluster is a good starting situation for K-means.) In general, if there are K
clusters and each cluster has n points, then the probability, p, of selecting in a sample of
size K one initial centroid from each cluster is given by Equation 8.20. (This assumes
sampling with replacement.) From this formula we can calculate, for example, that the
chance of having one initial centroid from each of four clusters is 4!/44 = 0.0938




(a) PIot the probability of obtaining one point from each cluster in a sample of size K for values of
K between 2 and 100.

Please find the values computed for all values of K = 2 to 100 in the aGached sheet [Tab :
Problem 8.4(a)] with the Probability calculated and ploGed.



Assignment - 3.xlsx




Probability of having one point from each cluster in sample of size K is essentially 0 by the
time K >= 8

, Probabilit
0.60 y
0.50


0.40


Probability 0.30 Probability


0.20


0.10


0.00
0 20 40 60 80 100 120
K




(b) For K clusters, K = 10,100, and 1000, find the probability that a sample of size 2K( contains
at least one point from each cluster. You can use either mathematical methods or statistical
simulation to determine the answer.

Given,
K – clusters
Sample size = 2K

Probability that a point doesn’t come from a particular cluster = 1 – 1/K
Probability that all points don’t come from a particular cluster = (1 – 1/K)2K

Probability that atleast one of the 2K point comes from a particular cluster = 1 - (1 – 1/K)2K
Probability that a sample of 2K points contains one point from each cluster = (1 - (1 – 1/K)2K)K


Using the above formula for K = 10 we get:
Probability = (1-(1/10)20)10 = 0.27355

Using the above formula for K = 100 we get:
Probability = (1-(1/100)200)100 = 5.659 e-07

Using the above formula for K = 1000 we get:
Probability = (1-(1/1000)2000)1000 = 8.236 e-64

1.1.2. Suppose that for a data set

, • there are m points and K clusters,
• half the points and clusters are in "more dense" regions,
• half the points and clusters are in "less dense" regions, and
• the two regions are well-separated from each other.

For the given data set, which of the following should occur in order to minimize the
squared error when finding If clusters:

(a) Centroids should be equally distributed between more dense and less dense regions.
(b) More centroids should be allocated to the less dense region.
(c) More centroids should be allocated to the denser region.


Note: Do not get distracted by special cases or bring in factors other than density.
However, if you feel the true answer is different from any given above, justify
your response.

The correct answer is option (b), because if we have more centroids allocated to the
less dense regions then the distance between a centroid of a cluster and any data point in
the cluster will be relatively less as compared to having less centroids in less dense region
increasing sum of the squared error (SSE) for clusters in less dense regions. (Analogous to
post-processing technique of splitting clusters with large SSE)

In the higher density region all data points are cohesively located (densely located)
to each other, naturally resulting in a smaller sum of squared error (SSE) even with less
number of centroids being allocated. (Analogous to post-processing technique of merging
clusters which result in smallest increase in SSE).

1.1.3. Total SSE is the sum of the SSE for each separate attribute.

(a) What does it mean if the SSE for one variable is low for all clusters?

If the SSE of one variable/aGribute is low for all clusters, then the variable is essentially a
constant and is of liGle use in dividing the data into groups. Such variables do not help the
purpose of Clustering i.e. division of data into mostly disjoint(exclusive) groups or clusters.

(b) Low for just one cluster?

If the SSE of one variable/aGribute is low for just one cluster, then this aGribute helps define the
cluster. Such variables help the purpose of Clustering i.e. division of data into mostly
disjoint(exclusive) groups or clusters.




(c) High for all clusters?

Documentinformatie

Geüpload op
31 oktober 2026
Aantal pagina's
21
Geschreven in
2026/2027
Type
Overig
Persoon
Onbekend
€14,22

Verkeerd document? Gratis ruilen Binnen 14 dagen na aankoop en voor het downloaden kun je een ander document kiezen. Je kunt het bedrag gewoon opnieuw besteden.
Geschreven door studenten die geslaagd zijn
Direct beschikbaar na je betaling
Online lezen of als PDF

Seller avatar
De reputatie van een verkoper is gebaseerd op het aantal documenten dat iemand tegen betaling verkocht heeft en de beoordelingen die voor die items ontvangen zijn. Er zijn drie niveau’s te onderscheiden: brons, zilver en goud. Hoe beter de reputatie, hoe meer de kwaliteit van zijn of haar werk te vertrouwen is.
STUVIAMAESTRO254
2,6
(40)
Verkocht
171
Volgers
98
Items
9795
Laatst verkocht
3 dagen geleden

Echte notities, van echte studenten
Elk document op Stuvia is geschreven door een medestudent die hetzelfde vak deed. Zo leer je van iemand die het al heeft gehaald.



Waarom studenten kiezen voor Stuvia

Gemaakt door medestudenten, geverifieerd door reviews

Kwaliteit die je kunt vertrouwen: geschreven door studenten die slaagden en beoordeeld door anderen die dit document gebruikten.

Niet tevreden? Kies een ander document

Geen zorgen! Je kunt voor hetzelfde geld direct een ander document kiezen dat beter past bij wat je zoekt.

Betaal zoals je wilt, start meteen met leren

Geen abonnement, geen verplichtingen. Betaal zoals je gewend bent via iDeal of creditcard en download je PDF-document meteen.

Student with book image

“Gekocht, gedownload en geslaagd. Zo makkelijk kan het dus zijn.”

Alisha Student

Bezig met je bronvermelding?

Maak nauwkeurige citaten in APA, MLA en Harvard met onze gratis bronnengenerator.

Bezig met je bronvermelding?

Veelgestelde vragen