Linear Algebra, Mathematics, Math, Principal Component, Python.
cmap='gray'); plt.imshow(np.reshape(M[:,140] - low_rank[:,140], dims), cmap='gray'); plt.imshow(np.reshape(M[:,140] - low_rank[:,140], dims)[50:150,100:270], cmap='gray'); This is amazing for such a simple approach! We get somewhat better results through a more complicated algorithm below.