code: def __init__(self, message):
      super(XgbAlgorithmException, self).__init__(message)
      logger.error(message)
  
imports: import copy
  import logging
  import os
  import time
  from inspect import signature
  import numpy
  import pandas
  import xgboost
  from sklearn.base import ClassifierMixin, RegressorMixin
  from supervised.algorithms.algorithm import BaseAlgorithm
  from supervised.algorithms.registry import BINARY_CLASSIFICATION, MULTICLASS_CLASSIFICATION, REGRESSION, AlgorithmsRegistry
  from supervised.utils.config import LOG_LEVEL
  from supervised.utils.metric import xgboost_eval_metric_accuracy, xgboost_eval_metric_average_precision, xgboost_eval_metric_f1, xgboost_eval_metric_mse, xgboost_eval_metric_pearson, xgboost_eval_metric_r2, xgboost_eval_metric_spearman, xgboost_eval_metric_user_defined
  import tempfile
label_desc: Use image node_id 1 to create a new XgbAlgorithmException object from inherited base classes: Exception with example: obj = XgbAlgorithmException(message)