-
Notifications
You must be signed in to change notification settings - Fork 840
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
Installed all functionalities of aif360 #493
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Divya Amin <[email protected]>
Installed all functionalities of aif360
Contributes towards #378 |
Hi, @divyaamin9825. Thanks for looking into this. I'd like to get to the bottom of the issue in this case instead of just installing everything. I'm a little confused by the setup. Are both machines, Windows and Mac, running on Colab? If so, shouldn't the operating system not matter? Either way, if there's some difference between OSes, it would be good to know so we can fix the From the screenshots it looks like you ran the notebook multiple times. Can you try restarting the kernel and installing from scratch? |
Hi @hoffmansc. I just ran the code again today with just aif360[Reductions, LawSchoolGPA] on colab and it runs smoothly. However the day of the open source day, installing just those two functionalities was simply not working even in the first run for me on colab. So I had to install all the functionalities. My windows using teammates had their code running smoothly after installing just reductions on colab. I needed reductions and LawSchoolGPA locally and tried reflecting the same on colab, but I kept encountering the error in the screenshots even after restarting the kernel and running the code fresh. |
@hoffmansc Hi Samuel, any updates on this? |
So it works without needing to install Can you also add a "Open in Colab" badge to the top like the other examples (e.g., https://github.com/Trusted-AI/AIF360/blob/master/examples/sklearn/demo_grid_search_reduction_classification_sklearn.ipynb)? |
The ExponentiatedGradientFunction code ran differently for different systems if using CPU on colab.
Windows systems could run the code with no issues after installing aif360 with reductions functionality only while M1 Mac systems needed all functionalities of aif360 to run the issues with no errors otherwise it would throw a NameError in the root ExponentiatedGradientFunction code where it couldn't find
import fairlearn.reductions as red
.(Screenshots taken from on an M1 Mac system)