class_docstr: XGBoost model: https://xgboost.readthedocs.io/en/latest/
  
  Hyperparameter options: https://xgboost.readthedocs.io/en/latest/parameter.html
class_docstr_tok: ["XGBoost","model",":","https",":","\/\/xgboost.readthedocs.io\/en\/latest\/","Hyperparameter","options",":","https",":","\/\/xgboost.readthedocs.io\/en\/latest\/parameter.html"]
code: def _get_early_stopping_rounds(self, num_rows_train, strategy="auto"):
      return get_early_stopping_rounds(
          num_rows_train=num_rows_train, strategy=strategy
      )
  
imports: import logging
  import math
  import os
  import time
  from autogluon.common.features.types import R_BOOL, R_CATEGORY, R_FLOAT, R_INT
  from autogluon.common.utils.lite import disable_if_lite_mode
  from autogluon.common.utils.pandas_utils import get_approximate_df_mem_usage
  from autogluon.common.utils.resource_utils import ResourceManager
  from autogluon.common.utils.try_import import try_import_xgboost
  from autogluon.core.constants import BINARY, MULTICLASS, PROBLEM_TYPES_CLASSIFICATION, REGRESSION, SOFTCLASS
  from autogluon.core.models import AbstractModel
  from autogluon.core.models._utils import get_early_stopping_rounds
  from .None import xgboost_utils
  from .hyperparameters.parameters import get_param_baseline
  from .hyperparameters.searchspaces import get_default_searchspace
label_desc: Use image node_id 10 for calling the XGBoostModel obj's underlying member method code with example usage: obj._get_early_stopping_rounds(num_rows_train, strategy) and returns: get_early_stopping_rounds