Skip to content

Commit

Permalink
[tests][dask] add missing compute() in Dask test (#4412)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Jun 27, 2021
1 parent aacb4c8 commit db3915c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python_package_test/test_dask.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ def test_classifier(output, task, boosting_type, tree_learner, cluster):
pred_early_stop_margin=1.0,
pred_early_stop_freq=2,
raw_score=True
)
).compute()
p1_proba = dask_classifier.predict_proba(dX).compute()
p1_pred_leaf = dask_classifier.predict(dX, pred_leaf=True)
p1_local = dask_classifier.to_local().predict(X)
Expand Down

0 comments on commit db3915c

Please sign in to comment.