Installed all functionalities of aif360 #1
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The ExponentiatedGradientFunction code ran differently for different systems if using CPU on colab.
![Screenshot 2023-09-22 at 6 53 02 PM](https://private-user-images.githubusercontent.com/43497294/270070774-8de65053-f666-4fbd-b566-5e7272f19360.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NDg4NjIsIm5iZiI6MTcyMTQ0ODU2MiwicGF0aCI6Ii80MzQ5NzI5NC8yNzAwNzA3NzQtOGRlNjUwNTMtZjY2Ni00ZmJkLWI1NjYtNWU3MjcyZjE5MzYwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDA0MDkyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTEwMTAxNzI5YTI0ODg4ZmRlYzdkNjExNzRhNzk1MWQ5MDdlMGM5M2M1ZDQwYTdmNTYyNzFjYThmNDJmMGI1MzMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.V8jmNdC24DpM3jwvXQ6LrG6JkvpZ8U2WMLkUhF5OQ-0)
![Screenshot 2023-09-22 at 6 49 08 PM](https://private-user-images.githubusercontent.com/43497294/270070479-a640c806-6abe-4b6a-a571-849c19b1acee.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0NDg4NjIsIm5iZiI6MTcyMTQ0ODU2MiwicGF0aCI6Ii80MzQ5NzI5NC8yNzAwNzA0NzktYTY0MGM4MDYtNmFiZS00YjZhLWE1NzEtODQ5YzE5YjFhY2VlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIwVDA0MDkyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzYjhjNzk2NzliNjBkNTQwZTQzNGU0MzNiMWVlMDQ4NmVhNTRhM2JmMmZkYzRlMmRlN2EwNjFlZDJlYmNkZTgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.BpvOlyYQOLyBYu99cVQskVoCX5tcgHuFj_j9fKhnoYs)
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)