class_docstr: CatBoost Model
class_docstr_tok: ["CatBoost","Model"]
code: def __init__(self, loss="RMSE", **kwargs):
      # There are more options
      if loss not in {"RMSE", "Logloss"}:
          raise NotImplementedError
      self._params = {"loss_function": loss}
      self._params.update(kwargs)
      self.model = None
  
file_path: qlib/qlib/contrib/model/catboost_model.py
imports: import numpy
  import pandas
  from typing import Text, Union
  from catboost import Pool, CatBoost
  from catboost.utils import get_gpu_device_count
  from ...model.base import Model
  from ...data.dataset import DatasetH
  from ...data.dataset.handler import DataHandlerLP
  from ...model.interpret.base import FeatureInt
  from ...data.dataset.weight import Reweighter
label_desc: Use image node_id 1 to create a new CatBoostModel object from inherited base classes: Model, FeatureInt with example: obj = CatBoostModel(loss)