diff --git a/xgboost_ray/matrix.py b/xgboost_ray/matrix.py index f3f7523..71f4f81 100644 --- a/xgboost_ray/matrix.py +++ b/xgboost_ray/matrix.py @@ -49,11 +49,11 @@ class RayDataset: LEGACY_MATRIX = True try: - from xgboost.core import QuantileDmatrix + from xgboost.core import QuantileDMatrix QUANTILE_AVAILABLE = True except ImportError: - QuantileDmatrix = object + QuantileDMatrix = object QUANTILE_AVAILABLE = False if TYPE_CHECKING: