Capturing the Denoising Effect of PCA via Compression Ratio