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

Fix typo in GridSearchReduction #452

Merged
merged 1 commit into from
Jul 21, 2023
Merged

Conversation

haas-christian
Copy link
Contributor

Linked to issue #451

The previous version of predict() in GridSearchReduction had a typo where it tried to call self.model.moment to check which ClassificationMoment the model uses.

This should be self.model.moment_ in accordance with the sklearn-compatible version of GridSearchReduction.

Linked to issue Trusted-AI#451 of AIF360: Trusted-AI#451 

Signed-off-by: haas-christian <34253996+haas-christian@users.noreply.github.com>
@mnagired
Copy link
Collaborator

mnagired commented Apr 5, 2023

@hoffmansc, this should be a quick fix which resolves a small issue with GridSearchReduction the base AIF360 library, documented in #451

@mnagired mnagired requested a review from hoffmansc April 5, 2023 13:37
Copy link
Collaborator

@hoffmansc hoffmansc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add a test for this as well, ideally, but that can be separate. Apparently we only run ExponentiatedGradientReduction.

@richeekAbacus
Copy link

Can this be merged?

@hoffmansc hoffmansc merged commit 4b33888 into Trusted-AI:master Jul 21, 2023
andrewklayk pushed a commit to andrewklayk/AIF360 that referenced this pull request Sep 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants