class_docstr: XGBModel Model
class_docstr_tok: ["XGBModel","Model"]
code: def __init__(self, **kwargs):
      self._params = {}
      self._params.update(kwargs)
      self.model = None
  
file_path: qlib/qlib/contrib/model/xgboost.py
imports: import numpy
  import pandas
  import xgboost
  from typing import Text, Union
  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 XGBModel object from inherited base classes: Model, FeatureInt with example: obj = XGBModel()