Unsupervised Machine Learning
- 47Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
47 questions
- 1In supervised learning, we have a data matrix x and a response vector y. In unsupervised learning, we have only_____.
Hint
Think about the key missing element that distinguishes unsupervised from supervised learning.
Answer
x
- 2The main difference between supervised and unsupervised learning is the presence of a_____variable.
Hint
This variable is what we try to predict in supervised learning.
Answer
response
- 3In supervised learning, we use data x to predict or detect associations with response y, whereas in unsupervised learning, we identify patterns in_____.
Hint
The data matrix without any labels.
Answer
x
- 4Unsupervised learning is commonly used in the_____phase of data analysis.
Hint
This phase occurs early in the analysis pipeline to understand the data.
Answer
exploratory data analysis
- 5Along with data wrangling and visualization, unsupervised learning is used in_____.
Hint
These three activities are often performed early in analysis.
Answer
exploratory data analysis
- 6When using data to generate hypotheses and then test them on the same data, the findings are still_____.
Hint
Such findings cannot be considered confirmatory because the data is used twice.
Answer
exploratory
- 7To ensure reproducibility, we should use a training/test approach or_____on the whole pipeline.
Hint
This technique repeatedly splits data to validate results.
Answer
cross-validation
- 8If validation on independent data is not possible, results should be interpreted as_____.
Hint
This term indicates the results are not confirmatory.
Answer
exploration
- 9The objective of clustering is to group objects into meaningful clusters such that objects within each cluster are more_____to each other than to objects in other clusters.
Hint
This property defines intra-cluster cohesion.
Answer
similar
- 10In clustering, we can cluster observations, features, or both, which is called_____.
Hint
This term combines clustering of rows and columns simultaneously.
Answer
bi-clustering
- 11The definition of a meaningful cluster is_____, leading to different possible clusterings.
Hint
This word indicates lack of precision in the objective.
Answer
vague
- 12Hierarchical clustering produces a sequence of nested clusters organized in a_____.
Hint
This tree-like structure visualizes the merging process.
Answer
dendrogram
- 13In agglomerative (bottom-up) hierarchical clustering, we start with n individual clusters and merge until we get_____.
Hint
This cluster contains all observations.
Answer
one cluster
- 14To form a dendrogram, we need a measure of distance between observations and a_____between clusters.
Hint
This function defines how distances between clusters are computed.
Answer
linkage function
- 15The three linkage functions discussed are single, complete, and_____.
Hint
This linkage uses the mean of pairwise distances.
Answer
average
- 16Single linkage defines distance between clusters as the_____distance between observations in the two sets.
Hint
It looks at the closest pair of points.
Answer
minimum
- 17Complete linkage uses the_____distance between observations of two sets.
Hint
It looks at the farthest pair of points.
Answer
maximum
- 18Average linkage uses the_____of distances between all points in two sets.
Hint
It is a compromise between minimum and maximum.
Answer
average
- 19Single linkage works best when there are few outliers and can identify clusters with diverse_____, but is sensitive to noise.
Hint
This property refers to the geometric form of clusters.
Answer
shapes
- 20Complete and average linkage are more robust to outliers but require clusters of roughly comparable size and work better with_____distributions.
Hint
This shape is symmetric and round.
Answer
spherical
- 21In the dendrogram, the vertical axis shows the_____between clusters when they are fused.
Hint
This axis indicates dissimilarity.
Answer
distance
- 22The horizontal axis in a dendrogram is not_____and should not be interpreted.
Hint
The order of leaves can be rearranged.
Answer
informative
- 23Cutting the dendrogram at different heights yields different numbers of_____.
Hint
This is how you obtain a partition from hierarchical clustering.
Answer
clusters
- 24In high-dimensional settings, single linkage often exhibits_____behavior, adding one observation at a time.
Hint
This term describes a sequential addition of points.
Answer
chaining
- 25Hierarchical clustering advantage: easy to interpret, gives nested clusters, computationally efficient. Disadvantage: no formal_____criteria.
Hint
It does not minimize a specific objective function.
Answer
optimization
- 26K-means clustering partitions observations into a_____defined number of clusters.
Hint
This number must be specified before running the algorithm.
Answer
priori
- 27K-means aims to find the best partition by minimizing an_____function.
Hint
This function measures within-cluster variation.
Answer
objective
- 28The algorithm: randomly assign points to clusters, then iterate between calculating cluster centroids and_____each point to the nearest centroid.
Hint
This step re-labels points based on proximity.
Answer
assigning
- 29A drawback of k-means is that if you change k, the cluster memberships may_____, unlike hierarchical clustering.
Hint
There is no nesting of solutions.
Answer
completely change
- 30K-means works best with compact, spherical clusters of_____size.
Hint
Clusters should be roughly similar in number of points.
Answer
comparable
- 31K-means may result in empty clusters due to_____; a remedy is to remove them and refit.
Hint
Unusual observations can cause this issue.
Answer
outliers
- 32To choose k, one can look for an 'elbow' in the plot of the_____function versus k.
Hint
This function decreases as k increases.
Answer
objective
- 33The best way to choose the number of clusters is to consider the effect on_____analyses.
Hint
These analyses follow clustering in the pipeline.
Answer
downstream
- 34Dimension reduction methods find a_____representation of the data that maintains important features.
Hint
This representation has fewer dimensions than the original.
Answer
lower dimensional
- 35PCA finds the direction that captures the_____variance in the data.
Hint
It looks for the direction with the greatest spread.
Answer
maximum
- 36The first principal component is the linear combination of features that maximizes_____.
Hint
This statistical measure of spread is key.
Answer
variance
- 37Subsequent PCs are orthogonal to previous ones and also maximize variance subject to that_____.
Hint
This ensures they are uncorrelated with earlier PCs.
Answer
orthogonality constraint
- 38PCA defines a new coordinate system; plotting data on the first few PCs aids_____.
Hint
This helps see patterns in high-dimensional data.
Answer
visualization
- 39In a biplot, both observations and_____are overlaid.
Hint
Arrows represent these in the plot.
Answer
variables (or features)
- 40PCA is used in population genetics to correct for stratification, study migration, and identify_____effects.
Hint
These are non-biological artifacts.
Answer
batch
- 41To choose number of PCs, one can use cross-validation in a supervised learning context like_____.
Hint
This method combines PCA with regression.
Answer
principal component regression
- 42PCA can be used as a preprocessing step for regression, known as_____.
Hint
It is a specific method that uses PCA before regression.
Answer
principal component regression
- 43Evaluating clustering performance is hard because there is no_____.
Hint
This refers to the true labels or correct answer.
Answer
ground truth
- 44Unsupervised learning results should be validated in the data analysis pipeline, using independent data or_____.
Hint
This technique resamples data to assess stability.
Answer
cross-validation
- 45Without external validation, findings may not be_____.
Hint
This property means results can be obtained again in similar studies.
Answer
reproducible
- 46Unsupervised learning often requires significant involvement from the_____.
Hint
This human role makes subjective decisions.
Answer
data scientist
- 47The choice between supervised and unsupervised depends on the goal: prediction vs. finding_____.
Hint
This goal focuses on relationships between features and outcome.
Answer
associations

Ask anything
We've read this whole study set, so questions about it get the best answers.