Home
%3CLINGO-SUB%20id%3D%22lingo-sub-1402950%22%20slang%3D%22en-US%22%3EFairlearn%20-%20A%20Python%20package%20to%20assess%20AI%20system's%20fairness%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1402950%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22graf%20graf--p%22%3EAs%20we%20are%20leveraging%20data%20for%20making%20significant%20decisions%20that%20affect%20individual%20lives%20in%20domains%20such%20as%20health%20care%2C%20justice%2C%20finance%2C%20education%2C%20marketing%2C%20and%20employment%2C%20it%20is%20important%20to%20ensure%20the%20safe%2C%20ethical%2C%20and%20responsible%20use%20of%20AI.%20In%20collaboration%20with%20the%20%3CA%20class%3D%22markup--anchor%20markup--p-anchor%22%20href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fresearch%2Fblog%2Fresearch-collection-responsible-ai%2F%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%20data-href%3D%22https%3A%2F%2Fwww.microsoft.com%2Fen-us%2Fresearch%2Fblog%2Fresearch-collection-responsible-ai%2F%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%3EAether%20Committee%20and%20its%20working%20groups%2C%3C%2FA%3E%20Microsoft%20is%20bringing%20the%20latest%20research%20in%20responsible%20AI%20to%20Azure%3A%20these%20new%20%3CA%20class%3D%22markup--anchor%20markup--p-anchor%22%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fmachine-learning%2FresponsibleML%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%20data-href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fmachine-learning%2FresponsibleML%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%3Eresponsible%20ML%3C%2FA%3E%20capabilities%20in%20%3CA%20class%3D%22markup--anchor%20markup--p-anchor%22%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fmachine-learning%2F%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%20data-href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fservices%2Fmachine-learning%2F%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%3EAzure%20Machine%20Learning%3C%2FA%3E%20and%20our%20open%20source%20toolkits%2C%20empower%20data%20scientists%20and%20developers%20to%20%3CSTRONG%20class%3D%22markup--strong%20markup--p-strong%22%3E%3CEM%20class%3D%22markup--em%20markup--p-em%22%3Eunderstand%3C%2FEM%3E%3C%2FSTRONG%3E%20machine%20learning%20models%2C%20%3CSTRONG%20class%3D%22markup--strong%20markup--p-strong%22%3E%3CEM%20class%3D%22markup--em%20markup--p-em%22%3Eprotect%20%3C%2FEM%3E%3C%2FSTRONG%3Epeople%20and%20their%20data%2C%20and%20%3CSTRONG%20class%3D%22markup--strong%20markup--p-strong%22%3E%3CEM%20class%3D%22markup--em%20markup--p-em%22%3Econtrol%3C%2FEM%3E%20%3C%2FSTRONG%3Ethe%20end-to-end%20machine%20learning%20process.%3C%2FP%3E%0A%3CP%20class%3D%22graf%20graf--p%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22picture.png%22%20style%3D%22width%3A%20593px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F193065iE2BA326C5194A684%2Fimage-dimensions%2F593x495%3Fv%3D1.0%22%20width%3D%22593%22%20height%3D%22495%22%20title%3D%22picture.png%22%20alt%3D%22picture.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%20class%3D%22graf%20graf--p%22%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIn%202015%2C%20Claire%20Cain%20Miller%20wrote%20on%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nytimes.com%2F2015%2F07%2F10%2Fupshot%2Fwhen-algorithms-discriminate.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EThe%20New%20York%20Times%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bthat%20there%20was%20a%20widespread%20belief%20that%20software%20and%20algorithms%20that%20rely%20on%20data%20were%20objective.%20Five%20years%20later%2C%20we%20know%20for%20sure%20that%20AI%20is%20not%20free%20of%20human%20influence.%20Data%20is%20created%2C%20stored%2C%20and%20processed%20by%20people%2C%20machine%20learning%20algorithms%20are%20written%20and%20maintained%20by%20people%2C%20and%20AI%20applications%20simply%20reflect%20people%E2%80%99s%20attitudes%20and%20behavior.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EData%20scientists%20know%20that%20no%20longer%20accuracy%20is%20the%20only%20concern%20when%20developing%20machine%20learning%20models%2C%20fairness%20must%20be%20considered%20as%20well.%20In%20order%20to%20make%20sure%20that%20machine%20learning%20solutions%20are%20fair%20and%20the%20value%20of%20their%20predictions%20easy%20to%20understand%20and%20explain%2C%20it%20is%20essential%20to%20build%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Etools%20that%20developers%20and%20data%20scientists%20can%20use%20to%20assess%20their%20AI%20system%E2%80%99s%20fairness%20and%20mitigate%20any%20observed%20unfairness%20issues.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20article%20will%20focus%20on%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EAI%20fairness%3C%2FSTRONG%3E%3CSPAN%3E%2C%20by%20explaining%20the%20following%20aspects%20and%20tools%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3E%3CSTRONG%3EFairlearn%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%3A%20a%20tool%20to%20assess%20AI%20system%E2%80%99s%20fairness%20and%20mitigate%20any%20observed%20unfairness%20issues%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EHow%20to%20use%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EFairlearn%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3Bin%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22http%3A%2F%2Fwww.aka.ms%2FAzureMLDoc%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Machine%20Learning%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EWhat%20we%20mean%20by%20fairness%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Ddocs-twitter-lazzeri%23fairlearn-algorithms%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3E%3CSTRONG%3EFairlearn%20algorithms%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Ddocs-twitter-lazzeri%23fairlearn-dashboard%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EFairlearn%20dashboard%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EComparing%20multiple%20models%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EAdditional%20resources%20and%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Ddocs-twitter-lazzeri%23contributing%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehow%20to%20contribute%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1330485557%22%20id%3D%22toc-hId--1330485557%22%3E%3CSTRONG%3E1.%20Fairlearn%3A%20a%20tool%20to%20assess%20AI%20system%E2%80%99s%20fairness%20and%20mitigate%20any%20observed%20unfairness%20issues%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EFairlearn%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bis%20a%20Python%20package%20that%20empowers%20developers%20of%20artificial%20intelligence%20(AI)%20systems%20to%20assess%20their%20system%E2%80%99s%20fairness%20and%20mitigate%20any%20observed%20unfairness%20issues.%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EFairlearn%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bcontains%20mitigation%20algorithms%20as%20well%20as%20a%20Jupyter%20widget%20for%20model%20assessment.%20The%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EFairlearn%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bpackage%20has%20two%20components%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3EA%26nbsp%3B%3C%2FSPAN%3E%3CI%3E%3CSPAN%3Edashboard%3C%2FSPAN%3E%3C%2FI%3E%3CSPAN%3E%26nbsp%3Bfor%20assessing%20which%20groups%20are%20negatively%20impacted%20by%20a%20model%2C%20and%20for%20comparing%20multiple%20models%20in%20terms%20of%20various%20fairness%20and%20accuracy%20metrics.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CI%3E%3CSPAN%3EAlgorithms%3C%2FSPAN%3E%3C%2FI%3E%3CSPAN%3E%26nbsp%3Bfor%20mitigating%20unfairness%20in%20a%20variety%20of%20AI%20tasks%20and%20along%20a%20variety%20of%20fairness%20definitions.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3EThere%20is%20also%20a%20collection%20of%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%2Ftree%2Fmaster%2Fnotebooks%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EJupyter%20notebooks%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eand%20an%20a%20detailed%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ffairlearn.github.io%2Fapi_reference%2Findex.html%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EAPI%20guide%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%2C%20that%20you%20can%20check%20to%20learn%20how%20to%20leverage%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EFairlearn%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bfor%20your%20own%20data%20science%20scenario.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-1157027276%22%20id%3D%22toc-hId-1157027276%22%3E%3CSTRONG%3E2.%20How%20to%20use%20Fairlearn%20in%20Azure%20Machine%20Learning%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EThe%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EFairlearn%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bpackage%20can%20be%20installed%20via%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%3E%3CSPAN%3Epip%20install%20fairlearn%3C%2FSPAN%3E%0A%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3Eor%20optionally%20with%20a%20full%20feature%20set%20by%20adding%20extras%2C%20e.g.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Epip%20install%20fairlearn%5Bcustomplots%5D%3C%2FSPAN%3E%3CSPAN%3E%2C%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eor%20you%20can%20clone%20the%20repository%20locally%20via%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%3E%3CSPAN%3Egit%20clone%20git%3C%2FSPAN%3E%3CSPAN%3E%40%3C%2FSPAN%3E%3CSPAN%3Egithub.com%3Afairlearn%3C%2FSPAN%3E%3CSPAN%3E%2F%3C%2FSPAN%3E%3CSPAN%3Efairlearn.git%3C%2FSPAN%3E%0A%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3EIn%20Azure%20Machine%20Learning%2C%20there%20are%20a%20few%20options%20to%20use%20Jupyter%20notebooks%20for%20your%20experiments%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH3%20id%3D%22toc-hId-1847588750%22%20id%3D%22toc-hId-1847588750%22%3E%3CSPAN%3Ea)%20Get%20Fairlearn%20samples%20on%20your%20notebook%20server%3C%2FSPAN%3E%3C%2FH3%3E%0A%3CP%3E%3CSPAN%3EIf%20you%E2%80%99d%20like%20to%20bring%20your%20own%20notebook%20server%20for%20local%20development%2C%20follow%20these%20steps%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSPAN%3EUse%20the%20instructions%20at%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fpython%2Fapi%2Foverview%2Fazure%2Fml%2Finstall%3Fview%3Dazure-ml-py%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Machine%20Learning%20SDK%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3Bto%20install%20the%20Azure%20Machine%20Learning%20SDK%20for%20Python%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ECreate%20an%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmachine-learning%2Fhow-to-manage-workspace%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20Machine%20Learning%20workspace%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EWrite%20a%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmachine-learning%2Fhow-to-configure-environment%23workspace%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Econfiguration%20file%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EClone%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E-ERR%3AREF-NOT-FOUND-the%20GitHub%20repository%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CPRE%3E%3CSPAN%3Egit%20clone%20git%3C%2FSPAN%3E%3CSPAN%3E%40%3C%2FSPAN%3E%3CSPAN%3Egithub.com%3Afairlearn%3C%2FSPAN%3E%3CSPAN%3E%2F%3C%2FSPAN%3E%3CSPAN%3Efairlearn.git%3C%2FSPAN%3E%0A%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3E5.%20Start%20the%20notebook%20server%20from%20your%20cloned%20directory.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%3E%3CSPAN%3Ejupyter%20notebook%3C%2FSPAN%3E%0A%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3EFor%20more%20information%2C%20see%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fpython%2Fapi%2Foverview%2Fazure%2Fml%2Finstall%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EInstall%20the%20Azure%20Machine%20Learning%20SDK%20for%20Python%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Eb)%20Get%20Fairlearn%20samples%20on%20DSVM%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20Data%20Science%20Virtual%20Machine%20(DSVM)%20is%20a%20customized%20VM%20image%20built%20specifically%20for%20doing%20data%20science.%20If%20you%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmachine-learning%2Fhow-to-configure-environment%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%23dsvm%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3Ecreate%20a%20DSVM%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%2C%20the%20SDK%20and%20notebook%20server%20are%20installed%20and%20configured%20for%20you.%20However%2C%20you%E2%80%99ll%20still%20need%20to%20create%20a%20workspace%20and%20clone%20the%20sample%20repository.%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fmachine-learning%2Fhow-to-manage-workspace%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3E%3CSTRONG%3ECreate%20an%20Azure%20Machine%20Learning%20workspace%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EClone%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ethe%20GitHub%20repository%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CPRE%3E%3CSPAN%3Egit%20clone%20git%3C%2FSPAN%3E%3CSPAN%3E%40%3C%2FSPAN%3E%3CSPAN%3Egithub.com%3Afairlearn%3C%2FSPAN%3E%3CSPAN%3E%2F%3C%2FSPAN%3E%3CSPAN%3Efairlearn.git%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3E3.%20Add%20a%20workspace%20configuration%20file%20to%20the%20cloned%20directory%20using%20either%20of%20these%20methods%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3EIn%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fms.portal.azure.com%2F%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EAzure%20portal%3C%2FA%3E%2C%20select%26nbsp%3B%3CSTRONG%3EDownload%20config.json%3C%2FSTRONG%3E%26nbsp%3Bfrom%20the%26nbsp%3B%3CSTRONG%3EOverview%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Esection%20of%20your%20workspace.%0A%3CDIV%20id%3D%22tinyMceEditorFrancesca%20Lazzeri_0%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3C%2FLI%3E%0A%3CLI%3ECreate%20a%20new%20workspace%20using%20code%20in%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FAzure%2FMachineLearningNotebooks%2Fblob%2Fmaster%2Fconfiguration.ipynb%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Econfiguration.ipynb%3C%2FA%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3Enotebook%20in%20your%20cloned%20directory%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3E4.%20Start%20the%20notebook%20server%20from%20your%20cloned%20directory%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%3E%3CSPAN%3Ejupyter%20notebook%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CH2%20id%3D%22toc-hId-1837085646%22%20id%3D%22toc-hId-1837085646%22%3E%3CSTRONG%3E3.%20What%20we%20mean%20by%26nbsp%3B%3C%2FSTRONG%3E%3CSTRONG%3E%3CI%3Efairness%3C%2FI%3E%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EFighting%20against%20unfairness%20and%20discrimination%20has%20a%20long%20history%20in%20philosophy%20and%20psychology%2C%20and%20recently%20in%20machine%20learning.%20However%2C%20in%20order%20to%20be%20able%20to%20achieve%20fairness%2C%20we%20should%20first%20define%20the%20notion%20of%20it.%20An%20AI%20system%20can%20behave%20unfairly%20for%20a%20variety%20of%20reasons%20and%20many%20different%20fairness%20explanations%20have%20been%20used%20in%20literature%2C%20making%20this%20definition%20even%20more%20challenging.%20In%20general%2C%20fairness%20definitions%20fall%20under%20three%20different%20categories%20as%20follows%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CI%3E%3CSPAN%3EIndividual%20Fairness%3C%2FSPAN%3E%3C%2FI%3E%3CSPAN%3E%26nbsp%3B%E2%80%93%20Give%20similar%20predictions%20to%20similar%20individuals.%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CI%3E%3CSPAN%3EGroup%20Fairness%3C%2FSPAN%3E%3C%2FI%3E%3CSPAN%3E%26nbsp%3B%E2%80%93%20Treat%20different%20groups%20equally.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CI%3E%3CSPAN%3ESubgroup%20Fairness%3C%2FSPAN%3E%3C%2FI%3E%3CSPAN%3E%26nbsp%3B%E2%80%93%20Subgroup%20fairness%20intends%20to%20obtain%20the%20best%20properties%20of%20the%20group%20and%20individual%20notions%20of%20fairness.%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3EIn%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EFairlearn%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%2C%20we%20define%20whether%20an%20AI%20system%20is%20behaving%20unfairly%20in%20terms%20of%20its%20impact%20on%20people%20%E2%80%93%20i.e.%2C%20in%20terms%20of%20harms.%20We%20focus%20on%20two%20kinds%20of%20harms%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CI%3E%3CSPAN%3EAllocation%20harms%3C%2FSPAN%3E%3C%2FI%3E%3CSPAN%3E.%20These%20harms%20can%20occur%20when%20AI%20systems%20extend%20or%20withhold%20opportunities%2C%20resources%2C%20or%20information.%20Some%20of%20the%20key%20applications%20are%20in%20hiring%2C%20school%20admissions%2C%20and%20lending.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CUL%3E%0A%3CLI%3E%3CI%3E%3CSPAN%3EQuality-of-service%20harms%3C%2FSPAN%3E%3C%2FI%3E%3CSPAN%3E.%26nbsp%3BQuality%20of%20service%20refers%20to%20whether%20a%20system%20works%20as%20well%20for%20one%20person%20as%20it%20does%20for%20another%2C%20even%20if%20no%20opportunities%2C%20resources%2C%20or%20information%20are%20extended%20or%20withheld.%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3EWe%20follow%20the%20approach%20known%20as%20group%20fairness%2C%20which%20asks%3A%20Which%20groups%20of%20individuals%20are%20at%20risk%20of%20experiencing%20harm%3F%20The%20relevant%20groups%20need%20to%20be%20specified%20by%20the%20data%20scientist%20and%20are%20application-specific.%20Group%20fairness%20is%20formalized%20by%20a%20set%20of%20constraints%2C%20which%20require%20that%20some%20aspect%20(or%20aspects)%20of%20the%20AI%20system%E2%80%99s%20behavior%20be%20comparable%20across%20the%20groups.%20The%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EFairlearn%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bpackage%20enables%20the%20assessment%20and%20mitigation%20of%20unfairness%20under%20several%20common%20definitions.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-29631183%22%20id%3D%22toc-hId-29631183%22%3E%3CSTRONG%3E4.%20Fairlearn%20algorithms%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EFairlearn%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bcontains%20the%20following%20algorithms%20for%20mitigating%20unfairness%20in%20binary%20classification%20and%20regression%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%3CSTRONG%3EAlgorithm%3C%2FSTRONG%3E%3C%2FTD%3E%0A%3CTD%3E%3CSTRONG%3EDescription%3C%2FSTRONG%3E%3C%2FTD%3E%0A%3CTD%3E%3CSTRONG%3EClassification%2FRegression%3C%2FSTRONG%3E%3C%2FTD%3E%0A%3CTD%3E%3CSTRONG%3ESensitive%20features%3C%2FSTRONG%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CSPAN%3Efairlearn.%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3Ereductions.%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3EExponentiatedGradient%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3EBlack-box%20approach%20to%20fair%20classification%20described%20in%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Farxiv.org%2Fabs%2F1803.02453%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EA%20Reductions%20Approach%20to%20Fair%20Classification%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3Ebinary%20classification%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3Ecategorical%3C%2FSPAN%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CSPAN%3Efairlearn.%3C%2FSPAN%3E%3CSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3Ereductions.%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3EGridSearch%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3EBlack-box%20approach%20described%20in%20Section%203.4%20of%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Farxiv.org%2Fabs%2F1803.02453%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EA%20Reductions%20Approach%20to%20Fair%20Classification%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3Ebinary%20classification%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3Ebinary%3C%2FSPAN%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CSPAN%3Efairlearn.%3C%2FSPAN%3E%3CSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3Ereductions.%3C%2FSPAN%3E%3CSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3EGridSearch%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3EBlack-box%20approach%20that%20implements%20a%20grid-search%20variant%20of%20the%20algorithm%20described%20in%20Section%205%20of%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Farxiv.org%2Fabs%2F1905.12843%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EFair%20Regression%3A%20Quantitative%20Definitions%20and%20Reduction-based%20Algorithms%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3Eregression%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3Ebinary%3C%2FSPAN%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CSPAN%3Efairlearn.%3C%2FSPAN%3E%3CSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3Epostprocessing.%3C%2FSPAN%3E%3CSPAN%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3CSPAN%3EThresholdOptimizer%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3EPostprocessing%20algorithm%20based%20on%20the%20paper%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Farxiv.org%2Fabs%2F1610.02413%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3EEquality%20of%20Opportunity%20in%20Supervised%20Learning%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3CSPAN%3E.%20This%20technique%20takes%20as%20input%20an%20existing%20classifier%20and%20the%20sensitive%20feature%2C%20and%20derives%20a%20monotone%20transformation%20of%20the%20classifier%E2%80%99s%20prediction%20to%20enforce%20the%20specified%20parity%20constraints.%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3Ebinary%20classification%3C%2FSPAN%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3Ecategorical%3C%2FSPAN%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId--1777823280%22%20id%3D%22toc-hId--1777823280%22%3E%3CSTRONG%3E5.%3C%2FSTRONG%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSTRONG%3EFairlearn%20dashboard%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Ffairlearn%2Ffairlearn%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3EFairlearn%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E%26nbsp%3Bdashboard%20is%20a%20Jupyter%20notebook%20widget%20for%20assessing%20how%20a%20model%E2%80%99s%20predictions%20impact%20different%20groups%20(e.g.%2C%20different%20ethnicities)%2C%20and%20also%20for%20comparing%20multiple%20models%20along%20different%20fairness%20and%20accuracy%20metrics.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ETo%20assess%20a%20single%20model%E2%80%99s%20fairness%20and%20accuracy%2C%20the%20dashboard%20widget%20can%20be%20launched%20within%20a%20Jupyter%20notebook%20as%20follows%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3Efrom%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3Bfairlearn.widget%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eimport%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3BFairlearnDashboard%3C%2FSPAN%3E%3C%2FP%3E%0A%3CPRE%3E%3CSPAN%3E%23%20A_test%20containts%20your%20sensitive%20features%20(e.g.%2C%20age%2C%20binary%20gender)%3C%2FSPAN%3E%0A%0A%3CSPAN%3E%23%20sensitive_feature_names%20containts%20your%20sensitive%20feature%20names%3C%2FSPAN%3E%0A%0A%3CSPAN%3E%23%20y_true%20contains%20ground%20truth%20labels%3C%2FSPAN%3E%0A%0A%3CSPAN%3E%23%20y_pred%20contains%20prediction%20labels%3C%2FSPAN%3E%0A%0A%26nbsp%3B%0A%0A%3CSPAN%3EFairlearnDashboard(%3C%2FSPAN%3E%3CSPAN%3Esensitive_features%3C%2FSPAN%3E%3CSPAN%3E%3D%3C%2FSPAN%3E%3CSPAN%3EA_test%2C%3C%2FSPAN%3E%0A%0A%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Esensitive_feature_names%3C%2FSPAN%3E%3CSPAN%3E%3D%3C%2FSPAN%3E%3CSPAN%3E%5B%3C%2FSPAN%3E%3CSPAN%3E'BinaryGender'%3C%2FSPAN%3E%3CSPAN%3E%2C%20%3C%2FSPAN%3E%3CSPAN%3E'Age'%3C%2FSPAN%3E%3CSPAN%3E%5D%2C%3C%2FSPAN%3E%0A%0A%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Ey_true%3C%2FSPAN%3E%3CSPAN%3E%3D%3C%2FSPAN%3E%3CSPAN%3EY_test.tolist()%2C%3C%2FSPAN%3E%0A%0A%3CSPAN%3E%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Ey_pred%3C%2FSPAN%3E%3CSPAN%3E%3D%3C%2FSPAN%3E%3CSPAN%3E%5By_pred.tolist()%5D)%3C%2FSPAN%3E%3C%2FPRE%3E%0A%3CP%3E%3CSPAN%3EAfter%20the%20launch%2C%20the%20widget%20walks%20the%20user%20through%20the%20assessment%20set-up%2C%20where%20the%20user%20is%20asked%20to%20select%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSPAN%3Ethe%20sensitive%20feature%20of%20interest%20(e.g.%2C%20binary%20gender%20or%20age)%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3Ethe%20accuracy%20metric%20(e.g.%2C%20model%20precision)%20along%20which%20to%20evaluate%20the%20overall%20model%20performance%20as%20well%20as%20any%20disparities%20across%20groups.%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3CP%3E%3CSPAN%3EThese%20selections%20are%20then%20used%20to%20obtain%20the%20visualization%20of%20the%20model%E2%80%99s%20impact%20on%20the%20subgroups%20(e.g.%2C%20model%20precision%20for%20females%20and%20model%20precision%20for%20males).%20The%20following%20figures%20illustrate%20the%20set-up%20steps%2C%20where%20binary%20gender%20is%20selected%20as%20a%20sensitive%20feature%20and%20the%20accuracy%20rate%20is%20selected%20as%20the%20accuracy%20metric%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorFrancesca%20Lazzeri_1%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAfter%20the%20set-up%2C%20the%20dashboard%20presents%20the%20model%20assessment%20in%20two%20panels%2C%20as%20summarized%20in%20the%20table%2C%20and%20visualized%20in%20the%20screenshot%20below%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CTABLE%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%3E%3CSTRONG%3EPanel%3C%2FSTRONG%3E%3C%2FTD%3E%0A%3CTD%3E%3CSTRONG%3EDescription%3C%2FSTRONG%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CSTRONG%3EDisparity%20in%20accuracy%3C%2FSTRONG%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3EThis%20panel%20shows%3A%26nbsp%3B%3C%2FSPAN%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3COL%3E%0A%3CLI%3E%3CSPAN%3Ethe%20accuracy%20of%20your%20model%20with%20respect%20to%20your%20selected%20accuracy%20metric%20(e.g.%2C%26nbsp%3Baccuracy%20rate)%20overall%20as%20well%20as%20on%20different%20subgroups%20based%20on%20your%20selected%20sensitive%20feature%20(e.g.%2C%26nbsp%3Baccuracy%20rate%26nbsp%3Bfor%20females%2C%26nbsp%3Baccuracy%20rate%26nbsp%3Bfor%20males)%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3Ethe%20disparity%20(difference)%20in%20the%20values%20of%20the%20selected%20accuracy%20metric%20across%20different%20subgroups%3B%26nbsp%3B%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3Ethe%20distribution%20of%20errors%20in%20each%20subgroup%20(e.g.%2C%20female%2C%20male).%20For%20binary%20classification%2C%20the%20errors%20are%20further%20split%20into%20overprediction%20(predicting%201%20when%20the%20true%20label%20is%200)%2C%20and%20underprediction%20(predicting%200%20when%20the%20true%20label%20is%201).%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FOL%3E%0A%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%3E%3CSTRONG%3EDisparity%20in%20predictions%3C%2FSTRONG%3E%3C%2FTD%3E%0A%3CTD%3E%3CSPAN%3EThis%20panel%20shows%20a%20bar%20chart%20that%20contains%20the%20selection%20rate%20in%20each%20group%2C%20meaning%20the%20fraction%20of%20data%20classified%20as%201%20(in%20binary%20classification)%20or%20distribution%20of%20prediction%20values%20(in%20regression).%3C%2FSPAN%3E%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CDIV%20id%3D%22tinyMceEditorFrancesca%20Lazzeri_2%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CH2%20id%3D%22toc-hId-709689553%22%20id%3D%22toc-hId-709689553%22%3E%3CSTRONG%3E6.%20Comparing%20multiple%20models%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EAn%20additional%20feature%20that%20this%20dashboard%20offers%20is%20the%20comparison%20of%20multiple%20models%2C%20such%20as%20the%20models%20produced%20by%20different%20learning%20algorithms%20and%20different%20mitigation%20approaches%2C%20including%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3Efairlearn.reductions.GridSearch%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3Efairlearn.reductions.ExponentiatedGradient%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3Efairlearn.postprocessing.ThresholdOptimizer%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3EAs%20before%2C%20the%20user%20is%20first%20asked%20to%20select%20the%20sensitive%20feature%20and%20the%20accuracy%20metric.%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3EThe%26nbsp%3Bmodel%20comparison%26nbsp%3Bview%20then%20depicts%20the%20accuracy%20and%20disparity%20of%20all%20the%20provided%20models%20in%20a%20scatter%20plot.%20This%20allows%20the%20user%20to%20examine%20trade-offs%20between%20algorithm%20accuracy%20and%20fairness.%20Moreover%2C%20each%20of%20the%20dots%20can%20be%20clicked%20to%20open%20the%20assessment%20of%20the%20corresponding%20model.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20figure%20below%20shows%20the%20model%20comparison%20view%20with%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Ebinary%20gender%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3Eselected%20as%20a%20sensitive%20feature%20and%26nbsp%3Baccuracy%20rate%26nbsp%3Bselected%20as%20the%20accuracy%20metric%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%20id%3D%22tinyMceEditorFrancesca%20Lazzeri_3%22%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CH2%20id%3D%22toc-hId--1097764910%22%20id%3D%22toc-hId--1097764910%22%3E%3CSTRONG%3E7.%20Additional%20resources%20and%20how%20to%20contribute%3C%2FSTRONG%3E%3C%2FH2%3E%0A%3CP%3E%3CSPAN%3EFor%20references%20and%20additional%20resources%2C%20please%20refer%20to%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CUL%3E%0A%3CLI%3E%3CSPAN%3EFairlearn%20GitHub%20repo%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22http%3A%2F%2Fwww.aka.ms%2FFairlearnAI%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ewww.aka.ms%2FFairlearnAI%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EAzure%20Machine%20Learning%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22http%3A%2F%2Fwww.aka.ms%2FAzureMLDoc%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ewww.aka.ms%2FAzureMLDoc%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EResponsible%20ML%20at%20Microsoft%20Build%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22http%3A%2F%2Fwww.aka.ms%2FBuild2020ResponsibleML%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ewww.aka.ms%2FBuild2020ResponsibleML%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%26nbsp%3B%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EResponsible%20ML%20on%20Azure%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22http%3A%2F%2Fwww.aka.ms%2FAzureResponsibleML%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ewww.aka.ms%2FAzureResponsibleML%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EResponsible%20ML%20documentation%3A%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22http%3A%2F%2Fwww.aka.ms%2FResponsibleMLDoc%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ewww.aka.ms%2FResponsibleMLDoc%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EDiscrimination-aware%20Data%20Mining%3A%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fdl.acm.org%2Fdoi%2F10.1145%2F1401890.1401959%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3E%3CSTRONG%3Ehttp%3A%2F%2Fpages.di.unipi.it%2Fruggieri%2FPapers%2Fkdd2008.pdf%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FA%3E%26nbsp%3B%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3EA%20Survey%20on%20Bias%20and%20Fairness%20in%20Machine%20Learning%3A%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Farxiv.org%2Fpdf%2F1908.09635.pdf%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Farxiv.org%2Fpdf%2F1908.09635.pdf%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3CLI%3E%3CSPAN%3ECan%20an%20Algorithm%20Hire%20Better%20Than%20a%20Human%3F%3C%2FSPAN%3E%3CSPAN%3E%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%3CSTRONG%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nytimes.com%2F2015%2F06%2F26%2Fupshot%2Fcan-an-algorithm-hire-better-than-a-human.html%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nytimes.com%2F2015%2F06%2F26%2Fupshot%2Fcan-an-algorithm-hire-better-than-a-human.html%3C%2FA%3E%3C%2FSTRONG%3E%3C%2FSPAN%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3CP%3E%3CSPAN%3ETo%20contribute%20please%20check%20this%26nbsp%3B%3C%2FSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ffairlearn.github.io%2F%3FWT.mc_id%3Dbuild2020_ca-blogpost-lazzeri%23contribute%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3E%3CSPAN%3Econtributing%20guide%3C%2FSPAN%3E%3C%2FA%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-TEASER%20id%3D%22lingo-teaser-1402950%22%20slang%3D%22en-US%22%3E%3CP%20class%3D%22graf%20graf--p%22%3EAs%20we%20are%20leveraging%20data%20for%20making%20significant%20decisions%20that%20affect%20individual%20lives%20in%20domains%20such%20as%20health%20care%2C%20justice%2C%20finance%2C%20education%2C%20marketing%2C%20and%20employment%2C%20it%20is%20important%20to%20ensure%20the%20safe%2C%20ethical%2C%20and%20responsible%20use%20of%20AI.%20In%20collaboration%20with%20the%20-ERR%3AREF-NOT-FOUND-Aether%20Committee%20and%20its%20working%20groups%2C%20Microsoft%20is%20bringing%20the%20latest%20research%20in%20responsible%20AI%20to%20Azure%3A%20these%20new%20-ERR%3AREF-NOT-FOUND-responsible%20ML%20capabilities%20in%20-ERR%3AREF-NOT-FOUND-Azure%20Machine%20Learning%20and%20our%20open%20source%20toolkits%2C%20empower%20data%20scientists%20and%20developers%20to%20%3CSTRONG%20class%3D%22markup--strong%20markup--p-strong%22%3E%3CEM%20class%3D%22markup--em%20markup--p-em%22%3Eunderstand%3C%2FEM%3E%3C%2FSTRONG%3E%20machine%20learning%20models%2C%20%3CSTRONG%20class%3D%22markup--strong%20markup--p-strong%22%3E%3CEM%20class%3D%22markup--em%20markup--p-em%22%3Eprotect%20%3C%2FEM%3E%3C%2FSTRONG%3Epeople%20and%20their%20data%2C%20and%20%3CSTRONG%20class%3D%22markup--strong%20markup--p-strong%22%3E%3CEM%20class%3D%22markup--em%20markup--p-em%22%3Econtrol%3C%2FEM%3E%20%3C%2FSTRONG%3Ethe%20end-to-end%20machine%20learning%20process.%3C%2FP%3E%3C%2FLINGO-TEASER%3E

As we are leveraging data for making significant decisions that affect individual lives in domains such as health care, justice, finance, education, marketing, and employment, it is important to ensure the safe, ethical, and responsible use of AI. In collaboration with the Aether Committee and its working groups, Microsoft is bringing the latest research in responsible AI to Azure: these new responsible ML capabilities in Azure Machine Learning and our open source toolkits, empower data scientists and developers to understand machine learning models, protect people and their data, and control the end-to-end machine learning process.

picture.png

 

In 2015, Claire Cain Miller wrote on The New York Times that there was a widespread belief that software and algorithms that rely on data were objective. Five years later, we know for sure that AI is not free of human influence. Data is created, stored, and processed by people, machine learning algorithms are written and maintained by people, and AI applications simply reflect people’s attitudes and behavior. 

 

Data scientists know that no longer accuracy is the only concern when developing machine learning models, fairness must be considered as well. In order to make sure that machine learning solutions are fair and the value of their predictions easy to understand and explain, it is essential to build tools that developers and data scientists can use to assess their AI system’s fairness and mitigate any observed unfairness issues.

 

This article will focus on AI fairness, by explaining the following aspects and tools:

  1. Fairlearn: a tool to assess AI system’s fairness and mitigate any observed unfairness issues
  2. How to use Fairlearn in Azure Machine Learning
  3. What we mean by fairness
  4. Fairlearn algorithms
  5. Fairlearn dashboard
  6. Comparing multiple models
  7. Additional resources and how to contribute

 

1. Fairlearn: a tool to assess AI system’s fairness and mitigate any observed unfairness issues

Fairlearn is a Python package that empowers developers of artificial intelligence (AI) systems to assess their system’s fairness and mitigate any observed unfairness issues. Fairlearn contains mitigation algorithms as well as a Jupyter widget for model assessment. The Fairlearn package has two components:

  • dashboard for assessing which groups are negatively impacted by a model, and for comparing multiple models in terms of various fairness and accuracy metrics.
  • Algorithms for mitigating unfairness in a variety of AI tasks and along a variety of fairness definitions.

There is also a collection of Jupyter notebooks and an a detailed API guide, that you can check to learn how to leverage Fairlearn for your own data science scenario.

 

2. How to use Fairlearn in Azure Machine Learning

The Fairlearn package can be installed via:

pip install fairlearn

or optionally with a full feature set by adding extras, e.g. pip install fairlearn[customplots]or you can clone the repository locally via:

git clone git@github.com:fairlearn/fairlearn.git

In Azure Machine Learning, there are a few options to use Jupyter notebooks for your experiments:

a) Get Fairlearn samples on your notebook server

If you’d like to bring your own notebook server for local development, follow these steps:

  1. Use the instructions at Azure Machine Learning SDK to install the Azure Machine Learning SDK for Python
  2. Create an Azure Machine Learning workspace.
  3. Write a configuration file 
  4. Clone the GitHub repository.
git clone git@github.com:fairlearn/fairlearn.git

5. Start the notebook server from your cloned directory.

jupyter notebook

For more information, see Install the Azure Machine Learning SDK for Python.

b) Get Fairlearn samples on DSVM

The Data Science Virtual Machine (DSVM) is a customized VM image built specifically for doing data science. If you create a DSVM, the SDK and notebook server are installed and configured for you. However, you’ll still need to create a workspace and clone the sample repository.

  1. Create an Azure Machine Learning workspace.
  2. Clone the GitHub repository.
git clone git@github.com:fairlearn/fairlearn.git

3. Add a workspace configuration file to the cloned directory using either of these methods:

  • In the Azure portal, select Download config.json from the Overview section of your workspace.
     

     

  • Create a new workspace using code in the configuration.ipynb notebook in your cloned directory

4. Start the notebook server from your cloned directory:

jupyter notebook

3. What we mean by fairness

Fighting against unfairness and discrimination has a long history in philosophy and psychology, and recently in machine learning. However, in order to be able to achieve fairness, we should first define the notion of it. An AI system can behave unfairly for a variety of reasons and many different fairness explanations have been used in literature, making this definition even more challenging. In general, fairness definitions fall under three different categories as follows:

  • Individual Fairness – Give similar predictions to similar individuals. 
  • Group Fairness – Treat different groups equally.
  • Subgroup Fairness – Subgroup fairness intends to obtain the best properties of the group and individual notions of fairness. 

In Fairlearn, we define whether an AI system is behaving unfairly in terms of its impact on people – i.e., in terms of harms. We focus on two kinds of harms:

  • Allocation harms. These harms can occur when AI systems extend or withhold opportunities, resources, or information. Some of the key applications are in hiring, school admissions, and lending.
  • Quality-of-service harms. Quality of service refers to whether a system works as well for one person as it does for another, even if no opportunities, resources, or information are extended or withheld.

We follow the approach known as group fairness, which asks: Which groups of individuals are at risk of experiencing harm? The relevant groups need to be specified by the data scientist and are application-specific. Group fairness is formalized by a set of constraints, which require that some aspect (or aspects) of the AI system’s behavior be comparable across the groups. The Fairlearn package enables the assessment and mitigation of unfairness under several common definitions.

4. Fairlearn algorithms

Fairlearn contains the following algorithms for mitigating unfairness in binary classification and regression:

Algorithm Description Classification/Regression Sensitive features
fairlearn.
reductions.
ExponentiatedGradient
Black-box approach to fair classification described in A Reductions Approach to Fair Classification binary classification categorical
fairlearn.
reductions.
GridSearch
Black-box approach described in Section 3.4 of A Reductions Approach to Fair Classification binary classification binary
fairlearn.
reductions.
GridSearch
Black-box approach that implements a grid-search variant of the algorithm described in Section 5 of Fair Regression: Quantitative Definitions and Reduction-based Algorithms regression binary
fairlearn.
postprocessing.
ThresholdOptimizer
Postprocessing algorithm based on the paper Equality of Opportunity in Supervised Learning. This technique takes as input an existing classifier and the sensitive feature, and derives a monotone transformation of the classifier’s prediction to enforce the specified parity constraints. binary classification categorical

 

5. Fairlearn dashboard

Fairlearn dashboard is a Jupyter notebook widget for assessing how a model’s predictions impact different groups (e.g., different ethnicities), and also for comparing multiple models along different fairness and accuracy metrics.

To assess a single model’s fairness and accuracy, the dashboard widget can be launched within a Jupyter notebook as follows:

from fairlearn.widget import FairlearnDashboard

# A_test containts your sensitive features (e.g., age, binary gender)

# sensitive_feature_names containts your sensitive feature names

# y_true contains ground truth labels

# y_pred contains prediction labels

 

FairlearnDashboard(sensitive_features=A_test,

                   sensitive_feature_names=['BinaryGender', 'Age'],

                   y_true=Y_test.tolist(),

                   y_pred=[y_pred.tolist()])

After the launch, the widget walks the user through the assessment set-up, where the user is asked to select:

  1. the sensitive feature of interest (e.g., binary gender or age)
  2. the accuracy metric (e.g., model precision) along which to evaluate the overall model performance as well as any disparities across groups. 

These selections are then used to obtain the visualization of the model’s impact on the subgroups (e.g., model precision for females and model precision for males). The following figures illustrate the set-up steps, where binary gender is selected as a sensitive feature and the accuracy rate is selected as the accuracy metric:

 

 

After the set-up, the dashboard presents the model assessment in two panels, as summarized in the table, and visualized in the screenshot below:

Panel Description
Disparity in accuracy This panel shows: 

 

  1. the accuracy of your model with respect to your selected accuracy metric (e.g., accuracy rate) overall as well as on different subgroups based on your selected sensitive feature (e.g., accuracy rate for females, accuracy rate for males); 
  2. the disparity (difference) in the values of the selected accuracy metric across different subgroups; 
  3. the distribution of errors in each subgroup (e.g., female, male). For binary classification, the errors are further split into overprediction (predicting 1 when the true label is 0), and underprediction (predicting 0 when the true label is 1).
Disparity in predictions This panel shows a bar chart that contains the selection rate in each group, meaning the fraction of data classified as 1 (in binary classification) or distribution of prediction values (in regression).
 

 

6. Comparing multiple models

An additional feature that this dashboard offers is the comparison of multiple models, such as the models produced by different learning algorithms and different mitigation approaches, including:

  • fairlearn.reductions.GridSearch
  • fairlearn.reductions.ExponentiatedGradient
  • fairlearn.postprocessing.ThresholdOptimizer

As before, the user is first asked to select the sensitive feature and the accuracy metric. The model comparison view then depicts the accuracy and disparity of all the provided models in a scatter plot. This allows the user to examine trade-offs between algorithm accuracy and fairness. Moreover, each of the dots can be clicked to open the assessment of the corresponding model. 

The figure below shows the model comparison view with binary gender selected as a sensitive feature and accuracy rate selected as the accuracy metric:

 

7. Additional resources and how to contribute

For references and additional resources, please refer to:

To contribute please check this contributing guide.