New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PCA Python API #1054
Comments
Related to #995 |
@akenmorris: Currently, which library does Studio use to perform the principal component analysis? |
Studio uses the ParticleShapeStatistics class: https://github.com/SCIInstitute/ShapeWorks/blob/master/Libs/Particles/ParticleShapeStatistics.h In general, my recommendation is to use a single library for both. This keeps results and behavior consistent across tools. I worry that having multiple implementations is a step backward into a disjoint set of tools that we've been trying to consolidate over time. FYI, there are some different plans for the future of statistical analysis including using R. |
Are we planning on creating a pybind wrapper of ParticleShapeStatistics? |
Yes, as part of the shapeworks python library. |
It’ll be 1000x easier to get this feature out by simply exporting Eigen::Matrix that already has all these functions. |
Need python API support for performing all PCA operations for correspondence model currently present in Studio.
The API should calculate the following:
All these quantities should be saved as numpy arrays.
The text was updated successfully, but these errors were encountered: