A novel transfer learning method based on common space mapping and weighted domain matching