1. Home
  2. Explore
  3. Computer Science
  4. Unsupervised Machine Learning

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Unsupervised Machine Learning

  • 47Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Supervised vs Unsupervised Learning
In supervised learning, we have a data matrix xxx and a response vector yyy. In unsupervised learning, we have only
.

47 questions

  1. 1
    In supervised learning, we have a data matrix xxx and a response vector yyy. In unsupervised learning, we have only
    _____
    .
    Hint

    Think about the key missing element that distinguishes unsupervised from supervised learning.

    Answer

    xxx

  2. 2
    The 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

  3. 3
    In supervised learning, we use data xxx to predict or detect associations with response yyy, whereas in unsupervised learning, we identify patterns in
    _____
    .
    Hint

    The data matrix without any labels.

    Answer

    xxx

  4. 4
    Unsupervised 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

  5. 5
    Along with data wrangling and visualization, unsupervised learning is used in
    _____
    .
    Hint

    These three activities are often performed early in analysis.

    Answer

    exploratory data analysis

  6. 6
    When 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

  7. 7
    To 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

  8. 8
    If validation on independent data is not possible, results should be interpreted as
    _____
    .
    Hint

    This term indicates the results are not confirmatory.

    Answer

    exploration

  9. 9
    The 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

  10. 10
    In clustering, we can cluster observations, features, or both, which is called
    _____
    .
    Hint

    This term combines clustering of rows and columns simultaneously.

    Answer

    bi-clustering

  11. 11
    The definition of a meaningful cluster is
    _____
    , leading to different possible clusterings.
    Hint

    This word indicates lack of precision in the objective.

    Answer

    vague

  12. 12
    Hierarchical clustering produces a sequence of nested clusters organized in a
    _____
    .
    Hint

    This tree-like structure visualizes the merging process.

    Answer

    dendrogram

  13. 13
    In agglomerative (bottom-up) hierarchical clustering, we start with nnn individual clusters and merge until we get
    _____
    .
    Hint

    This cluster contains all observations.

    Answer

    one cluster

  14. 14
    To 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

  15. 15
    The three linkage functions discussed are single, complete, and
    _____
    .
    Hint

    This linkage uses the mean of pairwise distances.

    Answer

    average

  16. 16
    Single 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

  17. 17
    Complete linkage uses the
    _____
    distance between observations of two sets.
    Hint

    It looks at the farthest pair of points.

    Answer

    maximum

  18. 18
    Average linkage uses the
    _____
    of distances between all points in two sets.
    Hint

    It is a compromise between minimum and maximum.

    Answer

    average

  19. 19
    Single 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

  20. 20
    Complete 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

  21. 21
    In the dendrogram, the vertical axis shows the
    _____
    between clusters when they are fused.
    Hint

    This axis indicates dissimilarity.

    Answer

    distance

  22. 22
    The horizontal axis in a dendrogram is not
    _____
    and should not be interpreted.
    Hint

    The order of leaves can be rearranged.

    Answer

    informative

  23. 23
    Cutting the dendrogram at different heights yields different numbers of
    _____
    .
    Hint

    This is how you obtain a partition from hierarchical clustering.

    Answer

    clusters

  24. 24
    In 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

  25. 25
    Hierarchical 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

  26. 26
    K-means clustering partitions observations into a
    _____
    defined number of clusters.
    Hint

    This number must be specified before running the algorithm.

    Answer

    priori

  27. 27
    K-means aims to find the best partition by minimizing an
    _____
    function.
    Hint

    This function measures within-cluster variation.

    Answer

    objective

  28. 28
    The 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

  29. 29
    A drawback of k-means is that if you change kkk, the cluster memberships may
    _____
    , unlike hierarchical clustering.
    Hint

    There is no nesting of solutions.

    Answer

    completely change

  30. 30
    K-means works best with compact, spherical clusters of
    _____
    size.
    Hint

    Clusters should be roughly similar in number of points.

    Answer

    comparable

  31. 31
    K-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

  32. 32
    To choose kkk, one can look for an 'elbow' in the plot of the
    _____
    function versus kkk.
    Hint

    This function decreases as kkk increases.

    Answer

    objective

  33. 33
    The 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

  34. 34
    Dimension reduction methods find a
    _____
    representation of the data that maintains important features.
    Hint

    This representation has fewer dimensions than the original.

    Answer

    lower dimensional

  35. 35
    PCA finds the direction that captures the
    _____
    variance in the data.
    Hint

    It looks for the direction with the greatest spread.

    Answer

    maximum

  36. 36
    The first principal component is the linear combination of features that maximizes
    _____
    .
    Hint

    This statistical measure of spread is key.

    Answer

    variance

  37. 37
    Subsequent 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

  38. 38
    PCA defines a new coordinate system; plotting data on the first few PCs aids
    _____
    .
    Hint

    This helps see patterns in high-dimensional data.

    Answer

    visualization

  39. 39
    In a biplot, both observations and
    _____
    are overlaid.
    Hint

    Arrows represent these in the plot.

    Answer

    variables (or features)

  40. 40
    PCA is used in population genetics to correct for stratification, study migration, and identify
    _____
    effects.
    Hint

    These are non-biological artifacts.

    Answer

    batch

  41. 41
    To 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

  42. 42
    PCA 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

  43. 43
    Evaluating clustering performance is hard because there is no
    _____
    .
    Hint

    This refers to the true labels or correct answer.

    Answer

    ground truth

  44. 44
    Unsupervised 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

  45. 45
    Without external validation, findings may not be
    _____
    .
    Hint

    This property means results can be obtained again in similar studies.

    Answer

    reproducible

  46. 46
    Unsupervised learning often requires significant involvement from the
    _____
    .
    Hint

    This human role makes subjective decisions.

    Answer

    data scientist

  47. 47
    The choice between supervised and unsupervised depends on the goal: prediction vs. finding
    _____
    .
    Hint

    This goal focuses on relationships between features and outcome.

    Answer

    associations

1 of 47
Question 1 of 47

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent