Skip to content

Commit

Permalink
Merge pull request #22 from EthicallyAI/dev
Browse files Browse the repository at this point in the history
Version 0.0.4
  • Loading branch information
Shlomi Hod authored Jun 3, 2019
2 parents 8af2aa8 + c779693 commit 13dc98d
Show file tree
Hide file tree
Showing 17 changed files with 3,225 additions and 3,609 deletions.
2 changes: 1 addition & 1 deletion .pycodestyle.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
# E711: comparison to None (used to improve test style)
# E712: comparison to True (used to improve test style)
# W503 line break before binary operator
ignore = E401,E402,E501,E711,E712,W503
ignore = E401,E402,E501,E711,E712,W503,E127
25 changes: 20 additions & 5 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
Revision History
================

0.0.4 (2019/06/03)
------------------

- Word embedding bias

- Unrestricted ``most_similar``

- Unrestricted ``generate_analogies``

- Running specific experiments with ``calc_all_weat``

- Plotting clustering by classification
of biased neutral words


0.0.3 (2019/04/10)
------------------

Expand All @@ -15,7 +30,7 @@ Revision History
- Equalized odds post-processing algorithmic interventions
- Complete two notebook demos (FICO and COMPAS)

- Words embedding bias
- Word embedding bias

- Measuring bias with WEAT method

Expand All @@ -27,16 +42,16 @@ Revision History
0.0.2 (2018/09/01)
------------------

- Words embedding bias
- Word embedding bias

- Generating analogies along the bias direction
- Standard evaluations of words embedding (word pairs and analogies)
- Standard evaluations of word embedding (word pairs and analogies)
- Plotting indirect bias
- Scatter plot of bias direction projections between two words embedding
- Scatter plot of bias direction projections between two word embedding
- Improved verbose mode


0.0.1 (2018/08/17)
------------------

- Gender debiasing for words embedding based on Bolukbasi et al.
- Gender debiasing for word embedding based on Bolukbasi et al.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Ethically
:target: http://docs.ethically.ai/about/license.html

**Toolkit for Auditing and Mitigating Bias and Fairness**
**of Machine Learning Systems 🔎🤖🔧**
**of Machine Learning Systems 🔎🤖🧰**

*Ethically* is developed for **practitioners** and **researchers** in mind,
but also for learners. Therefore, it is compatible with
Expand All @@ -51,7 +51,7 @@ Besides, there is a particular focus on **NLP** models.

3. ``ethically.we``
Metrics and debiasing methods for bias (such as gender and race)
in words embedding.
in word embedding.

For fairness, *Ethically*'s functionality is aligned with the book
`Fairness and Machine Learning
Expand Down
2 changes: 1 addition & 1 deletion docs/demos.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Demos

notebooks/demo-compas-analysis
notebooks/demo-fico-analysis
notebooks/demo-words-embedding-bias
notebooks/demo-word-embedding-bias

The demos can also be accessible as Jupyter notebooks
through the `GitHub repository
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Contents

dataset
fairness
words-embedding-bias
word-embedding-bias
demos
about/contributing
about/changelog
Expand Down

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions docs/words-embedding-bias.rst → docs/word-embedding-bias.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
Words Embedding Bias
====================
Word Embedding Bias
===================

.. automodule:: ethically.we

Refer to the `Words Embedding demo <notebooks/demo-words-embedding-bias.html>`_
Refer to the `Word Embedding demo <notebooks/demo-word-embedding-bias.html>`_
for a complete usage example.

Bolukbasi Bias Measure and Debiasing
Expand All @@ -18,9 +18,14 @@ WEAT
.. automodule:: ethically.we.weat
:members:

Utilities
---------

Words Embedding Benchmarks
--------------------------
.. automodule:: ethically.we.utils
:members:

Word Embedding Benchmarks
-------------------------

.. automodule:: ethically.we.benchmark
:members:
8 changes: 4 additions & 4 deletions ethically/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# pylint: disable=line-too-long

__project__ = 'ethically'
__description__ = ('Toolkit for Auditing and Mitigating Bias'
' and Fairness of Machine Learning Systems'
' 🔎🤖🔧')
__description__ = 'Toolkit for Auditing and Mitigating Bias and Fairness of Machine Learning Systems 🔎🤖🧰'
__url__ = 'http://docs.ethically.ai'
__version__ = '0.0.3'
__version__ = '0.0.4'
__author__ = 'Shlomi Hod'
__author_email__ = 'shlomi.hod@gmail.com'
__license__ = 'MIT'
Expand Down
Loading

0 comments on commit 13dc98d

Please sign in to comment.