code: def prepare_target(self, y):
      y_mapped = y.copy()
      for task_idx in range(y.shape[1]):
          task_mapper = self.target_mapper[task_idx]
          y_mapped[:, task_idx] = np.vectorize(task_mapper.get)(
              y[:, task_idx]
          )
      return y_mapped
  
file_path: tabnet/pytorch_tabnet/multitask.py
imports: import torch
  import numpy
  from scipy.special import softmax
  from pytorch_tabnet.utils import SparsePredictDataset, PredictDataset, filter_weights
  from pytorch_tabnet.abstract_model import TabModel
  from pytorch_tabnet.multiclass_utils import infer_multitask_output, check_output_dim
  from torch.utils.data import DataLoader
  import scipy
label_desc: Use image node_id 2 for calling the TabNetMultiTaskClassifier obj's underlying member method code with example usage: obj.prepare_target(y) and returns: y_mapped