Envoyer par SMS: Model-based prediction of spatial gene expression via generative linear mapping