Learning resource Vectors