forked from 626_privacy/tensorflow_privacy
fix max_auc for summary without slices
Before: shows the AUC of the result with the max attacker advantage Expected and fixed: shows the AUC of the result with max AUC
This commit is contained in:
parent
c12a7acd9d
commit
042a33a008
1 changed files with 1 additions and 1 deletions
|
@ -678,7 +678,7 @@ class AttackResults:
|
||||||
summary = []
|
summary = []
|
||||||
|
|
||||||
# Summary over all slices
|
# Summary over all slices
|
||||||
max_auc_result_all = self.get_result_with_max_attacker_advantage()
|
max_auc_result_all = self.results.get_result_with_max_auc()
|
||||||
summary.append('Best-performing attacks over all slices')
|
summary.append('Best-performing attacks over all slices')
|
||||||
summary.append(
|
summary.append(
|
||||||
' %s (with %d training and %d test examples) achieved an AUC of %.2f on slice %s'
|
' %s (with %d training and %d test examples) achieved an AUC of %.2f on slice %s'
|
||||||
|
|
Loading…
Reference in a new issue