question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

coordinates of test samples in PCA algorithm

See original GitHub issue

After fitting a PCA model, we reconstruct the test samples as X_rec=pca.inverse_transform(pca.transform(X_test)) that is the combination of components, e.g. a1c1+a2c2 + mean. But sometimes, we only want to get the coordinates of X_rec, that is the coefficients on the components (a1, a2). Do we have such api?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:17 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
NicolasHugcommented, May 8, 2019

let’s keep this issue closed?

1reaction
jnothmancommented, Apr 23, 2019

Definitely what?

Read more comments on GitHub >

github_iconTop Results From Across the Web

PCA: Principal Component Analysis | Baeldung on Computer ...
The core of the PCA algorithm involves the transformation of coordinates. This is a fundamental principle of linear algebra where same vector ...
Read more >
Principal Component Analysis – How PCA algorithms works ...
Principal Components Analysis (PCA) is an algorithm to transform the columns of a dataset into a new set of features called Principal Components....
Read more >
Principal Coordinates Analysis | Towards Data Science
Principal Coordinates Analysis. A deep-dive into Principal Coordinates Analysis with R and Python examples on Perceptual Mapping and Product ...
Read more >
StatQuest: Principal Component Analysis (PCA), Step-by-Step
StatQuest: Principal Component Analysis ( PCA ), Step-by-Step ; 1:47: Points 5 and 6 are not in the right location If you are...
Read more >
PCA : the math - step-by-step with a simple example - YouTube
You can buy the corresponding PDF of this video at:https://www.tilestats.com/In this second video about PCA, we will have a look at its math ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found