ईमेल रिकॉर्ड : Learning and inference using complex generative models in a spatial localization task