Replies: 11 comments
-
You need project back on the basis stored in |
Beta Was this translation helpful? Give feedback.
-
@jdtuck many thanks for your reply.
will project the scores |
Beta Was this translation helpful? Give feedback.
-
Correct then transform them back to curves using |
Beta Was this translation helpful? Give feedback.
-
@jdtuck many thanks again for your help. I did the following, but the output does not resemble the original curve, at all ...
My example is very similar to: Can you please help me? |
Beta Was this translation helpful? Give feedback.
-
Two things the PCA is done on a tangent space to the Hilbert Sphere, so you need to project back down to the sphere, then convert back to curves ( fdasrsf_python/fdasrsf/curve_stats.py Line 360 in 0c5b248 |
Beta Was this translation helpful? Give feedback.
-
I tried to adapt your The main change was the following line: Instead of multiplying which eigenvector by a random number, I am using the functional scores.
|
Beta Was this translation helpful? Give feedback.
-
First, it should be this
Also you do not need to parallel translate, really only should have to do this
|
Beta Was this translation helpful? Give feedback.
-
Also please provide an example, other than it doesn't look right |
Beta Was this translation helpful? Give feedback.
-
This has helped a lot.
Can you please confirm whether this is correct? I guess the translation difference is expected ... |
Beta Was this translation helpful? Give feedback.
-
Correct. The curves are standardized to unit length and centered at the origin before analysis. The centers are stored in |
Beta Was this translation helpful? Give feedback.
-
You should just pass |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am trying to use SRVF framework and fs.fdacurve with planar curves.
I was able to compute the functional principal components, using the following code:
However, I am not sure how can i reconstruct the original planar functions using functional principal scores stored in
obj.coef
.The goal would be to reconstruct the original shapes and after compute a reconstruction error metric
Can you please help?
Beta Was this translation helpful? Give feedback.
All reactions