The code performs super resolution on a given low resolution image using a Linear Regression model trained on Random Fourier Features.
This image is then compared with the ground truth to get the metrics like Root Mean squared error and signal to noise ratio.
The predicted and original images have a visible difference due to the lower number of features set due to memory and computational constraints. Higher the number of features, better it would fit be on the training data and consequently better enhanced resolution.