Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Principal component analysis, a technique for dimensionality reduction.
1
vote
Reconstruct low dimensional PCA projection
You can direct do that in sklearn with inverse_transform().
from sklearn.decomposition import PCA
import numpy as np
X=np.random.rand(100,32)
pca = PCA(n_components=2)
pca.fit(X)
X_reduced=pca.transform … But if you try to reduce the "inverse" X:
X_inv_red=pca.transform(X_inverse)
You get the same PCA reduction as the original X input.
You can use it in whatever 2D point.
inverse_transform() …