Skip to content
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

Add Warning to InfoGram for Fairness Section #6574

Closed
exalate-issue-sync bot opened this issue Feb 21, 2023 · 5 comments
Closed

Add Warning to InfoGram for Fairness Section #6574

exalate-issue-sync bot opened this issue Feb 21, 2023 · 5 comments
Assignees
Labels
Milestone

Comments

@exalate-issue-sync
Copy link

We should add a warning or caveat to this section of our docs: [https://docs.h2o.ai/h2o/latest-stable/h2o-docs/admissible.html#fair-infogram-a-diagnostic-tool-for-fairness|https://docs.h2o.ai/h2o/latest-stable/h2o-docs/admissible.html#fair-infogram-a-diagnostic-tool-for-fairness|smart-link] due to the following bug: [https://h2oai.atlassian.net/browse/PUBDEV-8680|https://h2oai.atlassian.net/browse/PUBDEV-8680|smart-link]

@exalate-issue-sync
Copy link
Author

Michal Kurka commented: cc: [~accountid:5e43370f5a495e0c91a74ebe]

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 10, 2023

JIRA Issue Details

Jira Issue: PUBDEV-8764
Assignee: Erin LeDell
Reporter: Megan Kurka
State: Open
Fix Version: 3.42.0.1
Attachments: N/A
Development PRs: N/A

@wendycwong
Copy link
Contributor

Hannah: Please ask Tomas F for help.

@hannah-tillman
Copy link
Contributor

Request: Add warning that Infogram is not able to remove correlated columns.
Want warning added here.

see example below:

df = h2o.create_frame(cols=1, categorical_fraction=1, seed=1234).cbind(
    h2o.create_frame(cols=1, integer_fraction=1, integer_range=6, seed=1234)
)
df.col_names = ['State', 'Target']
df['Target'] = df['Target'].abs()
# convert to pandas to concatenate two columns
df = df.as_data_frame()
df['City'] = df['State'] + "_" + df['Target'].astype(str)
df = h2o.H2OFrame(df)
df['Target'] = (df['Target'] > 5).ifelse("Yes", "No")

from h2o.estimators.infogram import H2OInfogram
ig_protected = H2OInfogram(protected_columns=['State'], model_id='infogram_protected.hex')
ig_protected.train(y='Target', x=['City'], training_frame=df)
ig_protected.plot()

hannah-tillman added a commit that referenced this issue Jul 12, 2023
…15623)

* ht/adding infogram warning

* ht/requested update

* rerun checks
@mn-mikke mn-mikke added this to the 3.42.0.2 milestone Jul 19, 2023
@hannah-tillman
Copy link
Contributor

closed with #15623

maurever pushed a commit that referenced this issue Jul 24, 2023
…15623)

* ht/adding infogram warning

* ht/requested update

* rerun checks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants