Giter Site home page Giter Site logo

Comments (5)

jameswex avatar jameswex commented on August 14, 2024 1

Thanks @kevinrobinson , this is great. Our visual designer @mpushkarna has also come up with some mocks for better display of fairness optimization choices, but we have yet to implement them. Tagged her in this to bring this to her attention as well.

from what-if-tool.

kevinrobinson avatar kevinrobinson commented on August 14, 2024

One other thought on this, to brainstorm a step forward. This visual from Hardt el al. (2016) keeps coming to mind as one of the main visuals I'm using to think about this across groups (versus comparing across confusion matrices or looking at differences in ROCs). It's a bit different from the idea above (see all the values that each strategy optimizes for at once), but maybe another thing to try:

image

I was thinking about if there was a way to include that into some part of this:

image

To sort of brainstorm, here's a terrible sketch of what I'm imagining as a way to maybe get at some ways to build intuition on how the choice of these optimization strategies impact different examples in the data set (the slice names don't match, but hopefully this gets the point across):

fours

and then clicking on a point selects that slice and that strategy, and shows its confusion matrix and ROC in the side panel:
five

In the smiling classifier, there's not "score" so I was imagining that axis could instead either encode the continuous [0-1] "inference score." Or maybe it'd be better to build on how the what-if tool conceptualizes this now, and have that axis encode the "threshold" that each strategy would apply to each slice. That might be more domain-agnostic for binary classifiers but that's just a guess.

I realize this is more brainstorm-y than the original issue, and probably a separate panel, but since I was thinking about it I figured it was worth sharing a sketch at least of what I was thinking as I was using the performance & fairness panel, and talking about it with others trying to build intuition about how these kinds of technical conceptualizations of fairness work :)

from what-if-tool.

kevinrobinson avatar kevinrobinson commented on August 14, 2024

@jameswex Awesome! πŸ‘ @mpushkarna I'll be excited to check out what you're working on too, and happy to brainstorm more if that's helpful sometime too.

from what-if-tool.

mpushkarna avatar mpushkarna commented on August 14, 2024

from what-if-tool.

kevinrobinson avatar kevinrobinson commented on August 14, 2024

@mpushkarna also I just ran into this talk on fairness at IO on the twitters, and I'm wondering if this flashed screenshot is related to what you're working on? It looks like it's designed to allow comparing a single metric across more subgroup slices at once:

image

image

from what-if-tool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.