Represenation of MNIST data in 2 dimension space.
from sklearn.datasets import load_digits # Loading MNIST data using the function "load_digits" provided by sklearn package
from sklearn.decomposition import PCA # Importing PCA module - actually we do not need this because we are going to use Singular Value Decomposition (SVD)
import numpy as np # To use "SVD" function provided by numpy module
import matplotlib.pylab as plt # Matplot is a library to plot a graph