MCPcopy Create free account
hub / github.com/TrustAIResearch/MLHospital / mia_example.py

File mia_example.py

mlh/examples/mia_example.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import torchvision
2from mlh.attacks.membership_inference.attacks import AttackDataset, BlackBoxMIA, MetricBasedMIA, LabelOnlyMIA
3from tqdm import tqdm
4import torch

Callers

nothing calls this directly

Calls 10

GetDataLoaderClass · 0.90
LabelOnlyMIAClass · 0.90
AttackDatasetClass · 0.90
BlackBoxMIAClass · 0.90
MetricBasedMIAClass · 0.90
get_data_supervisedMethod · 0.80
InferMethod · 0.80
parse_argsFunction · 0.70
get_target_modelFunction · 0.70
evalMethod · 0.45

Tested by

no test coverage detected