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
I think this is important because it will offer a better representation of the output and being helpful for later use, and also I think ignoring target_names silently doesn't make much sense.
Actually, I'll found it even more useful if the last element gets replaced by:
Is your feature request related to a problem? Please describe
currently in
classification_report_imbalanced
, when settingoutput_dict
toTrue
it ignores the giventarget_names
.Example:
Current output:
Describe the solution you'd like
When
output_dict=True
, set the keys of the returned dict to the correspondingtarget_names
.Expected output:
Additional context
I think this is important because it will offer a better representation of the output and being helpful for later use, and also I think ignoring
target_names
silently doesn't make much sense.Actually, I'll found it even more useful if the last element gets replaced by:
Instead of:
The text was updated successfully, but these errors were encountered: