Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TrustAIResearch/MLHospital
/ functions
Functions
225 in github.com/TrustAIResearch/MLHospital
⨍
Functions
225
◇
Types & classes
54
Method
forward
(self, x)
mlh/attacks/membership_inference/attacks.py:59
Method
forward
(self, x)
mlh/attacks/membership_inference/attacks.py:77
Method
forward
(self, x)
mlh/attacks/attribute_inference/attacks.py:55
Method
forward
(self, x)
mlh/attacks/attribute_inference/attacks.py:73
Method
forward
(self, x)
mlh/attacks/attribute_inference/attacks.py:336
Method
forward
(self, x)
mlh/examples/aia_example.py:91
Method
forward
(self, x)
mlh/models/utils.py:43
Method
forward
(self, x)
mlh/models/utils.py:61
Method
forward
Forward the model.
mlh/models/membership_inference.py:68
Method
forward
(self, x)
mlh/models/attack_model.py:36
Method
forward
(self, x1, x2)
mlh/models/attack_model.py:60
Method
forward
(self, x, l)
mlh/models/attack_model.py:108
Method
forward
(self, original_label, output, gradient, embedding, loss)
mlh/models/attack_model.py:165
Method
get_data_loader
(self)
mlh/data_preprocessing/data_loader.py:278
Method
get_inference_dataset
(self, train_transform, test_transform)
mlh/data_preprocessing/data_loader.py:135
Function
get_target_shadow_dataset
(dataset, target_size=None, shadow_size=None)
mlh/data_preprocessing/dataset_preprocessing.py:81
Method
parse_info_whitebox
(self, dataloader, layers)
mlh/attacks/membership_inference/attacks.py:105
Function
perform_analysis_torch
Performs PATE analysis on predictions from teachers and combined predictions for student. Args: preds: a torch tensor of dim (num_te
mlh/defenses/pate.py:460
Function
prediction
(x)
mlh/attacks/membership_inference/attacks.py:661
Function
prepare_inference_dataset
(dataset)
mlh/data_preprocessing/dataset_preprocessing.py:104
Function
split_dataset
(dataset, parts=3, part_size=None)
mlh/data_preprocessing/dataset_preprocessing.py:92
Method
train
(self, train_loader, test_loader)
mlh/defenses/membership_inference/Normal.py:118
Method
train
(self, train_loader, test_loader)
mlh/defenses/membership_inference/LabelSmoothing.py:119
Method
train
(self, train_loader, train_loader_ordered, inference_loader_ordered, test_loader, starting_index, inference_so
mlh/defenses/membership_inference/MixupMMD.py:181
Method
train
(self, train_loader, test_loader)
mlh/defenses/membership_inference/DPSGD.py:86
← previous
201–225 of 225, ranked by callers