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
↓ 3 callers
Method
clear
aivalut/src/ml/logisticregression.h:53
↓ 3 callers
Function
client
aivalut/src/main.cpp:88
↓ 3 callers
Method
decrypt2float
src/aijack/defense/paillier/src/paillier.h:465
↓ 3 callers
Function
default_local_train_for_client
( self, local_epoch, criterion, trainloader, optimizer )
src/aijack/utils/utils.py:10
↓ 3 callers
Method
del
aivalut/src/utils/bptree.h:65
↓ 3 callers
Method
distribute
Distribute the current global model to each client. Args: force_send_model_state_dict (bool, optional): If True, send the global
src/aijack/collaborative/fedavg/server.py:132
↓ 3 callers
Method
download
Download the new global model
src/aijack/collaborative/fedavg/client.py:91
↓ 3 callers
Method
fit
aivalut/src/ml/logisticregression.h:125
↓ 3 callers
Function
gaus_delta_term
Calculate the Gaussian delta term. Args: delta (float): Delta value. Returns: float: Gaussian delta term.
src/aijack/defense/crobustness/pixeldp.py:26
↓ 3 callers
Function
get_epsilon_of_fedmd_nfdp
Return epsilon of FedMD-NFDP Args: n (int): training set size k (int): sampling size replacement (bool, optional): sampli
src/aijack/collaborative/fedmd/nfdp.py:4
↓ 3 callers
Method
get_grad
src/aijack/collaborative/tree/xgboost/loss.h:95
↓ 3 callers
Method
get_hess
src/aijack/collaborative/tree/xgboost/loss.h:121
↓ 3 callers
Function
get_k_of_fedmd_nfdp
Return k of FedMD-NFDP Args: epsilon (float): epsilon n (int): training set size replacement (bool, optional): sampling w
src/aijack/collaborative/fedmd/nfdp.py:38
↓ 3 callers
Method
get_loss
src/aijack/collaborative/tree/xgboost/loss.h:71
↓ 3 callers
Method
get_num_row
* @brief Get the number of rows * * @return size_t */
src/aijack/defense/kanonymity/core/dataframe.h:149
↓ 3 callers
Method
greedy_search_split
src/aijack/collaborative/tree/secureboost/party.h:23
↓ 3 callers
Method
hash
aivalut/src/storage/bufpool.h:23
↓ 3 callers
Method
insert_categorical
* @brief Inserts a categorical value * * @param column * @param value */
src/aijack/defense/kanonymity/core/dataframe.h:127
↓ 3 callers
Method
insert_lookup_table
src/aijack/collaborative/tree/core/party.h:153
↓ 3 callers
Method
is_left
src/aijack/collaborative/tree/core/party.h:99
↓ 3 callers
Method
local_score
Returns the local performance of each clients. Returns: Dict[str, int]: performance of global model and local models
src/aijack/collaborative/core/api.py:109
↓ 3 callers
Method
local_train
(self, epoch=1, public=True)
src/aijack/collaborative/fedmd/api.py:228
↓ 3 callers
Method
max_load_factor
src/aijack/defense/tsl/robin_hash.h:1074
↓ 3 callers
Method
min_load_factor
src/aijack/defense/tsl/robin_hash.h:1072
↓ 3 callers
Method
mul
(input, other)
src/aijack/defense/paillier/torch_wrapper.py:91
↓ 3 callers
Function
ovr_roc_auc_score
aivalut/src/ml/metrics.h:68
↓ 3 callers
Function
roc_auc_score
aivalut/src/ml/metrics.h:34
↓ 3 callers
Method
set_as_last_bucket
src/aijack/defense/tsl/robin_hash.h:279
↓ 3 callers
Method
set_type
aivalut/src/storage/data.pb.h:510
↓ 3 callers
Method
size
src/aijack/defense/tsl/robin_map.h:225
↓ 3 callers
Method
split_rows
src/aijack/collaborative/tree/core/party.h:127
↓ 3 callers
Method
step
(self)
src/aijack/defense/dp/manager/adadps.py:168
↓ 3 callers
Method
swap_with_value_in_bucket
src/aijack/defense/tsl/robin_hash.h:296
↓ 3 callers
Method
train
(self)
src/aijack/collaborative/splitnn/api.py:57
↓ 3 callers
Method
update_from_gradients
Update the global model with the local gradients.
src/aijack/collaborative/fedavg/server.py:100
↓ 3 callers
Method
update_from_parameters
Update the global model with the local model parameters.
src/aijack/collaborative/fedavg/server.py:117
↓ 3 callers
Method
upload_gradients
Upload the local gradients
src/aijack/collaborative/fedavg/client.py:78
↓ 3 callers
Function
xgboost_compute_weight
src/aijack/collaborative/tree/xgboost/utils.h:29
↓ 2 callers
Function
B
(el)
src/aijack/defense/dp/manager/rdp.py:126
↓ 2 callers
Function
DeserializeTuple
aivalut/src/storage/tuple.h:77
↓ 2 callers
Method
FindGreaterEq
aivalut/src/utils/bptree.h:423
↓ 2 callers
Method
FindLessEq
aivalut/src/utils/bptree.h:460
↓ 2 callers
Function
GetDescriptor
aivalut/src/storage/data.pb.h:128
↓ 2 callers
Method
Has
aivalut/src/utils/lru.h:31
↓ 2 callers
Function
LoadCatalog
aivalut/src/storage/catalog.h:42
↓ 2 callers
Method
ReadIndex
aivalut/src/storage/storage.h:68
↓ 2 callers
Method
SerializeToString
aivalut/src/utils/bptree.h:532
↓ 2 callers
Function
SerializeTuple
aivalut/src/storage/tuple.h:52
↓ 2 callers
Method
Terminate
aivalut/src/core/db.h:123
↓ 2 callers
Function
TupleIsUnused
aivalut/src/storage/tuple.h:172
↓ 2 callers
Function
_adaptive_distillation_loss
(y_pred_1, y_pred_2, task_loss_1, task_loss_2)
src/aijack/collaborative/fedkd/client.py:6
↓ 2 callers
Function
_apply_clip_coef
(opt, clip_coef)
src/aijack/defense/dp/manager/dpoptimizer.py:22
↓ 2 callers
Function
_calculate_clip_coef
(opt)
src/aijack/defense/dp/manager/dpoptimizer.py:11
↓ 2 callers
Function
_clear_accumulated_grads
(opt)
src/aijack/defense/dp/manager/dpoptimizer.py:4
↓ 2 callers
Method
_delta_q
Calculate deviation of q Q = yy.T * K denotes the label - annotated version of K, and α denotes the SVM’s dual variables corresp
src/aijack/attack/poison/poison_attack.py:65
↓ 2 callers
Method
_internal_data_size
repeated .storage.TupleData data = 3;
aivalut/src/storage/data.pb.h:681
↓ 2 callers
Method
_internal_tof
aivalut/src/storage/data.pb.h:620
↓ 2 callers
Function
_log_e
(x, y, sigma)
src/aijack/defense/dp/manager/utils.py:69
↓ 2 callers
Function
_log_erfc
src/aijack/defense/dp/core/utils.cpp:153
↓ 2 callers
Function
_log_s
(x, log_t, log_e, sigma)
src/aijack/defense/dp/manager/utils.py:73
↓ 2 callers
Function
_log_sub
src/aijack/defense/dp/core/utils.cpp:132
↓ 2 callers
Function
_log_sub
Subtract two numbers in the log space. Answer must be non-negative.
src/aijack/defense/dp/manager/utils.py:16
↓ 2 callers
Function
_log_t
(log_coef, x, y, sampling_rate)
src/aijack/defense/dp/manager/utils.py:65
↓ 2 callers
Method
_preprocess_local_gradients
(self, uploaded_grad)
src/aijack/collaborative/fedavg/server.py:87
↓ 2 callers
Function
_privatize_lot_grads
(opt)
src/aijack/defense/dp/manager/dpoptimizer.py:29
↓ 2 callers
Function
_setup_attack
Initializes the image and label, and set the optimizer Args: received_gradients: a list of gradients received from the client bat
src/aijack/attack/inversion/utils/utils.py:58
↓ 2 callers
Method
_setup_closure
Returns a closure function for the optimizer Args: optimizer (torch.optim.Optimizer): an instance of the optimizer fa
src/aijack/attack/inversion/gradientinversion.py:268
↓ 2 callers
Method
_show_img
(self, x)
src/aijack/attack/inversion/mi_face.py:109
↓ 2 callers
Method
_simple_aggregation
Aggregate the received logits with SA (calculating average)
src/aijack/collaborative/dsfl/server.py:112
↓ 2 callers
Method
_step1
Performs step 1 of the Hungarian algorithm. Subtracts the minimum value of each row from each element of the row, and then su
src/aijack/defense/debugging/assertions/utils.py:16
↓ 2 callers
Method
action
(self)
src/aijack/collaborative/fedmd/server.py:25
↓ 2 callers
Method
add
(input, other)
src/aijack/defense/paillier/torch_wrapper.py:65
↓ 2 callers
Method
anonymize
( self, df, quasiid_columns, sensitive_column, is_continuous_map,
src/aijack/defense/kanonymity/wrapper.py:44
↓ 2 callers
Method
approach_consensus
(self, consensus_optimizer)
src/aijack/collaborative/fedmd/client.py:62
↓ 2 callers
Function
assert_multibox
Assert the multi-box condition for a list of boxes. Args: boxes (list): A list of boxes. The format of each box is a tuple or list w
src/aijack/defense/debugging/assertions/assertions.py:37
↓ 2 callers
Method
attack
(self)
src/aijack/attack/base_attack.py:14
↓ 2 callers
Method
backward_gradient
(self, grads_outputs)
src/aijack/collaborative/splitnn/api.py:49
↓ 2 callers
Method
balanceL
aivalut/src/utils/bptree.h:68
↓ 2 callers
Method
balanceR
aivalut/src/utils/bptree.h:71
↓ 2 callers
Method
bucket_for_hash
src/aijack/defense/tsl/robin_hash.h:1133
↓ 2 callers
Method
bucket_hash_equal
src/aijack/defense/tsl/robin_hash.h:123
↓ 2 callers
Function
calc_first_term_of_general_upper_bound_of_rdp
(alpha, sampling_rate)
src/aijack/defense/dp/manager/rdp.py:179
↓ 2 callers
Method
calc_sum_grad_and_hess
src/aijack/collaborative/tree/secureboost/mpiparty.h:378
↓ 2 callers
Method
clear_and_shrink
src/aijack/defense/tsl/robin_hash.h:1346
↓ 2 callers
Function
client_query
aivalut/src/main.cpp:76
↓ 2 callers
Function
clopper_pearson_interval
Calculate the Clopper-Pearson confidence interval. Args: num_success (int): Number of successes. num_total (int): Total numb
src/aijack/defense/crobustness/pixeldp.py:11
↓ 2 callers
Method
compute
Computes the optimal assignment using the Hungarian algorithm. Args: mat (numpy.ndarray): The input matrix. Ret
src/aijack/defense/debugging/assertions/utils.py:141
↓ 2 callers
Method
compute_gain
src/aijack/collaborative/tree/secureboost/node.h:111
↓ 2 callers
Method
decrease_exponent
src/aijack/defense/paillier/src/paillier.h:213
↓ 2 callers
Method
decrypt2int
src/aijack/defense/paillier/src/paillier.h:455
↓ 2 callers
Method
distribute
(self)
src/aijack/collaborative/fedavg/server.py:174
↓ 2 callers
Function
dotProduct
aivalut/src/ml/conjgrad.h:11
↓ 2 callers
Method
download
(self)
src/aijack/collaborative/fedavg/client.py:159
↓ 2 callers
Method
download
(self, predicted_values_of_server)
src/aijack/collaborative/fedmd/client.py:54
↓ 2 callers
Method
emplace
src/aijack/defense/tsl/robin_set.h:243
↓ 2 callers
Function
except_flicker
Check for flickering between the current frame and previous frames. Args: frames (list): A list of frames. boxes_of_frames (
src/aijack/defense/debugging/assertions/assertions.py:154
↓ 2 callers
Function
extract_values
aivalut/src/core/executor.h:246
↓ 2 callers
Method
fit
train an attacl model with the result of shadow models Args: shadow_result (dict): key is each class
src/aijack/attack/membership/utils.py:119
↓ 2 callers
Method
fit_transform
Trains shadow models and get prediction of shadow models and membership label of each prediction for each class Args:
src/aijack/attack/membership/utils.py:19
↓ 2 callers
Function
generate_probably_prime
src/aijack/defense/paillier/src/prime.h:193
← previous
next →
101–200 of 1,327, ranked by callers