Logo Lanfrica

SLICKMAN-TYRUS/Principle-Component-Analysis-Assignment

Domain:

socioeconomic

Record type:

project
Creator:
SLI
Host:
Formative Assignment 2 for Sub-Saharan Africa data. # Principal Component Analysis: Sub-Saharan Africa Development Analysis ## Table of Contents 1. Project Description 2. Viewing the Notebooks 3. Project Structure 4. Setup 5. How to Run 6. Dataset Details 7. PCA Implementation Details 8. Results and Findings 9. Visualizations Generated 10. Project Workflow 11. Assignment Requirements Checklist 12. Mathematical Foundations 13. Technical Implementation Details 14. Troubleshooting Guide 15. Key Insights and Interpretations 16. References and Resources 17. Conclusion --- ## Project Description This project implements Principal Component Analysis (PCA) from scratch to analyze development indicators for Sub-Saharan Africa from 2000 to 2023. The analysis reduces 20 economic and social indicators into 3 principal components that capture 89.45% of the total variance, revealing underlying patterns in the region's development trajectory. The implementation is built using only NumPy for all PCA computations (no sklearn), demonstrating a complete understanding of the mathematical foundations including standardization, covariance matrices, eigendecomposition, and dimensionality reduction. ### Project Objectives - Implement PCA algorithm from scratch using NumPy (no sklearn for core PCA) - Analyze World Bank development indicators for Sub-Saharan Africa (2000-2023) - Apply eigendecomposition to understand variance structure in the data - Dynamically select principal components based on 85% variance threshold - Reduce 20-dimensional feature space to 3 dimensions while preserving 89.45% of information - Benchmark performance (execution time and memory efficiency) - Visualize data transformations and component loadings - Perform reconstruction analysis to validate PCA quality ## Assignment Rubric Compliance This project meets all grading criteria: CRITERION 1: Data Handling (5/5 points) - Dataset originally contains missing values: Raw World Bank data has gaps across multiple year …