QBoard » Artificial Intelligence & ML » AI and ML - Conceptual » The difference between supervised and unsupervised learning when using PCA

The difference between supervised and unsupervised learning when using PCA

  • I have read the answer here. But, I can't apply it on one of my example so I probably still don't get it.
    Here is my example: Suppose that my program is trying to learn PCA (principal component analysis). Or diagonalization process. I have a matrix, and the answer is it's diagonalization:

    A = PDP-1

    If I understand correctly:
    In supervised learning I will have all tries with it's errors
    My question is:
    • What will I have in unsupervised learning?
    Will I have error for each trial as I go along in trials and not all errors in advance? Or is it something else?
      September 24, 2021 12:37 PM IST
    0
  • First of all, PCA is neither used for classification, nor clustering. It is an analysis tool for data where you find the principal components in the data. This can be used for e.g. dimensionality reduction. Supervised and unsupervised learning has no relevance here.

    However, PCA can often be applied to data before a learning algorithm is used.

    In supervised learning, you have (as you say) a labeled set of data with "errors".

    In unsupervised learning you don't have any labels, i.e, you can't validate anything at all. All you can do is to cluster the data somehow. The goal is often to achieve clusters that internally are more homogeneous. Success can be measured, e.g., using the within-cluster variance metric.

      September 27, 2021 2:01 PM IST
    0
  • Supervised Learning:

    -> You give variously labeled example data as input along with correct answer.

    -> This algorithm will learn form it and start predicting correct result based on input.

    example: email spam filter

    Unsupervised Learning:

    -> You gave just data and don't tell anything like label or correct answer.

    -> Algorithm automatically analyse pattern in the data.

    example: google news
      September 27, 2021 4:57 PM IST
    0