View in .ipynb format: link
Training Data:
Test Data:
Selected a random image from the test data and displayed the five best matches in descending order.
Result 1

Result 2

Result 3

Result 4

Result 5

The curve begins to flatten somewhere between 50 and 60. This indicates that beyond 50 or 60 components, additional information captured becomes minimal, suggesting that the image can be effectively reconstructed using approximately 50 to 60 components.