Skip to content

Commit

Permalink
[dask] Move dask module into directory. (#9597)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis authored Sep 22, 2023
1 parent 0080c97 commit bbf5b9e
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@

import numpy

from . import collective, config
from ._typing import _T, FeatureNames, FeatureTypes, ModelIn
from .callback import TrainingCallback
from .compat import DataFrame, LazyLoader, concat, lazy_isinstance
from .core import (
from xgboost import collective, config
from xgboost._typing import _T, FeatureNames, FeatureTypes, ModelIn
from xgboost.callback import TrainingCallback
from xgboost.compat import DataFrame, LazyLoader, concat, lazy_isinstance
from xgboost.core import (
Booster,
DataIter,
DMatrix,
Expand All @@ -75,8 +75,8 @@
_deprecate_positional_args,
_expect,
)
from .data import _is_cudf_ser, _is_cupy_array
from .sklearn import (
from xgboost.data import _is_cudf_ser, _is_cupy_array
from xgboost.sklearn import (
XGBClassifier,
XGBClassifierBase,
XGBClassifierMixIn,
Expand All @@ -91,8 +91,8 @@
_wrap_evaluation_matrices,
xgboost_model_doc,
)
from .tracker import RabitTracker, get_host_ip
from .training import train as worker_train
from xgboost.tracker import RabitTracker, get_host_ip
from xgboost.training import train as worker_train

if TYPE_CHECKING:
import dask
Expand Down

0 comments on commit bbf5b9e

Please sign in to comment.