feat: Implement Principal Component Analysis (PCA) (#12596)
- Added PCA implementation with dataset standardization. - Used Singular Value Decomposition (SVD) for computing principal components. - Fixed import sorting to comply with PEP 8 (Ruff I001). - Ensured type hints and docstrings for better readability. - Added doctests to validate correctness. - Passed all Ruff checks and automated tests.
P
PARIKSHIT SINGH committed
8826ad3a4d75f7a4e1d7b1a682682528c2c73672
Parent: f528ce3
Committed by GitHub <noreply@github.com>
on 3/2/2025, 11:03:12 AM