Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions privacy_guard/analysis/mia/analysis_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,13 @@ class AnalysisNodeOutput(BaseAnalysisOutput):
tpr_target (float): Target TPR used for computing epsilon.
"""

# Empirical epsilons
# Empirical epsilons and AUC
eps: float
eps_lb: float
auc: float
auc_ci: List[float]

# Other results
eps_fpr_max_ub: float
eps_fpr_lb: List[float]
eps_fpr_ub: List[float]
Expand All @@ -67,11 +71,9 @@ class AnalysisNodeOutput(BaseAnalysisOutput):
eps_max_lb: List[float]
eps_max_ub: List[float]
eps_cp: float
# Accuracy and AUC
# Accuracy
accuracy: float
accuracy_ci: List[float]
auc: float
auc_ci: List[float]
# Dataset sizes
data_size: dict[str, int]
# TPR target and index (only set when custom tpr_target is provided)
Expand Down
Loading