abigailgold
8a9ef80146
Increase version to 0.2.0 ( #74 )
...
* Remove tensorflow dependency if not using keras model
* Remove xgboost dependency if not using xgboost model
* Documentation updates
Signed-off-by: abigailt <abigailt@il.ibm.com>
2023-05-08 12:50:55 +03:00
abigailgold
d52fcd0041
Formatting ( #68 )
...
Fix most flake/lint errors and ignore a few others
Signed-off-by: abigailt <abigailt@il.ibm.com>
2022-12-25 15:13:57 +02:00
abigailt
805a489201
Add method to get predict function from blackbox classifier, add loss and optimizer params for pytorch models to generate shadow models
...
Signed-off-by: abigailt <abigailt@il.ibm.com>
2022-11-09 14:42:55 +02:00
abigailt
44d012857f
Add loss and optimizer as properties
...
Signed-off-by: abigailt <abigailt@il.ibm.com>
2022-10-19 17:29:40 +03:00
abigailt
dc5cc793ee
Merge with main
2022-08-01 18:11:34 +03:00
abigailt
a9e2a35e18
Add support for xgboost XGBClassifier ( #53 )
2022-07-28 17:21:24 +03:00
olasaadi
74ce92acc4
fix
2022-07-26 18:37:44 +03:00
abigailt
a13415ad67
Externalize BlackboxClassifier dataset (x and predictions)
2022-07-25 16:31:45 +03:00
abigailt
fb534f7a0f
BlackboxClassifier based on predictions to work with DatasetWithPredictions
2022-07-25 16:31:45 +03:00
abigailt
77a6e08c8e
Keras regression support
2022-07-24 18:45:50 +03:00
Ron Shmelkin
c77e34e373
update pytorch wrapper to use torch loaders
...
fix tests
and dataset style
2022-07-24 14:31:47 +03:00
olasaadi
fdc6005fce
add validation set
2022-07-22 01:01:45 +03:00
olasaadi
65388da605
fix docstring
2022-07-20 18:39:53 +03:00
olasaadi
c2c7a01078
fix bug
2022-07-20 18:36:58 +03:00
olasaadi
6f69f5557b
fix bug
2022-07-20 18:29:48 +03:00
olasaadi
3bf26b67d2
fix
2022-07-20 17:36:00 +03:00
abigailt
a7d156660e
Wrap predict method in BlackBoxClassifierPredictMethod to avoid exception in ART when supplied method returns scalars
2022-07-20 13:33:19 +03:00
abigailt
1cc73b3da1
Check for mismatch between model output type and actual output
2022-07-20 13:33:19 +03:00
abigailt
bc7ab0cc7f
Add model type to blackbox classifier ( #49 )
2022-07-20 13:33:19 +03:00
olasaadi
4973fbebc6
fix
2022-07-19 21:16:39 +03:00
abigailgold
00f9c16863
Support additional use cases for data ( #46 )
...
* Make ART black box classifier not apply preprocessing to data
* Add option to store predictions (in addition to x,y) in Dataset and Data classes
2022-07-11 14:28:09 +03:00
Shlomit Shachor
e25e58b253
enhance calculation of nb classes + tests ( #45 )
...
* update get_nb_classes method to handle 1-hot and scalar input
2022-07-05 11:32:17 +03:00
olasaadi
07e64b1f86
fix
2022-07-04 12:58:35 +03:00
olasaadi
af7d615628
fix
2022-07-04 12:55:58 +03:00
natali
50317a8d67
fix for keras model check_and_transform_label_format requires nb_classes
2022-07-03 09:59:41 +03:00
abigailgold
c6eb553a9f
Blackbox predict method ( #43 )
...
* Support output probabilities
* Support black box classifier with predict method
* Update requirements (security alert #1 )
2022-06-30 18:23:53 +03:00
Shlomit Shachor
1c4b963add
Wrappers no train ( #40 )
...
1) Handle train None in Data
2) Update BB Classifier to handle None either for train or test (x or y)
2022-06-26 14:43:22 +03:00
olasaadi
21cba95a28
fix
2022-06-06 14:32:34 +03:00
olasaadi
c954f53ad7
fix
2022-06-06 14:02:40 +03:00
olasaadi
302d0c4b8c
update
2022-06-02 15:25:07 +03:00
olasaadi
a3fb68fb56
update
2022-05-30 12:52:32 +03:00
olasaadi
8de77f9afd
update
2022-05-30 11:52:47 +03:00
olasaadi
023f8764da
update
2022-05-30 11:51:22 +03:00
olasaadi
8459d6961f
fix
2022-05-23 13:35:09 +03:00
olasaadi
59d8b16bb4
fix
2022-05-23 12:49:38 +03:00
olasaadi
019f49861d
fix
2022-05-23 12:15:35 +03:00
olasaadi
e0385b0d04
score
2022-05-19 04:40:02 +03:00
olasaadi
7539ca0ead
save checkpoints
2022-05-19 04:29:55 +03:00
olasaadi
521c8ce041
fix
2022-05-17 16:57:21 +03:00
abigailgold
fe676fa426
New model wrappers ( #32 )
...
* keras wrapper + blackbox classifier wrapper (fix #7 )
* fix error in NCP calculation
* Update notebooks
* Fix #25 (incorrect attack_feature indexes for social feature in notebook)
* Consistent naming of internal parameters
2022-05-12 15:44:29 +03:00
olasaadi
f484135d84
add classes and implement some functions
2022-05-08 13:50:58 +03:00
abigailgold
fd6be8e778
Documentation updates ( #29 )
...
* Bump version to 0.1.0 (breaking changes to some APIs)
* Update documentation
* Update requirements
* gitignore
2022-05-02 11:46:18 +03:00
abigailgold
2b2dab6bef
Data and Model wrappers ( #26 )
...
* Squashed commit of wrappers:
Wrapper minimizer
* apply dataset wrapper on minimizer
* apply changes on minimization notebook
* add black_box_access and unlimited_queries params
Dataset wrapper anonymizer
Add features_names to ArrayDataset
and allow providing features names in QI and Cat features not just indexes
update notebooks
categorical features and QI passed by indexes
dataset include feature names and is_pandas param
add pytorch Dataset
Remove redundant code.
Use data wrappers in model wrapper APIs.
add generic dataset components
Create initial version of wrappers for models
* Fix handling of categorical features
2022-04-27 12:33:27 +03:00
ABIGAIL GOLDSTEEN
fb2413c4aa
Fix boolean property return types
2022-04-19 15:24:14 +03:00
Ola Saadi
ac5d82aab6
Wrapper minimizer ( #20 )
...
* apply dataset wrapper on minimizer
* apply changes on minimization notebook
* add black_box_access and unlimited_queries params
2022-04-18 13:14:49 +03:00
abigailt
45cc9180b8
Add more to wrappers
2022-03-15 11:42:57 +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
ABIGAIL GOLDSTEEN
b0c6c4d28e
Create initial version of wrappers for models ( #1 )
...
* New wrapper classes for models
2022-02-10 15:36:41 +02:00