2
$\begingroup$

What's the difference between Locality Preserving Projection (LPP) and Principal Component Analysis (PCA)?

This is our data. It's a 3D plot. Here I use LPP and PCA to reduce the 3D data to 2D data. It gives different results. I know that PCA reduces the dimension on maximum variance, but what about LPP?

enter image description here

Locality Preserving Projection (LPP)

enter image description here

Principal Component Analysis (PCA)

enter image description here

$\endgroup$

1 Answer 1

1
$\begingroup$

As you note in your question, PCA attempts to reduce dimensionality while maximizing variance accounted for. LPP on the other hand attempts to reduce the number of dimensions while maximizing a sense of nearness to one's neighbors.

I located the following website (https://notebook.community/jakevdp/lpproj/Example) which appears to give a nice explanation with some sample code in Python.

$\endgroup$
12
  • 1
    $\begingroup$ So LPP and PCA are almost the same, but LPP is slightly better than PCA because LPP remove outlisers? $\endgroup$
    – euraad
    Commented Apr 10, 2023 at 8:01
  • $\begingroup$ They are accomplishing similar goals: dimension reduction. And though I'd rather someone with more expertise with LPP speak to that specifically, I can confirm that PCA can be very strongly influenced by outliers in the data. $\endgroup$
    – Gregg H
    Commented Apr 10, 2023 at 12:27
  • 1
    $\begingroup$ My goal is to remove outliers and separate the classes from each other as much as possible. I know there exist LDA. I'm using it, it's very good. But I need something better. $\endgroup$
    – euraad
    Commented Apr 10, 2023 at 12:36
  • 1
    $\begingroup$ I want to reduce multidimensions to 2D. And hopefully, the data would be like round little balls on the screen. $\endgroup$
    – euraad
    Commented Apr 10, 2023 at 12:38
  • 1
    $\begingroup$ Gregg, I think I found what I'm looking for - Independent Component Analysis. $\endgroup$
    – euraad
    Commented Apr 10, 2023 at 14:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.