You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same issue is seen when the types of y_true and y_pred are switched.
A similar message is seen with identical types but differing npartitions and chunks-arguments.
Crashing on different partitioning probably makes sense, but I think it would be nice if the same-type requirement was documented, at least. Maybe it is and I just missed it.
Environment:
Dask version: 2023.8.0 (dask-ml: 2023.3.24)
Python version: 3.11.3
Operating System: Ubuntu 22.04.2 LTS. Running on Workstation Player 17 if that matters.
Install method (conda, pip, source): pip
The text was updated successfully, but these errors were encountered:
Describe the issue:
When calling
dask_ml.metrics.log_loss
with mixed types, aValueError
is raised:This works using "vanilla" sklearn/pandas/numpy functions and types.
Minimal Complete Verifiable Example:
Anything else we need to know?:
y_true
andy_pred
are switched.npartitions
andchunks
-arguments.Crashing on different partitioning probably makes sense, but I think it would be nice if the same-type requirement was documented, at least. Maybe it is and I just missed it.
Environment:
The text was updated successfully, but these errors were encountered: