-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support regression models in several inference attacks #1272
Support regression models in several inference attacks #1272
Conversation
Codecov Report
@@ Coverage Diff @@
## dev_1.8.0 #1272 +/- ##
==============================================
- Coverage 81.30% 65.83% -15.48%
==============================================
Files 227 229 +2
Lines 19300 19488 +188
Branches 3502 3539 +37
==============================================
- Hits 15691 12829 -2862
- Misses 2309 5580 +3271
+ Partials 1300 1079 -221
|
This pull request introduces 5 alerts and fixes 1 when merging 4129a2f into e637029 - view on LGTM.com new alerts:
fixed alerts:
|
This pull request introduces 5 alerts and fixes 1 when merging 81cb991 into e637029 - view on LGTM.com new alerts:
fixed alerts:
|
art/attacks/inference/attribute_inference/true_label_baseline.py
Outdated
Show resolved
Hide resolved
art/attacks/inference/attribute_inference/true_label_baseline.py
Outdated
Show resolved
Hide resolved
@@ -35,6 +35,7 @@ | |||
ClassGradientsMixin, | |||
ClassifierMixin, | |||
) | |||
from art.estimators.regression.scikitlearn import ScikitlearnDecisionTreeRegressor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@beat-buesser Are you sure that ScikitlearnDecisionTreeRegressor should be used within the get_trees method of ScikitlearnGradientBoostingClassifier?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abigailgold Yes, I think that should be correct. It looks like the trees of the ensemble in sklearn.ensemble.GradientBoostingClassifier
are of type DecisionTreeRegressor
in https://github.com/scikit-learn/scikit-learn/blob/2beed55847ee70d363bdbfe14ee4401438fba057/sklearn/ensemble/_gb.py#L195
81cb991
to
868f965
Compare
This pull request introduces 5 alerts and fixes 1 when merging 868f965 into e637029 - view on LGTM.com new alerts:
fixed alerts:
|
868f965
to
edbc1af
Compare
This pull request introduces 5 alerts and fixes 1 when merging edbc1af into e637029 - view on LGTM.com new alerts:
fixed alerts:
|
This pull request introduces 5 alerts and fixes 1 when merging 434dbf6 into e637029 - view on LGTM.com new alerts:
fixed alerts:
|
434dbf6
to
961d1ef
Compare
This pull request introduces 5 alerts and fixes 1 when merging 961d1ef into a3525e9 - view on LGTM.com new alerts:
fixed alerts:
|
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
…model Signed-off-by: GalHorowitz <gal@galhorowitz.com>
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
…tack Signed-off-by: GalHorowitz <gal@galhorowitz.com>
… regression model Signed-off-by: GalHorowitz <gal@galhorowitz.com>
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
…yleDecisionTree Signed-off-by: GalHorowitz <gal@galhorowitz.com>
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
Signed-off-by: GalHorowitz <gal@galhorowitz.com>
961d1ef
to
7b84061
Compare
This pull request introduces 5 alerts and fixes 2 when merging 7b84061 into a3525e9 - view on LGTM.com new alerts:
fixed alerts:
|
This pull request introduces 5 alerts and fixes 2 when merging 7863d30 into bc6aa61 - view on LGTM.com new alerts:
fixed alerts:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @GalHorowitz Thank you very much for this great pull request adding support for regression models in inference attacks!
Description
art.estimators.regression
Type of change
Please check all relevant options.
Testing
All unit tests pass.
Test Configuration:
Checklist