Manifold Visualizer
Key Insight
A 32×32 color image lives in a space with 3,072 numbers — the picture is a 32×32 grid, which is 32 × 32 = 1,024 pixels, and each pixel needs three numbers (one each for how much red, green, and blue it has), so 1,024 × 3 = 3,072 numbers in total. Listing all 3,072 is like giving the image one very long, 3,072-digit address that pins down exactly where it sits. But real photos do not fill that space — they cluster on a thin, curved surface called the manifold. This project draws 1,000 real CIFAR-10 images and 1,000 images of pure random noise, then squashes both groups down to 2D with PCA so you can see them on a plot. The real images form a tight, structured blob while the random ones scatter everywhere, making the manifold visible to the eye. That single picture explains why generation is hard: the model must learn to land only on that thin blob and avoid the vast emptiness around it.