Local transfer learning from one data space to another