Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
bf22a25d
"...git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "8947da57af6774402e10e3d4fb6a730c0ca2ea36"
Unverified
Commit
bf22a25d
authored
Jan 22, 2021
by
Frank Fineis
Committed by
GitHub
Jan 22, 2021
Browse files
[dask] Address flaky test_ranker tests (#3819)
parent
b8fc476e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/python_package_test/test_dask.py
tests/python_package_test/test_dask.py
+1
-1
No files found.
tests/python_package_test/test_dask.py
View file @
bf22a25d
...
@@ -512,7 +512,7 @@ def test_ranker(output, client, listen_port, group):
...
@@ -512,7 +512,7 @@ def test_ranker(output, client, listen_port, group):
# have high rank correlation with scores from serial ranker.
# have high rank correlation with scores from serial ranker.
dcor
=
spearmanr
(
rnkvec_dask
,
y
).
correlation
dcor
=
spearmanr
(
rnkvec_dask
,
y
).
correlation
assert
dcor
>
0.6
assert
dcor
>
0.6
assert
spearmanr
(
rnkvec_dask
,
rnkvec_local
).
correlation
>
0.
9
assert
spearmanr
(
rnkvec_dask
,
rnkvec_local
).
correlation
>
0.
75
client
.
close
()
client
.
close
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment