New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ENH] merge metric files into _base_metrics.py, rename _disparities.py to fairness_metrics.py, and move _input_manipulations.py to the utils module #1202
Conversation
Other-ml tests seem to have failed due to a deprecation error in xgboost: "UserWarning: EDIT: nvm I see you've already opened #1204 to fix this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @romanlutz! The renaming makes things so much clearer., IMO. There are a few codecov warnings we should look into, other than that this looks good to me!
When it comes to naming, I thought we preferred |
I'm following the instructions from the issue #455 🙂 I don't care either way tbh. It's just a file name 🙂 @hildeweerts do you have thoughts? |
Given that we refer to this type of metric as fairness metric a lot throughout the user guide I think using "fairness metric" is perfectly sensible :) |
I didn't change any code, so codecov is probably angry that file coverage went down or something like that. Actually, looking at the specific files it points out... I didn't touch those or anything related at all. Must be a codecov bug? |
I think these files probably predate our installment of codecov, so maybe it's not a bug but an actual lack of coverage? In any case I don't think it is something that needs to be fixed in this PR. |
…manlutz/merge_metric_files
…anlutz/fairlearn into romanlutz/merge_metric_files
I've no objection to the consolidation and reorganisation of files, but as I recall, calling them 'disparity metrics' was a pretty deliberate choice. That said, it's not user facing either. |
My sense is that we have since departed from calling them "disparity metrics". I'm more comfortable calling them "fairness metrics"... To be parallel with |
…anlutz/fairlearn into romanlutz/merge_metric_files
OK, I'm fine with the renaming then. |
Description
closes #455
This PR merges metric files into
_base_metrics.py
, renames_disparities.py
to_fairness.py
, and moves_input_manipulations.py
to theutils
module. None of the contents of the migrated functions was changed.Tests
Documentation
Screenshots