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
When dealing with MultiTask, i.e. when there is more than one target variable, the evaluation metrics are not being correctly applied. As we can see on this line the evaluation metric is applied as if y was a single column.
To Reproduce(复现步骤)
Steps to reproduce the behavior:
Copy the data and example code on the documentation page for MultiTask model MMOE
Execute the code as is and see the warning: UserWarning: The y_pred values do not sum to one. Make sure to pass probabilities.
The warning indicates that that the columns in y_pred are being interpreted as a single probability distribution instead of two distinct distributions for each of the binary tasks.
Operating environment(运行环境):
python version: 3.12.4
torch version: 2.5.1
deepctr-torch version: 0.2.9
The text was updated successfully, but these errors were encountered:
Describe the bug(问题描述)
When dealing with MultiTask, i.e. when there is more than one target variable, the evaluation metrics are not being correctly applied. As we can see on this line the evaluation metric is applied as if y was a single column.
To Reproduce(复现步骤)
Steps to reproduce the behavior:
UserWarning: The y_pred values do not sum to one. Make sure to pass probabilities.
y_pred
are being interpreted as a single probability distribution instead of two distinct distributions for each of the binary tasks.Operating environment(运行环境):
The text was updated successfully, but these errors were encountered: