This project was a cool idea, but in the end, we felt it better to merge with fairlearn.
koaning / scikit-fairness Goto Github PK
View Code? Open in Web Editor NEWthis repo might get accepted
Home Page: https://scikit-fairness.netlify.app/
this repo might get accepted
Home Page: https://scikit-fairness.netlify.app/
This project was a cool idea, but in the end, we felt it better to merge with fairlearn.
The InformationFilter
works but it has a downside: it can only filter away linear information. So what if we do a dimensionality reduction technique that might filter away non-linearities?
Take this neural network:
By having a network set up this way we can get two gradient signals. One will tune the encoding, the other will filter away information that has predictive power for sensitive attributes.
Now is the time to decide on the direction of documentation. Part of me is in favor of using mkdocs instead of sphinx.
There's a few reasons.
ensure it passes all tests
Hey, just wanted to add awareness of fairlearn, which seems to have as contributors Adrin Jalali, who is one of scikit-learn's core contributors. I didn't take the time to check it out thoroughly though.
old issue: koaning/scikit-lego#300
Hi, I am Nick. Work for WellcomeTrust during the day and volunteer with DataKind UK at night. In both places I am somehow involved with ethics and fairness. Will be happy to contribute in one way or another to this library.
At the Wellcome we have developed a relatively simple fairness report function similar to the classification report of sklearn https://scikit-learn.org/stable/modules/generated/sklearn.metrics.classification_report.html that computes instead of precision, recall, f1, true positive rate, false positive rate etc per group of interest.
The API atm is fairness_report(y_true, y_pred, groups, group_names)
with groups indicating membership on a group of interest which can also be a matrix if examples can belong to multiple groups in which case group names gives the name of the columns. An additional average parameter can be added to give more control on how these cases are handled which at the moment defaults to micro. Let me know if this is an addition you are interested in.
[ ] code added
[ ] tests pass
A discussion worth having.
One thing I'm still in doubt about is whether we should refactor the metrics to be classes rather than closures. Pickle doesn't do well on closures, but. on the other hand you don't often have to pickle metrics. GridSearch is the only object I can think off where we might want to pickle an object that has metrics
and also remove all scikit-lego stuff
hello! I found out about this work from your conversation in fairlearn/fairlearn#406, so thanks for bringing it up over there ๐
I see some work on https://scikit-fairness.netlify.app/fairness_boston_housing.html, which seems great in that it makes an attempt to include some wider sociotechnical scope. It just so happens I started working on something similar this week! :)
One of my own assumptions is that no existing tools embrace the sociotechnical aspect of fairness work, and a key challenge is showing what this kind of interdisciplinary work actually looks like. I'm hoping that working in a concrete scenario could help clarify where existing fairness tools encourage practioners to avoid the sociotechnical nature of the work, and instead find some promising new directions to explore for design and research.
In research-y terms, given existing research-practioner gaps in fairness tools (eg, Holsten et al 2019; Maidado et al 2020), what kinds of tools can we explore that would move us closer to embracing the sociotechnical nature of ML fairness work (eg, Selbst et al 2019; Seo Jo and Gebru 2019)?
I've started working on this just on my own, and I picked the "Boston housing" dataset because it's widely used for ML education, deals with an extraordinarily contested sociotechnical context, and I couldn't find any educational material online that even acknowledged that. This kind of blew my mind :)
If you're interested, I'd love to chat and see if there are ways to collaborate on this!
I'm not sure what backend we'd want to use for this, but there may be something to be said to also allow for an implementation like this example.
It sounds like a fun exercise to build this in jax, but I don't know if the maintenance is going to be a pain. @MBrouns got strong opinions on this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.