Skip to content

Add dense PCA fallback and align sample projection tests#220

Merged
SauersML merged 1 commit intomainfrom
codex/update-project-to-rust-2024-edition
Sep 24, 2025
Merged

Add dense PCA fallback and align sample projection tests#220
SauersML merged 1 commit intomainfrom
codex/update-project-to-rust-2024-edition

Conversation

@SauersML
Copy link
Owner

Summary

  • add a force_dense_pca configuration flag and let compute_pca short-circuit into a dense SVD pipeline when it is enabled
  • implement a compute_dense_pca helper that performs the dense PCA using f64 SVD outputs and returns the expected EigenSNP structures
  • update the sample projection parity tests to request the dense path, derive Python references from the training slice, and align component signs before comparing scores

Testing

  • cargo test --release

https://chatgpt.com/codex/tasks/task_e_68d40be0dd44832ebe44d50cfc90d1af

@SauersML SauersML merged commit a91a312 into main Sep 24, 2025
3 of 5 checks passed
@SauersML SauersML deleted the codex/update-project-to-rust-2024-edition branch September 24, 2025 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant