Completed
Pull Request — master (#12)
by Shlomi
02:38
created

ethically.fairness   A

Complexity

Total Complexity 0

Size/Duplication

Total Lines 2
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
wmc 0
1
"""
2
Demographic Fairness in Binary Classification.
3
4
The common and simples setting, but not the one, of fairness
5
of a binary classifier is the demographic one.
6
It is assume that there is one sensitive attribute or more
7
that represents one or more demographic groups
8
(e.g., by gender, race or age), for which a classifier
9
should be fair.
10
11
.. important::
12
    The terminology and functionality is aligned with the
13
    book `Fairness and Machine Learning
14
    - Limitations and Opportunities <https://fairmlbook.org>`_
15
    by `Solon Barocas <http://solon.barocas.org/>`_,
16
    `Moritz Hardt <https://mrtz.org/>`_
17
    and `Arvind Narayanan <http://randomwalker.info/>`_.
18
    Therefore, it is advised to get familiar with
19
    `Chapter 2 <https://fairmlbook.org/demographic.html>`_,
20
    as it summarized the current core knowledge regarding fairness
21
    in classification.
22
23
Currently, the ``ethically.fairness`` module has two components:
24
25
1. **Metrics** (``ethically.fairness.metrics``) for measuring unfairness.
26
2. **Interventions** (``ethically.fairness.interventions``) for satisfying
27
   fairness criteria.
28
29
"""
30