Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Koukyosyumei/AIJack
/ functions
Functions
1,327 in github.com/Koukyosyumei/AIJack
⨍
Functions
1,327
◇
Types & classes
242
↓ 1 callers
Method
eq
aivalut/src/compiler/parse.h:89
↓ 1 callers
Method
eval
(self)
src/aijack/collaborative/splitnn/api.py:61
↓ 1 callers
Method
evaluation
(self, i, logging)
src/aijack/collaborative/fedmd/api.py:122
↓ 1 callers
Method
executeMain
aivalut/src/core/executor.h:751
↓ 1 callers
Function
extended_euclidean
src/aijack/defense/paillier/src/extended_euclidean.h:25
↓ 1 callers
Method
extract_intermidiate_gradient
(self, outputs)
src/aijack/attack/labelleakage/normattack.py:29
↓ 1 callers
Method
fetchPage
aivalut/src/storage/disk.h:17
↓ 1 callers
Method
find
src/aijack/defense/tsl/robin_map.h:488
↓ 1 callers
Method
find
src/aijack/defense/tsl/robin_hash.h:999
↓ 1 callers
Method
find_split_per_party
src/aijack/collaborative/tree/secureboost/node.h:117
↓ 1 callers
Method
find_split_per_party
src/aijack/collaborative/tree/xgboost/node.h:150
↓ 1 callers
Method
fit
(self, X, y)
src/aijack/utils/utils.py:131
↓ 1 callers
Method
fit
(self, X, y)
src/aijack/attack/membership/membership_inference.py:25
↓ 1 callers
Method
forward
Send intermidiate tensor to the server Args: x (torch.Tensor): the input data Returns: intermidiate_to_next_
src/aijack/collaborative/splitnn/client.py:11
↓ 1 callers
Method
forward
(self, x)
src/aijack/collaborative/splitnn/api.py:37
↓ 1 callers
Method
forward_eval
(self, x)
src/aijack/defense/crobustness/pixeldp.py:223
↓ 1 callers
Method
forward_train
(self, x)
src/aijack/defense/crobustness/pixeldp.py:220
↓ 1 callers
Method
getInfluence
aivalut/src/ml/rain.h:38
↓ 1 callers
Function
get_certified_robustness_size_argmax
Calculate the maximum certified robustness size. Args: counts (torch.Tensor): Count of predictions. eta (float): Eta value.
src/aijack/defense/crobustness/pixeldp.py:118
↓ 1 callers
Method
get_data_categorical
src/aijack/defense/kanonymity/core/dataframe.h:51
↓ 1 callers
Method
get_data_continuous
src/aijack/defense/kanonymity/core/dataframe.h:56
↓ 1 callers
Method
get_final_partitions
(self)
src/aijack/defense/kanonymity/wrapper.py:41
↓ 1 callers
Method
get_grad_w
aivalut/src/ml/loss.h:141
↓ 1 callers
Method
get_grad_w_ewise
aivalut/src/ml/loss.h:79
↓ 1 callers
Method
get_hess_w
aivalut/src/ml/loss.h:109
↓ 1 callers
Function
get_intermediate_outputs
(model, data, module, force_relu=True)
src/aijack/defense/debugging/neuroncoverage/neuroncoverage.py:61
↓ 1 callers
Function
get_layer_output_sizes
(model, layer_dict, data)
src/aijack/defense/debugging/neuroncoverage/neuroncoverage.py:40
↓ 1 callers
Function
get_maximum_L_gaussian
Calculate the maximum L value for Gaussian mechanism. Args: p_max_lb (float): Lower bound of the maximum probability. p_sec_
src/aijack/defense/crobustness/pixeldp.py:57
↓ 1 callers
Function
get_maximum_L_laplace
Calculate the maximum L value for Laplace mechanism. Args: lower_bound (float): Lower bound of the confidence interval. uppe
src/aijack/defense/crobustness/pixeldp.py:39
↓ 1 callers
Method
get_min_num_row
* @brief Get the minmum number of rows * * @param max_row * @return size_t */
src/aijack/defense/kanonymity/core/dataframe.h:167
↓ 1 callers
Function
get_model_layers
(model, cross_section_size=0)
src/aijack/defense/debugging/neuroncoverage/neuroncoverage.py:26
↓ 1 callers
Function
get_nunique
* @brief Gets the number of unique object * * @param xs * @return size_t */
src/aijack/defense/kanonymity/core/utils.h:59
↓ 1 callers
Method
get_params_of_p_z_given_x
Compute parameters of p(z|x). Args: x (torch.Tensor): Input tensor. Returns: tuple: Tuple containin
src/aijack/defense/mid/nn.py:27
↓ 1 callers
Method
get_party_id
src/aijack/collaborative/tree/xgboost/node.h:126
↓ 1 callers
Method
get_record_id
src/aijack/collaborative/tree/xgboost/node.h:128
↓ 1 callers
Function
get_thresholds_idxs
aivalut/src/ml/metrics.h:21
↓ 1 callers
Function
get_thresholds_idxs
src/aijack/collaborative/tree/utils/metric.h:23
↓ 1 callers
Method
get_val
src/aijack/collaborative/tree/xgboost/node.h:130
↓ 1 callers
Method
greedy_search_split
src/aijack/collaborative/tree/xgboost/party.h:47
↓ 1 callers
Method
greedy_search_split_encrypt
src/aijack/collaborative/tree/secureboost/party.h:133
↓ 1 callers
Method
group_attack
Multiple simultaneous attacks with different random states Args: received_gradients: the list of gradients received from the clie
src/aijack/attack/inversion/gradientinversion.py:400
↓ 1 callers
Function
group_consistency
Computes the group consistency loss between an input and a group of inputs. Args: x (torch.Tensor): The input tensor. group_x (li
src/aijack/attack/inversion/utils/regularization.py:33
↓ 1 callers
Method
hash_key
src/aijack/defense/tsl/robin_hash.h:1124
↓ 1 callers
Method
insert
src/aijack/defense/tsl/robin_map.h:233
↓ 1 callers
Function
insert_anonymized_quasiid
* @brief Anonymizes the subset of the dataframe * * @param df * @param anonymized_df * @param indices * @param column * @param is_continuous_fla
src/aijack/defense/kanonymity/core/anonymizer.h:39
↓ 1 callers
Method
insert_categorical_column
* @brief Insert a categorical column * * @param column * @param values */
src/aijack/defense/kanonymity/core/dataframe.h:138
↓ 1 callers
Method
insert_continuous_column
* @brief Insert a continuous column * * @param column * @param values */
src/aijack/defense/kanonymity/core/dataframe.h:116
↓ 1 callers
Method
insert_value_on_rehash
src/aijack/defense/tsl/robin_hash.h:1357
↓ 1 callers
Method
is_leaf
src/aijack/collaborative/tree/secureboost/node.h:278
↓ 1 callers
Function
kArgmax
aivalut/src/core/executor.h:25
↓ 1 callers
Function
label_matching
Computes the label matching loss between predicted and target labels. Args: pred (torch.Tensor): Predicted labels. label (torch.T
src/aijack/attack/inversion/utils/regularization.py:18
↓ 1 callers
Method
last_bucket
src/aijack/defense/tsl/robin_hash.h:277
↓ 1 callers
Function
lbeta
src/aijack/defense/dp/core/utils.cpp:21
↓ 1 callers
Method
loadMLModel
aivalut/src/storage/storage.h:111
↓ 1 callers
Method
local_train
(self)
src/aijack/collaborative/splitnn/api.py:17
↓ 1 callers
Method
local_train
(self)
src/aijack/collaborative/core/api.py:11
↓ 1 callers
Method
local_train
(self, com_cnt)
src/aijack/collaborative/fedavg/api.py:129
↓ 1 callers
Function
make_root
src/aijack/collaborative/tree/secureboost/tree.h:9
↓ 1 callers
Function
make_root_node
src/aijack/collaborative/tree/xgboost/tree.h:9
↓ 1 callers
Method
matmul
(x, other)
src/aijack/defense/paillier/torch_wrapper.py:102
↓ 1 callers
Method
max_size
src/aijack/defense/tsl/robin_hash.h:723
↓ 1 callers
Function
mib_loss
Implementation of MID loss for NN proposed in https://arxiv.org/abs/2009.05241 Args: y (torch.Tensor): ground-truth label sampled
src/aijack/defense/mid/loss.py:19
↓ 1 callers
Function
miller_rabin_primality_test
src/aijack/defense/paillier/src/prime.h:58
↓ 1 callers
Function
minMaxNormalize
aivalut/src/ml/logisticregression.h:7
↓ 1 callers
Method
mpi_distribute
(self)
src/aijack/collaborative/fedmd/server.py:71
↓ 1 callers
Method
mpi_initialize
(self)
src/aijack/collaborative/fedavg/client.py:164
↓ 1 callers
Method
mpi_receive
(self)
src/aijack/collaborative/fedmd/server.py:61
↓ 1 callers
Method
mpi_receive_local_logits
(self)
src/aijack/collaborative/fedmd/server.py:64
↓ 1 callers
Method
mpi_upload
(self)
src/aijack/collaborative/fedmd/client.py:90
↓ 1 callers
Method
mpi_upload_logits
(self, destination_id=0)
src/aijack/collaborative/fedmd/client.py:93
↓ 1 callers
Function
nearly_contains
Check if box_1 nearly contains box_2 with a given epsilon value. Args: box_1 (tuple|list): The coordinates of the first box in the f
src/aijack/defense/debugging/assertions/assertions.py:20
↓ 1 callers
Method
newTxid
aivalut/src/storage/tran.h:45
↓ 1 callers
Method
normalize
aivalut/src/ml/logisticregression.h:72
↓ 1 callers
Function
parse_args
aivalut/src/main.cpp:18
↓ 1 callers
Method
planMain
aivalut/src/core/plan.h:152
↓ 1 callers
Function
positive_mod
src/aijack/defense/paillier/src/paillier.h:19
↓ 1 callers
Method
predict
(self, X)
src/aijack/utils/utils.py:167
↓ 1 callers
Method
predict_proba
get probabilities of whether the given prediction came from training data or not Args: pred (torch.Tensor): predicted
src/aijack/attack/membership/membership_inference.py:69
↓ 1 callers
Function
psnr
Calculate the peak signal-to-noise ratio (PSNR) between two images. Args: img_1 (numpy.ndarray): The first image. img_2 (num
src/aijack/defense/debugging/assertions/assertions.py:76
↓ 1 callers
Method
raw_encrypt
src/aijack/defense/paillier/src/paillier.h:392
↓ 1 callers
Function
readFileLines
aivalut/src/main.cpp:41
↓ 1 callers
Method
receive
(self)
src/aijack/collaborative/fedavg/server.py:162
↓ 1 callers
Method
receive_local_gradients
Receive local gradients
src/aijack/collaborative/fedavg/server.py:90
↓ 1 callers
Method
receive_local_gradients
(self)
src/aijack/collaborative/fedavg/server.py:165
↓ 1 callers
Method
receive_local_parameters
Receive local parameters
src/aijack/collaborative/fedavg/server.py:96
↓ 1 callers
Method
reserve
src/aijack/defense/tsl/robin_map.h:696
↓ 1 callers
Method
reset_seed
(self, seed)
src/aijack/attack/inversion/gradientinversion_server.py:69
↓ 1 callers
Method
revert
Revert the local model state to the previous global model
src/aijack/collaborative/fedavg/client.py:85
↓ 1 callers
Method
revisit_phase
(self, logging)
src/aijack/collaborative/fedmd/api.py:109
↓ 1 callers
Method
revisit_phase
(self)
src/aijack/collaborative/fedmd/api.py:223
↓ 1 callers
Method
robust_greedy_search_split
src/aijack/collaborative/tree/xgboost/party.h:248
↓ 1 callers
Method
robust_split_rows
src/aijack/collaborative/tree/xgboost/party.h:165
↓ 1 callers
Method
run
(self)
src/aijack/collaborative/dsfl/api.py:62
↓ 1 callers
Method
run_as_passive
src/aijack/collaborative/tree/secureboost/mpiparty.h:399
↓ 1 callers
Method
sampling_from_encoder
Sample from encoder distribution. Args: mu (torch.Tensor): Mean of the distribution. sigma (torch.Tensor): S
src/aijack/defense/mid/nn.py:46
↓ 1 callers
Method
save
aivalut/src/ml/logisticregression.h:90
↓ 1 callers
Function
scale
(out, dim=-1, rmax=1, rmin=0)
src/aijack/defense/debugging/neuroncoverage/neuroncoverage.py:7
↓ 1 callers
Method
score
(self, X, y)
src/aijack/utils/utils.py:170
↓ 1 callers
Method
self_evaluation_on_the_public_dataset
Execute self evaluation on the public dataset Args: idxs (torch.Tensor): indexs of x x (torch.Tensor): input data
src/aijack/collaborative/fedgems/server.py:53
↓ 1 callers
Function
server
aivalut/src/main.cpp:111
← previous
next →
401–500 of 1,327, ranked by callers