Skip to content

Commit

Permalink
naming
Browse files Browse the repository at this point in the history
  • Loading branch information
wbo4958 committed Nov 20, 2024
1 parent 309edac commit 32779dc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions python-package/xgboost/spark/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,12 @@ class _SparkXGBParams(
collective_conf = Param(
Params._dummy(),
"collective_conf",
"xgboost.collective.Config. The communicator configuration.",
"xgboost.collective.Config. The collective configuration.",
TypeConverters.identity,
)

def set_collective_conf(self, value: Config) -> "_SparkXGBParams":
"""Set communicator configuration"""
"""Set collective configuration"""
assert isinstance(value, Config)
self.set(self.collective_conf, value)
return self
Expand Down
6 changes: 3 additions & 3 deletions python-package/xgboost/spark/estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ class SparkXGBRegressor(_SparkXGBEstimator):
Boolean value to indicate whether the tracker should be launched on the driver side or
the executor side.
collective_conf:
The communicator configuration. See :py:class:`~xgboost.collective.Config`
The collective configuration. See :py:class:`~xgboost.collective.Config`
kwargs:
A dictionary of xgboost parameters, please refer to
Expand Down Expand Up @@ -352,7 +352,7 @@ class SparkXGBClassifier(_SparkXGBEstimator, HasProbabilityCol, HasRawPrediction
Boolean value to indicate whether the tracker should be launched on the driver side or
the executor side.
collective_conf:
The communicator configuration. See :py:class:`~xgboost.collective.Config`
The collective configuration. See :py:class:`~xgboost.collective.Config`
kwargs:
A dictionary of xgboost parameters, please refer to
Expand Down Expand Up @@ -542,7 +542,7 @@ class SparkXGBRanker(_SparkXGBEstimator):
Boolean value to indicate whether the tracker should be launched on the driver side or
the executor side.
collective_conf:
The communicator configuration. See :py:class:`~xgboost.collective.Config`
The collective configuration. See :py:class:`~xgboost.collective.Config`
kwargs:
A dictionary of xgboost parameters, please refer to
Expand Down

0 comments on commit 32779dc

Please sign in to comment.