FedGraph
Getting Started
Installation
Federated Graph Learning: A Tutorial
Set Up the Ray Cluster
API References
Data Process
Federated Graph Methods
GNN Models
Server Class
Training Function
Trainer Class
Monitor Class
Utility Functions for Graph Classification
Utility Functions for Link Prediction
Utility Functions for Node Classification
Additional Information
Cite
Reference
FedGraph
Index
Index
A
|
B
|
C
|
D
|
E
|
F
|
G
|
I
|
L
|
M
|
N
|
O
|
P
|
R
|
S
|
T
|
U
|
V
|
W
|
Z
A
accuracy() (in module fedgraph.train_func)
add_pretrain_comm_cost() (fedgraph.monitor_class.Monitor method)
add_train_comm_cost() (fedgraph.monitor_class.Monitor method)
aggregate_clusterwise() (fedgraph.server_class.Server_GC method)
aggregate_encrypted_feature_sums() (fedgraph.server_class.Server method)
aggregate_encrypted_params() (fedgraph.server_class.Server method)
aggregate_weights() (fedgraph.server_class.Server_GC method)
AggreGCN (class in fedgraph.gnn_models)
AggreGCN_Arxiv (class in fedgraph.gnn_models)
args (fedgraph.trainer_class.Trainer_GC attribute)
B
broadcast_params() (fedgraph.server_class.Server method)
C
cache_model() (fedgraph.server_class.Server_GC method)
cache_weights() (fedgraph.trainer_class.Trainer_GC method)
calculate_traveled_user_edge_indices() (fedgraph.trainer_class.Trainer_LP method)
calculate_weighted_weight() (fedgraph.trainer_class.Trainer_GC method)
check_data_files_existance() (in module fedgraph.utils_lp)
collect_memory() (fedgraph.monitor_class.Monitor method)
community_partition_non_iid() (in module fedgraph.utils_nc)
compute_max_update_norm() (fedgraph.server_class.Server_GC method)
compute_mean_norm() (fedgraph.trainer_class.Trainer_GC method)
compute_mean_update_norm() (fedgraph.server_class.Server_GC method)
compute_pairwise_distances() (fedgraph.server_class.Server_GC method)
compute_pairwise_similarities() (fedgraph.server_class.Server_GC method)
compute_update_norm() (fedgraph.trainer_class.Trainer_GC method)
conv1 (fedgraph.gnn_models.GNN_base attribute)
conv2 (fedgraph.gnn_models.GNN_base attribute)
conv_dWs_norm (fedgraph.trainer_class.Trainer_GC attribute)
conv_grads_norm (fedgraph.trainer_class.Trainer_GC attribute)
conv_weights_Norm (fedgraph.trainer_class.Trainer_GC attribute)
convert_time() (in module fedgraph.utils_lp)
convert_to_node_attributes() (in module fedgraph.utils_gc)
convert_to_node_degree_features() (in module fedgraph.utils_gc)
D
data_loader() (in module fedgraph.data_process)
data_loader_GC() (in module fedgraph.data_process)
data_loader_GC_multiple() (in module fedgraph.data_process)
data_loader_GC_single() (in module fedgraph.data_process)
data_loader_NC() (in module fedgraph.data_process)
dataloader (fedgraph.trainer_class.Trainer_GC attribute)
decrypt_feature_sum() (fedgraph.trainer_class.Trainer_General method)
decryption_he() (in module fedgraph.utils_gc)
download_file_from_github() (in module fedgraph.data_process)
download_LPDataset() (in module fedgraph.utils_lp)
dropout (fedgraph.gnn_models.GIN attribute)
dW (fedgraph.trainer_class.Trainer_GC attribute)
E
encrypt_feature_sum() (fedgraph.trainer_class.Trainer_General method)
encryption_he() (in module fedgraph.utils_gc)
F
fedavg() (fedgraph.server_class.Server_LP method)
fedavg_he() (in module fedgraph.utils_gc)
fedgraph.data_process
module
fedgraph.federated_methods
module
fedgraph.gnn_models
module
fedgraph.monitor_class
module
fedgraph.server_class
module
fedgraph.train_func
module
fedgraph.trainer_class
module
fedgraph.utils_gc
module
fedgraph.utils_lp
module
fedgraph.utils_nc
module
forward() (fedgraph.gnn_models.AggreGCN method)
(fedgraph.gnn_models.AggreGCN_Arxiv method)
(fedgraph.gnn_models.GCN method)
(fedgraph.gnn_models.GCN_arxiv method)
(fedgraph.gnn_models.GCN_products method)
(fedgraph.gnn_models.GIN method)
(fedgraph.gnn_models.GNN_base method)
(fedgraph.gnn_models.GNN_LP method)
(fedgraph.gnn_models.SAGE_products method)
G
gc_avg_accuracy() (in module fedgraph.train_func)
GC_rand_split_chunk() (in module fedgraph.data_process)
GCN (class in fedgraph.gnn_models)
GCN_arxiv (class in fedgraph.gnn_models)
GCN_products (class in fedgraph.gnn_models)
gconv_names (fedgraph.trainer_class.Trainer_GC attribute)
generate_context() (in module fedgraph.utils_gc)
get_1hop_feature_sum() (in module fedgraph.utils_nc)
get_all_loss_accuray() (fedgraph.trainer_class.Trainer_General method)
get_avg_nodes_edges() (in module fedgraph.utils_gc)
get_conv_dWs_norm() (fedgraph.trainer_class.Trainer_GC method)
get_conv_grads_norm() (fedgraph.trainer_class.Trainer_GC method)
get_data() (in module fedgraph.utils_lp)
get_data_by_time_step() (in module fedgraph.utils_lp)
get_data_loaders_per_time_step() (in module fedgraph.utils_lp)
get_dW() (fedgraph.trainer_class.Trainer_GC method)
get_encrypted_local_feature_sum() (fedgraph.trainer_class.Trainer_General method)
get_encrypted_params() (fedgraph.server_class.Server method)
(fedgraph.trainer_class.Trainer_General method)
get_global_user_item_mapping() (in module fedgraph.utils_lp)
get_id() (fedgraph.trainer_class.Trainer_GC method)
get_in_comm_indexes() (in module fedgraph.utils_nc)
get_info() (fedgraph.trainer_class.Trainer_General method)
get_local_feature_sum() (fedgraph.trainer_class.Trainer_General method)
get_local_feature_sum_og() (fedgraph.trainer_class.Trainer_General method)
get_max_degree() (in module fedgraph.utils_gc)
get_model_parameter() (fedgraph.server_class.Server_LP method)
(fedgraph.trainer_class.Trainer_LP method)
get_model_size() (fedgraph.server_class.Server method)
(fedgraph.server_class.Server_GC method)
(fedgraph.server_class.Server_LP method)
get_name() (fedgraph.trainer_class.Trainer_GC method)
get_num_graph_labels() (in module fedgraph.utils_gc)
get_params() (fedgraph.trainer_class.Trainer_General method)
get_rank() (fedgraph.trainer_class.Trainer_General method)
get_start_end_time() (in module fedgraph.utils_lp)
get_stats() (in module fedgraph.utils_gc)
get_total_weight() (fedgraph.trainer_class.Trainer_GC method)
get_train_size() (fedgraph.trainer_class.Trainer_GC method)
get_train_test_data_at_current_time_step() (fedgraph.trainer_class.Trainer_LP method)
get_weights() (fedgraph.trainer_class.Trainer_GC method)
GIN (class in fedgraph.gnn_models)
gnn (fedgraph.gnn_models.GNN_LP attribute)
GNN_base (class in fedgraph.gnn_models)
GNN_LP (class in fedgraph.gnn_models)
grads_norm (fedgraph.trainer_class.Trainer_GC attribute)
graph_convs (fedgraph.gnn_models.GIN attribute)
I
id (fedgraph.trainer_class.Trainer_GC attribute)
increment_dir() (in module fedgraph.utils_nc)
init_model() (fedgraph.trainer_class.Trainer_General method)
init_time_end() (fedgraph.monitor_class.Monitor method)
init_time_start() (fedgraph.monitor_class.Monitor method)
intersect1d() (in module fedgraph.utils_nc)
item_emb (fedgraph.gnn_models.GNN_LP attribute)
L
label_dirichlet_partition() (in module fedgraph.utils_nc)
load_edge_csv() (in module fedgraph.utils_lp)
load_encrypted_feature_aggregation() (fedgraph.trainer_class.Trainer_General method)
load_encrypted_params() (fedgraph.trainer_class.Trainer_General method)
load_feature_aggregation() (fedgraph.trainer_class.Trainer_General method)
load_node_csv() (in module fedgraph.utils_lp)
load_trainer_data_from_hugging_face() (in module fedgraph.trainer_class)
local_test() (fedgraph.trainer_class.Trainer_GC method)
(fedgraph.trainer_class.Trainer_General method)
local_train() (fedgraph.trainer_class.Trainer_GC method)
loss() (fedgraph.gnn_models.GIN method)
LP_train_global_round() (in module fedgraph.federated_methods)
M
min_cut() (fedgraph.server_class.Server_GC method)
model (fedgraph.server_class.Server attribute)
(fedgraph.server_class.Server_GC attribute)
(fedgraph.trainer_class.Trainer_GC attribute)
model_cache (fedgraph.server_class.Server_GC attribute)
module
fedgraph.data_process
fedgraph.federated_methods
fedgraph.gnn_models
fedgraph.monitor_class
fedgraph.server_class
fedgraph.train_func
fedgraph.trainer_class
fedgraph.utils_gc
fedgraph.utils_lp
fedgraph.utils_nc
Monitor (class in fedgraph.monitor_class)
N
name (fedgraph.trainer_class.Trainer_GC attribute)
NC_load_data() (in module fedgraph.data_process)
NC_parse_index_file() (in module fedgraph.data_process)
nn1 (fedgraph.gnn_models.GIN attribute)
nnk (fedgraph.gnn_models.GIN attribute)
normalize() (in module fedgraph.utils_nc)
num_layers (fedgraph.gnn_models.GIN attribute)
num_of_trainers (fedgraph.server_class.Server attribute)
O
optimizer (fedgraph.trainer_class.Trainer_GC attribute)
P
post (fedgraph.gnn_models.GIN attribute)
pre (fedgraph.gnn_models.GIN attribute)
pred() (fedgraph.gnn_models.GNN_LP method)
prepare_params_for_encryption() (fedgraph.server_class.Server method)
pretrain_time_end() (fedgraph.monitor_class.Monitor method)
pretrain_time_start() (fedgraph.monitor_class.Monitor method)
print_comm_cost() (fedgraph.monitor_class.Monitor method)
R
random_sample_trainers() (fedgraph.server_class.Server_GC method)
relabel_adj() (fedgraph.trainer_class.Trainer_General method)
reset_parameters() (fedgraph.gnn_models.AggreGCN method)
(fedgraph.gnn_models.AggreGCN_Arxiv method)
(fedgraph.gnn_models.GCN method)
(fedgraph.gnn_models.GCN_arxiv method)
(fedgraph.gnn_models.GCN_products method)
(fedgraph.gnn_models.SAGE_products method)
reset_params() (fedgraph.trainer_class.Trainer_GC method)
run_fedgraph() (in module fedgraph.federated_methods)
run_fedgraph_enhanced() (in module fedgraph.federated_methods)
run_GC() (in module fedgraph.federated_methods)
run_GC_Fed_algorithm() (in module fedgraph.federated_methods)
run_GC_selftrain() (in module fedgraph.federated_methods)
run_GCFL_algorithm() (in module fedgraph.federated_methods)
run_LP() (in module fedgraph.federated_methods)
run_NC() (in module fedgraph.federated_methods)
run_NC_dp() (in module fedgraph.federated_methods)
run_NC_lowrank() (in module fedgraph.federated_methods)
S
SAGE_products (class in fedgraph.gnn_models)
save_all_trainers_data() (in module fedgraph.utils_nc)
save_trainer_data_to_hugging_face() (in module fedgraph.utils_nc)
Server (class in fedgraph.server_class)
Server_GC (class in fedgraph.server_class)
Server_LP (class in fedgraph.server_class)
set_model_parameter() (fedgraph.server_class.Server_LP method)
(fedgraph.trainer_class.Trainer_LP method)
set_stats_norms() (fedgraph.trainer_class.Trainer_GC method)
setdiff1d() (in module fedgraph.utils_nc)
setup_server() (in module fedgraph.utils_gc)
setup_trainers() (in module fedgraph.utils_gc)
split_data() (in module fedgraph.utils_gc)
T
test() (fedgraph.trainer_class.Trainer_LP method)
(in module fedgraph.train_func)
to_next_day() (in module fedgraph.utils_lp)
train() (fedgraph.server_class.Server method)
(fedgraph.trainer_class.Trainer_General method)
(fedgraph.trainer_class.Trainer_LP method)
(in module fedgraph.train_func)
train_size (fedgraph.trainer_class.Trainer_GC attribute)
train_stats (fedgraph.trainer_class.Trainer_GC attribute)
train_time_end() (fedgraph.monitor_class.Monitor method)
train_time_start() (fedgraph.monitor_class.Monitor method)
Trainer_GC (class in fedgraph.trainer_class)
Trainer_General (class in fedgraph.trainer_class)
Trainer_LP (class in fedgraph.trainer_class)
trainers (fedgraph.server_class.Server attribute)
transform_negative_sample() (in module fedgraph.utils_lp)
U
update_params() (fedgraph.trainer_class.Trainer_GC method)
(fedgraph.trainer_class.Trainer_General method)
use_fedavg_feature() (fedgraph.trainer_class.Trainer_General method)
user_emb (fedgraph.gnn_models.GNN_LP attribute)
V
verify_param_ranges() (fedgraph.trainer_class.Trainer_General method)
W
W (fedgraph.server_class.Server_GC attribute)
(fedgraph.trainer_class.Trainer_GC attribute)
W_old (fedgraph.trainer_class.Trainer_GC attribute)
weights_norm (fedgraph.trainer_class.Trainer_GC attribute)
Z
zero_params() (fedgraph.server_class.Server method)