100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Complete WEEK7 note: Machine Learning & Learning Algorithms(BM05BAM) $11.92   Add to cart

Class notes

Complete WEEK7 note: Machine Learning & Learning Algorithms(BM05BAM)

 17 views  0 purchase
  • Course
  • Institution
  • Book

THIS IS A COMPLETE NOTE FROM ALL BOOKS + LECTURE! Save your time for internships, other courses by studying over this note! Are you a 1st/2nd year of Business Analytics Management student at RSM, who want to survive the block 2 Machine Learning module? Are you overwhelmed with 30 pages of re...

[Show more]

Preview 2 out of 7  pages

  • March 12, 2024
  • 7
  • 2023/2024
  • Class notes
  • Jason roos
  • All classes
avatar-seller
12.4: Clustering Methods
Clustering: a technique to find clusters in a data set from the observations of a data set by
partitioning them into different groups so that the observations within each subgroups are quite
homogeneous to each other, while observations in different clusters are quite different form
each other.

Clustering is a unsupervised problem that attempt to discover structure on the basis of a
dataset, without labels to use for training.

Hard clustering without a statistical model is the primary way discussed here.

Clustering has two best known approaches
1. K-means Clustering : seeking to partition the observations into a pre-specified number
of clusters
a. Example: Where customers spend time
2. Hierarchical Clustering : we do not know I advance how many clusters we want, and it
builds a tree-like visual representations: dendrogram
a. Example: product categorization

Choice depends on whether you think clusters are disjoint or have a hierarchical arrangement

12.4.1: K-Means Clustering
K-means Clustering: partitions observations into K distinct, non-overlapping clusters.

K-means Clustering’s clusters C1,..Ck must satisfy two conditions
1. Each observations belongs to at least one of K clusters
2. The clusters are non over-lapping: no observations belong to more than one cluster

Good clustering for K-means clustering: the sum of within-cluster-variations for cluster Ck is as
small as possible.
- Goal: minimizing the sum of the measure of within-cluster-variations: W(Ck) +
maximizing the sum of measure of inte-cluster-variations
- The unit of within-cluster variation: weighted sum of Euclidean distance of every
observations for every cluster
o Divided by the total number of observations in the Kth cluster




Input distance matrix

, Process: to find a local optimum out of the K^n ways of minimizing
1. Specify the desired number of clusters K
2. Randomly assign a number from 1 to K to each of the observations as an initial cluster
assignments
3. Iterate until the cluster assignments stop changing
a. For each of the K clusters, compute the cluster centroid as the mean of the
observations assigned to each cluster.
i. Kth cluster centroid: a vector of the p feature means for the observations
in the kth cluster
b. Assign each observations to the cluster whose centroid is closet in the mean of
Euclidean distance.
4. Run the algorithm multiple times from different random cluster assignments and select
the best solution as the local optimum
a. The performance of the result obtained will depend on the initial random cluster
assignment.

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

Guaranteed quality through customer reviews

Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.

Quick and easy check-out

Quick and easy check-out

You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.

Focus on what matters

Focus on what matters

Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!

Frequently asked questions

What do I get when I buy this document?

You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.

Satisfaction guarantee: how does it work?

Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.

Who am I buying these notes from?

Stuvia is a marketplace, so you are not buying this document from us, but from seller ArisMaya. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $11.92. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

75632 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$11.92
  • (0)
  Add to cart