Commit graph

149 commits

Author SHA1 Message Date
olasaadi
b4eddabd37 apply changes after rebase with wrappers 2022-03-10 13:49:05 +02:00
olasaadi
6afb175d6f add dataset wrapper to docstring 2022-03-10 13:42:49 +02:00
olasaadi
eefad206cd fix bug and update test_model 2022-03-10 13:42:47 +02:00
olasaadi
1280b849f4 using dataset wrapper on anonymizer 2022-03-10 13:41:57 +02:00
olasaadi
c0dbb200e7 add dataset wrapper to docstring 2022-03-10 13:04:39 +02:00
olasaadi
300e391432 fix bug and update test_model 2022-03-10 12:56:41 +02:00
olasaadi
d53818644e
Build the dt on all features anon (#23)
* add param to build the DT on all features and not just on QI
* one-hot encoding only for categorical features
2022-03-07 20:12:55 +02:00
abigailt
f2df2fcc8c Renaming 2022-03-07 19:09:31 +02:00
abigailt
3d82db80c4 Remove redundant code.
Use data wrappers in model wrapper APIs.
More typing.
2022-03-06 21:15:07 +02:00
olasaadi
fd9f134336 using dataset wrapper on anonymizer 2022-03-01 02:28:41 +02:00
abigailt
c47819a031 Update docs 2022-02-23 19:40:11 +02:00
abigailt
7e2ce7fe96 Merge remote-tracking branch 'origin/main' into main 2022-02-23 19:26:44 +02:00
abigailt
7fbd1e4b90 Update version and docs 2022-02-23 19:22:54 +02:00
olasaadi
752871dd0c
add minimization notebook (#22)
* add german credit notebook to showcase new features (minimize only some features and categorical features)

* add notebook to show minimization data on a regression problem
2022-02-23 14:57:12 +02:00
RON SHMELKIN
9f4d649934 add generic dataset components (#7)
* add generic dataset components
2022-02-22 12:00:04 +02:00
ABIGAIL GOLDSTEEN
b0c6c4d28e Create initial version of wrappers for models (#1)
* New wrapper classes for models
2022-02-10 15:36:41 +02:00
abigailgold
9de078f937
Update readme's with paper citations (#21) 2022-02-01 12:27:22 +02:00
olasaadi
3feebe8973
Regression minimization (#20)
* support regression in minimization and add test

* fix #10
2022-01-27 15:57:55 +02:00
olasaadi
cb9278ddb5
Support regression models (#19)
* support DecisionTreeRegressor

* support regression models

* Update membership_inference_dp_diabetes_reg.ipynb
2022-01-26 14:30:58 +02:00
olasaadi
a9a93c8a3a
Train just on qi (#15)
* QI updates
* update code to support training ML on QI features
* fix code so features that are not from QI should not be part of generalizations
and add description
* merging two branches, training on QI and on all data
* adding tests and asserts
2022-01-12 17:01:27 +02:00
olasaadi
2eb626c00c
Sup cat features (#14)
* support categorical features

* update the documentation and readme
added a test for the case where cells are supplied as a param.

* add big tests (adult test and iris)
and fixed bugs

* update transform to return numpy if original data is numpy

* added nursery test

* break loop if there is an illegal level

* Stop pruning one step before passing accuracy threshold

* adding asserts and fix DecisionTreeClassifier init

* Fix tests

Co-authored-by: abigailt <abigailt@il.ibm.com>
2022-01-11 09:51:04 +02:00
abigailt
c1450865b1 Add link to Slack 2021-11-02 14:19:22 +02:00
abigailt
e44da7d1b5 Notebook fix 2021-08-18 07:51:23 +03:00
abigailgold
43952e2332
Minimization fixes (#12)
* Fixes related to corner cases in calculating generalizations

* Fix print

* Fix corner cases in transform as well

* Improve prints + bug fixes in calculation of feature to remove

* Notebook demonstrating ai minimization
2021-08-17 21:19:48 +03:00
abigailgold
d2591d7840
Update README.md 2021-08-12 14:44:49 +03:00
abigailt
dc43c9db94 Fix link in notebook 2021-08-02 11:50:43 +03:00
abigailt
cf7d161f44 Files for pypi dist 2021-08-02 11:48:05 +03:00
abigailt
c06e2180e9 Fix images 2021-07-12 16:06:32 +03:00
abigailt
797f575252 Fix image 2021-07-12 16:05:22 +03:00
abigailt
4839450120 Missing files 2021-07-12 16:03:03 +03:00
abigailt
d1dded59ac Fix requirements 2021-07-12 16:02:54 +03:00
abigailgold
f2e1364b43
Add data minimization functionality to the ai-privacy-toolkit (#3)
* Fix directory issue when running tests for first time

* Initial version of data minimization

* Update version and documentation

* Fix documentation
2021-07-12 15:56:42 +03:00
abigailgold
bcc3d67ba4
Small fix + unified approach to numpy and pandas categorical data (#2) 2021-07-11 17:42:48 +03:00
abigailt
0358633f62 New pypi release, fixing distribution error 2021-06-30 22:28:14 +03:00
abigailt
34327c081d Update readme 2021-06-14 15:14:12 +03:00
abigailt
e97d509e78 Update pip installation instructions on readme 2021-06-10 08:03:54 +03:00
abigailt
412a4c3b51 Try to fix documentation 2021-06-07 17:28:10 +03:00
abigailt
fc35aed86d Try to fix documentation 2021-06-07 17:19:53 +03:00
abigailt
1513b14267 Update documentation 2021-06-07 17:07:51 +03:00
abigailt
a71d440272 Try to fix documentation 2021-06-07 17:01:21 +03:00
abigailt
519ed838e3 Try to fix documentation 2021-06-07 16:53:34 +03:00
abigailt
63caeec429 Try to fix documentation 2021-06-07 16:32:40 +03:00
abigailt
12292d36c9 Try to fix documentation 2021-06-07 16:29:34 +03:00
abigailt
d3a17d4c04 Try to fix documentation 2021-06-07 16:22:34 +03:00
abigailt
f0f8b76cc3 Notebook demonstrating attack with differential privacy defense. 2021-04-29 09:52:55 +03:00
abigailt
aca4df18e4 Ignore Jupyter Notebooks in git language detection 2021-04-28 16:34:02 +03:00
abigailt
8a547cdca1 Link to documentation 2021-04-28 14:14:53 +03:00
abigailt
5665c2e79d Initial commit 2021-04-28 14:00:19 +03:00
Steve Martinelli
d2de0726f4
Initial commit 2021-04-28 06:25:00 -04:00