FlashKeepers

Machine Learning · College · College and University

ML IV: Clustering and Dimensionality Reduction

k-means, hierarchical clustering, DBSCAN, PCA, t-SNE, UMAP, Gaussian mixtures and cluster evaluation.

About this set

40 basic cards for College Machine Learning. It opens with "What does k-means minimize during optimization?" and "How are cluster centroids updated in k-means?". Study it alongside the other College sets below.

40 cards · basic cards · AI-written, checked twice. Edit anything.

Study this set free Look inside first Get FlashKeepers for iPhone

Opens in your browser, no account. Get the iPhone and iPad app · Android app

What does k-means minimize during optimization?
Show answerThe sum of squared distances between points and their assigned cluster centroids
How are cluster centroids updated in k-means?
Show answerBy computing the mean of all points currently assigned to that cluster
What is the elbow method used for in k-means?
Show answerSelecting the optimal k by plotting inertia versus k and identifying the point where inertia stops decreasing sharply
What is k-means++ initialization?
Show answerA seeding strategy that spreads initial centroids probabilistically to improve convergence and avoid poor local optima
Name one major limitation of k-means.
Show answerIt assumes clusters are convex and roughly equal-sized, and fails on elongated or nested clusters
What is the core difference between agglomerative and divisive hierarchical clustering?
Show answerAgglomerative starts with n clusters (one per point) and merges upward; divisive starts with one cluster and splits downward
What does a dendrogram represent in hierarchical clustering?
Show answerA tree diagram showing the sequence of cluster merges or splits and the distance at which each occurs
Define complete linkage in hierarchical clustering.
Show answerThe distance between two clusters is the maximum distance between any pair of points from different clusters
What is Ward linkage in hierarchical clustering?
Show answerA linkage method that merges clusters to minimize the increase in within-cluster variance
How does DBSCAN handle outliers?
Show answerPoints that are neither core points nor density-reachable from any core point are labeled as noise (outliers)
What is a computational challenge with DBSCAN?
Show answerFinding neighbors requires distance computations that scale poorly with dataset size and dimensionality
What is the primary objective of PCA?
Show answerTo reduce dimensionality by finding orthogonal directions that maximize variance in the data
How much of the original data can be reconstructed from principal components?
Show answerAll variance can be recovered if all components are retained; typically some variance is lost when components are discarded
Why must principal components be orthogonal in PCA?
Show answerOrthogonality ensures components are uncorrelated, avoiding redundant information and providing a unique basis
What does the explained variance ratio tell us in PCA?
Show answerThe fraction of total variance in the data captured by each principal component, useful for deciding how many components to keep

25 more cards in the app

Study this set free