Skip to content

Commit

Permalink
Fix dask.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jan 14, 2024
1 parent 560adda commit f450da8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -363,12 +363,12 @@ def test_early_stopping(self, local_cuda_client: Client) -> None:
device="cuda",
eval_metric="error",
n_estimators=100,
early_stopping_rounds=early_stopping_rounds,
)
cls.client = local_cuda_client
cls.fit(
X,
y,
early_stopping_rounds=early_stopping_rounds,
eval_set=[(valid_X, valid_y)],
)
booster = cls.get_booster()
Expand Down

0 comments on commit f450da8

Please sign in to comment.