Unverified Commit b31d5a43 authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[tests][dask] fix argument names in custom eval function in Dask test (#4833)

* fix argument types in custom eval function for Dask estimators

* revert changes to docstrings

* fix argument names in Dask test
parent f8bab7fc
......@@ -229,7 +229,7 @@ def _accuracy_score(dy_true, dy_pred):
return da.average(dy_true == dy_pred).compute()
def _constant_metric(dy_true, dy_pred):
def _constant_metric(y_true, y_pred):
metric_name = 'constant_metric'
value = 0.708
is_higher_better = False
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment