-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add audmetric.linkability() * Add doc entry * Extend docstring * Update docstring * Add tests * Make sure no DOI is link checked * Use generator function with random_state * Add reference scores * Fix empty line in refs.bib * Fix missing omega * Remove custom estimation of bins * Remove test for 50 samples (no ground truth) * Fix tests * Update docstring * Remove comment * Use tmp file and store final results * Mention results * Add comment describing tests * Add commas * Update import
- Loading branch information
Showing
11 changed files
with
609 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ venv/ | |
__init__.pyc | ||
coverage.xml | ||
docs/api/ | ||
tests/assests/linkability/anonymization_metrics/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
To calculate the reference values run: | ||
|
||
```bash | ||
$ git clone https://gitlab.inria.fr/magnet/anonymization_metrics.git | ||
$ cd anonymization_metrics | ||
$ virtualenv --python=python3.8 env | ||
$ source env/bin/activate | ||
$ pip install -r requirements.txt | ||
$ cd ../../../../ | ||
$ pip install -r requirements.txt | ||
$ cd - | ||
$ cd .. | ||
$ python linkability_reference.py | ||
``` |
Oops, something went wrong.