code: def _config_model(self, data):
      if data.task == "Regression":
          self.objective = "reg:linear"
      elif data.task == "Multiclass classification":
          self.objective = "multi:softmax"
          self.num_class = int(np.max(data.y_test) + 1)
      elif data.task == "Classification":
          self.objective = "binary:logistic"
      elif data.task == "Ranking":
          self.objective = "rank:ndcg"
      else:
          raise ValueError("Unknown task: " + data.task)
  
file_path: thundergbm/python/benchmarks/model/thundergbm_model.py
imports: from model.base_model import BaseModel
  import thundergbm
  import time
  import numpy
  import utils.data_utils
  from model.datasets import Dataset
label_desc: Use image node_id 2 for calling the ThunderGBMModel obj's underlying member method code with example usage: obj._config_model(data) without return types