├── .gitignore ├── .idea ├── .gitignore ├── Fed4TFP.iml ├── inspectionProfiles │ ├── Project_Default.xml │ └── profiles_settings.xml ├── misc.xml ├── modules.xml └── vcs.xml ├── README.md ├── __init__.py ├── attack ├── __init__.py ├── auxiliary │ ├── MIA_get_target_data.py │ ├── __init__.py │ ├── attack_trainer_builder.py │ ├── backdoor_utils.py │ ├── create_edgeset.py │ ├── poisoning_data.py │ └── utils.py ├── models │ ├── __init__.py │ ├── gan_based_model.py │ └── vision.py ├── privacy_attacks │ ├── GAN_based_attack.py │ ├── __init__.py │ ├── passive_PIA.py │ └── reconstruction_opt.py ├── trainer │ ├── GAN_trainer.py │ ├── MIA_invert_gradient_trainer.py │ ├── PIA_trainer.py │ ├── __init__.py │ ├── backdoor_trainer.py │ ├── benign_trainer.py │ └── gaussian_attack_trainer.py └── worker_as_attacker │ ├── __init__.py │ ├── active_client.py │ └── server_attacker.py ├── autotune ├── __init__.py ├── algos.py ├── baseline │ ├── fedhpo_vfl.yaml │ └── vfl_ss.yaml ├── choice_types.py ├── fedex │ ├── __init__.py │ ├── client.py │ ├── server.py │ └── utils.py ├── fts │ ├── __init__.py │ ├── client.py │ ├── server.py │ └── utils.py ├── hpbandster.py ├── pfedhpo │ ├── __init__.py │ ├── client.py │ ├── fl_server.py │ ├── server.py │ └── utils.py ├── run.py ├── smac.py └── utils.py ├── cl ├── __init__.py ├── baseline │ ├── fedcontrastlearning_linearprob_on_cifar10.yaml │ ├── fedgc_on_cifar10.yaml │ ├── fedsimclr_on_cifar10.yaml │ ├── repro_exp │ │ ├── args_cifar10_fedgc.sh │ │ ├── args_cifar10_fedsimclr.sh │ │ └── run_contrastive_learning.sh │ ├── supervised_fedavg_on_cifar10.yaml │ ├── supervised_local_on_cifar10.yaml │ └── unpretrained_linearprob_on_cifar10.yaml ├── dataloader │ ├── Cifar10.py │ └── __init__.py ├── fedgc │ ├── client.py │ ├── server.py │ └── utils.py ├── loss │ ├── NT_xentloss.py │ └── __init__.py ├── lr_scheduler │ └── LR_Scheduler.py ├── model │ ├── SimCLR.py │ └── __init__.py └── trainer │ ├── __init__.py │ └── trainer.py ├── contrib ├── README.md ├── __init__.py ├── configs │ ├── __init__.py │ └── pems04.yaml ├── data │ ├── __init__.py │ ├── load_from_files.py │ ├── mini_graph_dt.py │ └── pems04.py ├── loss │ ├── __init__.py │ └── example.py ├── metrics │ ├── __init__.py │ ├── example.py │ └── poison_acc.py ├── model │ ├── example.py │ ├── fedgru.py │ └── fedsam_convnet.py ├── optimizer │ ├── __init__.py │ └── example.py ├── scheduler │ ├── __init__.py │ └── example.py ├── splitter │ ├── __init__.py │ ├── example.py │ └── fedsam_cifar10_splitter.py ├── trainer │ ├── __init__.py │ ├── example.py │ ├── local_entropy.py │ ├── local_entropy_trainer.py │ ├── sam.py │ ├── sam_trainer.py │ └── torch_example.py └── worker │ ├── __init__.py │ └── example.py ├── core ├── __init__.py ├── aggregators │ ├── __init__.py │ ├── aggregator.py │ ├── asyn_clients_avg_aggregator.py │ ├── bulyan_aggregator.py │ ├── clients_avg_aggregator.py │ ├── fedopt_aggregator.py │ ├── krum_aggregator.py │ ├── median_aggregator.py │ ├── normbounding_aggregator.py │ ├── server_clients_interpolate_aggregator.py │ └── trimmedmean_aggregator.py ├── auxiliaries │ ├── ReIterator.py │ ├── __init__.py │ ├── aggregator_builder.py │ ├── criterion_builder.py │ ├── data_builder.py │ ├── dataloader_builder.py │ ├── decorators.py │ ├── feat_engr_builder.py │ ├── logging.py │ ├── metric_builder.py │ ├── model_builder.py │ ├── optimizer_builder.py │ ├── regularizer_builder.py │ ├── runner_builder.py │ ├── sampler_builder.py │ ├── scheduler_builder.py │ ├── splitter_builder.py │ ├── trainer_builder.py │ ├── transform_builder.py │ ├── utils.py │ └── worker_builder.py ├── cluster │ ├── LICENSE │ ├── README.md │ ├── config │ │ └── config.yaml │ ├── data │ │ └── POI │ │ │ ├── POI_frequency │ │ │ ├── poi1.xls │ │ │ ├── poi2.xls │ │ │ ├── poi3.xls │ │ │ ├── poi4.xls │ │ │ ├── poi5.xls │ │ │ └── poi6.xls │ │ │ ├── edges.cpg │ │ │ ├── edges.dbf │ │ │ ├── edges.prj │ │ │ ├── edges.shp │ │ │ ├── edges.shx │ │ │ ├── manhattan_poi.png │ │ │ ├── nodes.cpg │ │ │ ├── nodes.dbf │ │ │ ├── nodes.prj │ │ │ ├── nodes.shp │ │ │ ├── nodes.shx │ │ │ ├── pems_bay_poi.cpg │ │ │ ├── pems_bay_poi.csv │ │ │ ├── pems_bay_poi.dbf │ │ │ ├── pems_bay_poi.png │ │ │ ├── pems_bay_poi.prj │ │ │ ├── pems_bay_poi.shp │ │ │ ├── pems_bay_poi.shx │ │ │ ├── pems_bay_poi_gdf.csv │ │ │ └── pems_bay_roadnet.png │ ├── modules │ │ ├── contrastive_loss.py │ │ ├── network.py │ │ └── resnet.py │ ├── train.py │ └── utils │ │ └── yaml_config_hook.py ├── cmd_args.py ├── communication.py ├── compression │ ├── README.md │ ├── __init__.py │ └── utils.py ├── configs │ ├── README.md │ ├── __init__.py │ ├── cfg_aggregator.py │ ├── cfg_asyn.py │ ├── cfg_attack.py │ ├── cfg_compression.py │ ├── cfg_data.py │ ├── cfg_differential_privacy.py │ ├── cfg_evaluation.py │ ├── cfg_fedtfp.py │ ├── cfg_fl_algo.py │ ├── cfg_fl_setting.py │ ├── cfg_hpo.py │ ├── cfg_model.py │ ├── cfg_training.py │ ├── config.py │ ├── constants.py │ └── yacs_config.py ├── data │ ├── README.md │ ├── __init__.py │ ├── base_data.py │ ├── base_translator.py │ ├── dummy_translator.py │ ├── raw_translator.py │ ├── utils.py │ └── wrap_dataset.py ├── feature │ ├── __init__.py │ ├── hfl │ │ ├── __init__.py │ │ ├── preprocess │ │ │ ├── __init__.py │ │ │ ├── log_transform.py │ │ │ ├── min_max_norm.py │ │ │ ├── quantile_binning.py │ │ │ ├── standard.py │ │ │ └── uniform_binning.py │ │ └── selection │ │ │ ├── __init__.py │ │ │ ├── correlation_filter.py │ │ │ └── variance_filter.py │ ├── utils.py │ └── vfl │ │ ├── __init__.py │ │ ├── preprocess │ │ ├── __init__.py │ │ ├── instance_norm.py │ │ ├── log_transform.py │ │ ├── min_max_norm.py │ │ ├── quantile_binning.py │ │ ├── standardization.py │ │ └── uniform_binning.py │ │ └── selection │ │ ├── __init__.py │ │ ├── correlation_filter.py │ │ ├── iv_filter.py │ │ └── variance_filter.py ├── fed_runner.py ├── gRPC_server.py ├── gpu_manager.py ├── lr.py ├── message.py ├── mlp.py ├── monitors │ ├── __init__.py │ ├── early_stopper.py │ ├── metric_calculator.py │ └── monitor.py ├── optimizer.py ├── optimizers │ └── __init__.py ├── parallel │ ├── README.md │ ├── __init__.py │ └── parallel_runner.py ├── proto │ ├── __init__.py │ ├── gRPC_comm_manager.proto │ ├── gRPC_comm_manager_pb2.py │ └── gRPC_comm_manager_pb2_grpc.py ├── regularizer │ ├── __init__.py │ └── proximal_regularizer.py ├── sampler.py ├── secret_sharing │ ├── __init__.py │ └── secret_sharing.py ├── secure │ ├── __init__.py │ └── encrypt │ │ ├── __init__.py │ │ └── dummy_encrypt.py ├── splitters │ ├── __init__.py │ ├── base_splitter.py │ ├── generic │ │ ├── __init__.py │ │ ├── iid_splitter.py │ │ └── lda_splitter.py │ ├── graph │ │ ├── __init__.py │ │ ├── analyzer.py │ │ ├── louvain_splitter.py │ │ ├── randchunk_splitter.py │ │ ├── random_splitter.py │ │ ├── reltype_splitter.py │ │ ├── scaffold_lda_splitter.py │ │ └── scaffold_splitter.py │ └── utils.py ├── strategy.py ├── trainers │ ├── README.md │ ├── __init__.py │ ├── base_trainer.py │ ├── context.py │ ├── enums.py │ ├── tf_trainer.py │ ├── torch_trainer.py │ ├── trainer.py │ ├── trainer_Ditto.py │ ├── trainer_FedEM.py │ ├── trainer_FedRep.py │ ├── trainer_fedprox.py │ ├── trainer_multi_model.py │ ├── trainer_nbafl.py │ ├── trainer_pFedMe.py │ ├── trainer_simple_tuning.py │ └── utils.py └── workers │ ├── __init__.py │ ├── base_client.py │ ├── base_server.py │ ├── base_worker.py │ ├── client.py │ ├── server.py │ └── wrapper │ ├── __init__.py │ └── fedswa.py ├── cross_backends ├── README.md ├── __init__.py ├── distributed_tf_client_3.yaml ├── distributed_tf_server.yaml ├── tf_aggregator.py └── tf_lr.py ├── cv ├── __init__.py ├── baseline │ ├── fedavg_convnet2_on_celeba.yaml │ ├── fedavg_convnet2_on_cifar10.yaml │ ├── fedavg_convnet2_on_femnist.yaml │ └── fedbn_convnet2_on_femnist.yaml ├── dataloader │ ├── __init__.py │ └── dataloader.py ├── dataset │ ├── __init__.py │ ├── leaf.py │ ├── leaf_cv.py │ └── preprocess │ │ └── celeba_preprocess.py ├── model │ ├── __init__.py │ ├── cnn.py │ └── model_builder.py └── trainer │ ├── __init__.py │ └── trainer.py ├── framework.png ├── gfl ├── README.md ├── __init__.py ├── baseline │ ├── __init__.py │ ├── example.yaml │ ├── fedavg_gcn_fullbatch_on_dblpnew.yaml │ ├── fedavg_gcn_fullbatch_on_kg.yaml │ ├── fedavg_gcn_minibatch_on_hiv.yaml │ ├── fedavg_gin_minibatch_on_cikmcup.yaml │ ├── fedavg_gin_minibatch_on_cikmcup_per_client.yaml │ ├── fedavg_gnn_minibatch_on_multi_task.yaml │ ├── fedavg_gnn_minibatch_on_multi_task_total_samples_aggr.yaml │ ├── fedavg_gnn_node_fullbatch_citation.yaml │ ├── fedavg_on_cSBM.yaml │ ├── fedavg_sage_minibatch_on_dblpnew.yaml │ ├── fedavg_wpsn_on_cSBM.yaml │ ├── fedbn_gnn_minibatch_on_multi_task.yaml │ ├── isolated_gin_minibatch_on_cikmcup.yaml │ ├── isolated_gin_minibatch_on_cikmcup_per_client.yaml │ ├── local_gnn_node_fullbatch_citation.yaml │ ├── mini_graph_dc │ │ ├── fedavg.yaml │ │ └── fedavg_per_client.yaml │ └── repro_exp │ │ ├── graph_level │ │ ├── args_graph_fedalgo.sh │ │ ├── args_multi_graph_fedalgo.sh │ │ ├── run_graph_level.sh │ │ ├── run_graph_level_multi_task.sh │ │ ├── run_graph_level_multi_task_bn.sh │ │ ├── run_graph_level_multi_task_bn_finetune.sh │ │ ├── run_graph_level_opt.sh │ │ ├── run_graph_level_prox.sh │ │ ├── run_multi_opt.sh │ │ └── run_multi_prox.sh │ │ ├── hpo │ │ ├── run_hpo.sh │ │ └── run_node_level_hpo.sh │ │ ├── link_level │ │ ├── args_link_fedalgo.sh │ │ ├── run_link_level.sh │ │ ├── run_link_level_KG.sh │ │ ├── run_link_level_opt.sh │ │ └── run_link_level_prox.sh │ │ └── node_level │ │ ├── args_node_fedalgo.sh │ │ ├── run_dblp_fedavg.sh │ │ ├── run_node_level.sh │ │ ├── run_node_level_opt.sh │ │ └── run_node_level_prox.sh ├── dataloader │ ├── __init__.py │ ├── dataloader_graph.py │ ├── dataloader_link.py │ └── dataloader_node.py ├── dataset │ ├── __init__.py │ ├── cSBM_dataset.py │ ├── cikm_cup.py │ ├── dblp_new.py │ ├── examples │ │ └── analyzer_fed_graph.py │ ├── kg.py │ ├── preprocess │ │ ├── __init__.py │ │ └── dblp_related.py │ ├── recsys.py │ └── utils.py ├── fedsageplus │ ├── __init__.py │ ├── fedsageplus_on_cora.yaml │ ├── trainer.py │ ├── utils.py │ └── worker.py ├── flitplus │ ├── __init__.py │ ├── fedalgo_cls.yaml │ └── trainer.py ├── gcflplus │ ├── __init__.py │ ├── gcflplus_on_multi_task.yaml │ ├── utils.py │ └── worker.py ├── loss │ ├── __init__.py │ ├── greedy_loss.py │ └── vat.py ├── model │ ├── __init__.py │ ├── fedsageplus.py │ ├── gat.py │ ├── gcn.py │ ├── gin.py │ ├── gpr.py │ ├── graph_level.py │ ├── link_level.py │ ├── model_builder.py │ ├── mpnn.py │ └── sage.py └── trainer │ ├── __init__.py │ ├── graphtrainer.py │ ├── linktrainer.py │ └── nodetrainer.py ├── hpo.py ├── main.py ├── mf ├── __init__.py ├── baseline │ ├── __init__.py │ ├── hfl-sgdmf_fedavg_standalone_on_movielens1m.yaml │ ├── hfl_fedavg_standalone_on_movielens1m.yaml │ ├── hfl_fedavg_standalone_on_netflix.yaml │ ├── vfl-sgdmf_fedavg_standalone_on_movielens1m.yaml │ └── vfl_fedavg_standalone_on_movielens1m.yaml ├── dataloader │ ├── __init__.py │ └── dataloader.py ├── dataset │ ├── __init__.py │ ├── movielens.py │ └── netflix.py ├── model │ ├── __init__.py │ ├── model.py │ └── model_builder.py └── trainer │ ├── __init__.py │ ├── trainer.py │ └── trainer_sgdmf.py ├── nlp ├── __init__.py ├── baseline │ ├── fedavg_bert_on_sst2.yaml │ ├── fedavg_lr_on_synthetic.yaml │ ├── fedavg_lr_on_twitter.yaml │ ├── fedavg_lstm_on_shakespeare.yaml │ ├── fedavg_lstm_on_subreddit.yaml │ ├── fedavg_transformer_on_cola.yaml │ └── fedavg_transformer_on_imdb.yaml ├── dataloader │ ├── __init__.py │ └── dataloader.py ├── dataset │ ├── __init__.py │ ├── leaf_nlp.py │ ├── leaf_synthetic.py │ ├── leaf_twitter.py │ ├── preprocess │ │ ├── get_embs.py │ │ └── get_embs.sh │ └── utils.py ├── hetero_tasks │ ├── README.md │ ├── __init__.py │ ├── aggregator │ │ ├── __init__.py │ │ └── aggregator.py │ ├── baseline │ │ ├── config_atc.yaml │ │ ├── config_client_atc.yaml │ │ ├── config_client_fedavg.yaml │ │ ├── config_client_isolated.yaml │ │ ├── config_fedavg.yaml │ │ ├── config_isolated.yaml │ │ └── config_pretrain.yaml │ ├── dataloader │ │ ├── __init__.py │ │ ├── datacollator.py │ │ └── dataloader.py │ ├── dataset │ │ ├── __init__.py │ │ ├── agnews.py │ │ ├── cnndm.py │ │ ├── get_data.py │ │ ├── imdb.py │ │ ├── msqg.py │ │ ├── newsqa.py │ │ ├── squad.py │ │ └── utils.py │ ├── metric │ │ ├── __init__.py │ │ ├── cnndm.py │ │ ├── msqg.py │ │ ├── newsqa.py │ │ └── squad.py │ ├── model │ │ ├── __init__.py │ │ └── model.py │ ├── run_atc.sh │ ├── run_fedavg.sh │ ├── run_isolated.sh │ ├── run_pretrain.sh │ ├── trainer │ │ ├── __init__.py │ │ ├── trainer.py │ │ └── utils.py │ └── worker │ │ ├── __init__.py │ │ ├── client.py │ │ └── server.py ├── loss │ ├── __init__.py │ ├── character_loss.py │ └── label_smooth_loss.py ├── metric │ ├── __init__.py │ ├── bleu │ │ ├── __init__.py │ │ ├── bleu.py │ │ └── bleu_scorer.py │ ├── eval.py │ ├── meteor │ │ ├── __init__.py │ │ └── meteor.py │ └── rouge │ │ ├── __init__.py │ │ ├── pyrouge.py │ │ └── utils.py ├── model │ ├── __init__.py │ ├── model_builder.py │ └── rnn.py └── trainer │ ├── __init__.py │ └── trainer.py ├── organizer ├── README.md ├── __init__.py ├── cfg_client.py ├── cfg_server.py ├── client.py ├── server.py └── utils.py ├── register.py ├── tabular ├── __init__.py ├── dataloader │ ├── __init__.py │ ├── quadratic.py │ └── toy.py └── model │ ├── __init__.py │ └── quadratic.py └── vertical_fl ├── Paillier ├── __init__.py └── abstract_paillier.py ├── README.md ├── __init__.py ├── dataloader ├── __init__.py ├── dataloader.py └── utils.py ├── dataset ├── __init__.py ├── abalone.py ├── adult.py ├── blog.py └── credit.py ├── linear_model ├── __init__.py ├── baseline │ ├── vertical_fl.yaml │ └── vertical_on_adult.yaml └── worker │ ├── __init__.py │ ├── vertical_client.py │ └── vertical_server.py ├── loss ├── __init__.py ├── binary_cls.py ├── regression.py └── utils.py ├── tree_based_models ├── __init__.py ├── baseline │ ├── README.md │ ├── gbdt_feature_gathering_on_abalone.yaml │ ├── gbdt_feature_gathering_on_adult.yaml │ ├── gbdt_label_scattering_on_adult.yaml │ ├── rf_feature_gathering_on_abalone.yaml │ ├── rf_feature_gathering_on_adult.yaml │ ├── rf_label_scattering_on_adult.yaml │ ├── xgb_feature_gathering_dp_on_abalone.yaml │ ├── xgb_feature_gathering_dp_on_adult.yaml │ ├── xgb_feature_gathering_on_abalone.yaml │ ├── xgb_feature_gathering_on_adult.yaml │ ├── xgb_feature_gathering_on_adult_by_he_eval.yaml │ ├── xgb_feature_gathering_op_boost_on_adult.yaml │ ├── xgb_label_scattering_on_abalone.yaml │ └── xgb_label_scattering_on_adult.yaml ├── model │ ├── Tree.py │ ├── __init__.py │ └── model_builder.py ├── trainer │ ├── __init__.py │ ├── feature_order_protected_trainer.py │ ├── label_protected_trainer.py │ ├── random_forest_trainer.py │ ├── trainer.py │ └── utils.py └── worker │ ├── TreeClient.py │ ├── TreeServer.py │ ├── __init__.py │ ├── evaluation_wrapper.py │ ├── he_evaluation_wrapper.py │ └── train_wrapper.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- 1 | exp/ 2 | *__pycache__/ 3 | *.DS_Store -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/Fed4TFP.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/.idea/Fed4TFP.iml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/README.md -------------------------------------------------------------------------------- /__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/__init__.py -------------------------------------------------------------------------------- /attack/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /attack/auxiliary/MIA_get_target_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/auxiliary/MIA_get_target_data.py -------------------------------------------------------------------------------- /attack/auxiliary/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/auxiliary/__init__.py -------------------------------------------------------------------------------- /attack/auxiliary/attack_trainer_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/auxiliary/attack_trainer_builder.py -------------------------------------------------------------------------------- /attack/auxiliary/backdoor_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/auxiliary/backdoor_utils.py -------------------------------------------------------------------------------- /attack/auxiliary/create_edgeset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/auxiliary/create_edgeset.py -------------------------------------------------------------------------------- /attack/auxiliary/poisoning_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/auxiliary/poisoning_data.py -------------------------------------------------------------------------------- /attack/auxiliary/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/auxiliary/utils.py -------------------------------------------------------------------------------- /attack/models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /attack/models/gan_based_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/models/gan_based_model.py -------------------------------------------------------------------------------- /attack/models/vision.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/models/vision.py -------------------------------------------------------------------------------- /attack/privacy_attacks/GAN_based_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/privacy_attacks/GAN_based_attack.py -------------------------------------------------------------------------------- /attack/privacy_attacks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/privacy_attacks/__init__.py -------------------------------------------------------------------------------- /attack/privacy_attacks/passive_PIA.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/privacy_attacks/passive_PIA.py -------------------------------------------------------------------------------- /attack/privacy_attacks/reconstruction_opt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/privacy_attacks/reconstruction_opt.py -------------------------------------------------------------------------------- /attack/trainer/GAN_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/trainer/GAN_trainer.py -------------------------------------------------------------------------------- /attack/trainer/MIA_invert_gradient_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/trainer/MIA_invert_gradient_trainer.py -------------------------------------------------------------------------------- /attack/trainer/PIA_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/trainer/PIA_trainer.py -------------------------------------------------------------------------------- /attack/trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/trainer/__init__.py -------------------------------------------------------------------------------- /attack/trainer/backdoor_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/trainer/backdoor_trainer.py -------------------------------------------------------------------------------- /attack/trainer/benign_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/trainer/benign_trainer.py -------------------------------------------------------------------------------- /attack/trainer/gaussian_attack_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/trainer/gaussian_attack_trainer.py -------------------------------------------------------------------------------- /attack/worker_as_attacker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/worker_as_attacker/__init__.py -------------------------------------------------------------------------------- /attack/worker_as_attacker/active_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/worker_as_attacker/active_client.py -------------------------------------------------------------------------------- /attack/worker_as_attacker/server_attacker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/attack/worker_as_attacker/server_attacker.py -------------------------------------------------------------------------------- /autotune/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/__init__.py -------------------------------------------------------------------------------- /autotune/algos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/algos.py -------------------------------------------------------------------------------- /autotune/baseline/fedhpo_vfl.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/baseline/fedhpo_vfl.yaml -------------------------------------------------------------------------------- /autotune/baseline/vfl_ss.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/baseline/vfl_ss.yaml -------------------------------------------------------------------------------- /autotune/choice_types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/choice_types.py -------------------------------------------------------------------------------- /autotune/fedex/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/fedex/__init__.py -------------------------------------------------------------------------------- /autotune/fedex/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/fedex/client.py -------------------------------------------------------------------------------- /autotune/fedex/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/fedex/server.py -------------------------------------------------------------------------------- /autotune/fedex/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/fedex/utils.py -------------------------------------------------------------------------------- /autotune/fts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/fts/__init__.py -------------------------------------------------------------------------------- /autotune/fts/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/fts/client.py -------------------------------------------------------------------------------- /autotune/fts/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/fts/server.py -------------------------------------------------------------------------------- /autotune/fts/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/fts/utils.py -------------------------------------------------------------------------------- /autotune/hpbandster.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/hpbandster.py -------------------------------------------------------------------------------- /autotune/pfedhpo/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/pfedhpo/__init__.py -------------------------------------------------------------------------------- /autotune/pfedhpo/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/pfedhpo/client.py -------------------------------------------------------------------------------- /autotune/pfedhpo/fl_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/pfedhpo/fl_server.py -------------------------------------------------------------------------------- /autotune/pfedhpo/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/pfedhpo/server.py -------------------------------------------------------------------------------- /autotune/pfedhpo/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/pfedhpo/utils.py -------------------------------------------------------------------------------- /autotune/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/run.py -------------------------------------------------------------------------------- /autotune/smac.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/smac.py -------------------------------------------------------------------------------- /autotune/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/autotune/utils.py -------------------------------------------------------------------------------- /cl/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/__init__.py -------------------------------------------------------------------------------- /cl/baseline/fedcontrastlearning_linearprob_on_cifar10.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/baseline/fedcontrastlearning_linearprob_on_cifar10.yaml -------------------------------------------------------------------------------- /cl/baseline/fedgc_on_cifar10.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/baseline/fedgc_on_cifar10.yaml -------------------------------------------------------------------------------- /cl/baseline/fedsimclr_on_cifar10.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/baseline/fedsimclr_on_cifar10.yaml -------------------------------------------------------------------------------- /cl/baseline/repro_exp/args_cifar10_fedgc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/baseline/repro_exp/args_cifar10_fedgc.sh -------------------------------------------------------------------------------- /cl/baseline/repro_exp/args_cifar10_fedsimclr.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/baseline/repro_exp/args_cifar10_fedsimclr.sh -------------------------------------------------------------------------------- /cl/baseline/repro_exp/run_contrastive_learning.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/baseline/repro_exp/run_contrastive_learning.sh -------------------------------------------------------------------------------- /cl/baseline/supervised_fedavg_on_cifar10.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/baseline/supervised_fedavg_on_cifar10.yaml -------------------------------------------------------------------------------- /cl/baseline/supervised_local_on_cifar10.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/baseline/supervised_local_on_cifar10.yaml -------------------------------------------------------------------------------- /cl/baseline/unpretrained_linearprob_on_cifar10.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/baseline/unpretrained_linearprob_on_cifar10.yaml -------------------------------------------------------------------------------- /cl/dataloader/Cifar10.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/dataloader/Cifar10.py -------------------------------------------------------------------------------- /cl/dataloader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/dataloader/__init__.py -------------------------------------------------------------------------------- /cl/fedgc/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/fedgc/client.py -------------------------------------------------------------------------------- /cl/fedgc/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/fedgc/server.py -------------------------------------------------------------------------------- /cl/fedgc/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/fedgc/utils.py -------------------------------------------------------------------------------- /cl/loss/NT_xentloss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/loss/NT_xentloss.py -------------------------------------------------------------------------------- /cl/loss/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/loss/__init__.py -------------------------------------------------------------------------------- /cl/lr_scheduler/LR_Scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/lr_scheduler/LR_Scheduler.py -------------------------------------------------------------------------------- /cl/model/SimCLR.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/model/SimCLR.py -------------------------------------------------------------------------------- /cl/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/model/__init__.py -------------------------------------------------------------------------------- /cl/trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/trainer/__init__.py -------------------------------------------------------------------------------- /cl/trainer/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cl/trainer/trainer.py -------------------------------------------------------------------------------- /contrib/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/README.md -------------------------------------------------------------------------------- /contrib/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /contrib/configs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/configs/__init__.py -------------------------------------------------------------------------------- /contrib/configs/pems04.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/configs/pems04.yaml -------------------------------------------------------------------------------- /contrib/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/data/__init__.py -------------------------------------------------------------------------------- /contrib/data/load_from_files.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/data/load_from_files.py -------------------------------------------------------------------------------- /contrib/data/mini_graph_dt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/data/mini_graph_dt.py -------------------------------------------------------------------------------- /contrib/data/pems04.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/data/pems04.py -------------------------------------------------------------------------------- /contrib/loss/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/loss/__init__.py -------------------------------------------------------------------------------- /contrib/loss/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/loss/example.py -------------------------------------------------------------------------------- /contrib/metrics/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/metrics/__init__.py -------------------------------------------------------------------------------- /contrib/metrics/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/metrics/example.py -------------------------------------------------------------------------------- /contrib/metrics/poison_acc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/metrics/poison_acc.py -------------------------------------------------------------------------------- /contrib/model/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/model/example.py -------------------------------------------------------------------------------- /contrib/model/fedgru.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/model/fedgru.py -------------------------------------------------------------------------------- /contrib/model/fedsam_convnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/model/fedsam_convnet.py -------------------------------------------------------------------------------- /contrib/optimizer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/optimizer/__init__.py -------------------------------------------------------------------------------- /contrib/optimizer/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/optimizer/example.py -------------------------------------------------------------------------------- /contrib/scheduler/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/scheduler/__init__.py -------------------------------------------------------------------------------- /contrib/scheduler/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/scheduler/example.py -------------------------------------------------------------------------------- /contrib/splitter/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/splitter/__init__.py -------------------------------------------------------------------------------- /contrib/splitter/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/splitter/example.py -------------------------------------------------------------------------------- /contrib/splitter/fedsam_cifar10_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/splitter/fedsam_cifar10_splitter.py -------------------------------------------------------------------------------- /contrib/trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/trainer/__init__.py -------------------------------------------------------------------------------- /contrib/trainer/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/trainer/example.py -------------------------------------------------------------------------------- /contrib/trainer/local_entropy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/trainer/local_entropy.py -------------------------------------------------------------------------------- /contrib/trainer/local_entropy_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/trainer/local_entropy_trainer.py -------------------------------------------------------------------------------- /contrib/trainer/sam.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/trainer/sam.py -------------------------------------------------------------------------------- /contrib/trainer/sam_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/trainer/sam_trainer.py -------------------------------------------------------------------------------- /contrib/trainer/torch_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/trainer/torch_example.py -------------------------------------------------------------------------------- /contrib/worker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/worker/__init__.py -------------------------------------------------------------------------------- /contrib/worker/example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/contrib/worker/example.py -------------------------------------------------------------------------------- /core/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/__init__.py -------------------------------------------------------------------------------- /core/aggregators/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/aggregators/__init__.py -------------------------------------------------------------------------------- /core/aggregators/aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/aggregators/aggregator.py -------------------------------------------------------------------------------- /core/aggregators/asyn_clients_avg_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/aggregators/asyn_clients_avg_aggregator.py -------------------------------------------------------------------------------- /core/aggregators/bulyan_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/aggregators/bulyan_aggregator.py -------------------------------------------------------------------------------- /core/aggregators/clients_avg_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/aggregators/clients_avg_aggregator.py -------------------------------------------------------------------------------- /core/aggregators/fedopt_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/aggregators/fedopt_aggregator.py -------------------------------------------------------------------------------- /core/aggregators/krum_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/aggregators/krum_aggregator.py -------------------------------------------------------------------------------- /core/aggregators/median_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/aggregators/median_aggregator.py -------------------------------------------------------------------------------- /core/aggregators/normbounding_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/aggregators/normbounding_aggregator.py -------------------------------------------------------------------------------- /core/aggregators/server_clients_interpolate_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/aggregators/server_clients_interpolate_aggregator.py -------------------------------------------------------------------------------- /core/aggregators/trimmedmean_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/aggregators/trimmedmean_aggregator.py -------------------------------------------------------------------------------- /core/auxiliaries/ReIterator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/ReIterator.py -------------------------------------------------------------------------------- /core/auxiliaries/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/auxiliaries/aggregator_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/aggregator_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/criterion_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/criterion_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/data_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/data_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/dataloader_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/dataloader_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/decorators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/decorators.py -------------------------------------------------------------------------------- /core/auxiliaries/feat_engr_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/feat_engr_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/logging.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/logging.py -------------------------------------------------------------------------------- /core/auxiliaries/metric_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/metric_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/model_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/model_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/optimizer_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/optimizer_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/regularizer_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/regularizer_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/runner_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/runner_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/sampler_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/sampler_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/scheduler_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/scheduler_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/splitter_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/splitter_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/trainer_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/trainer_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/transform_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/transform_builder.py -------------------------------------------------------------------------------- /core/auxiliaries/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/utils.py -------------------------------------------------------------------------------- /core/auxiliaries/worker_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/auxiliaries/worker_builder.py -------------------------------------------------------------------------------- /core/cluster/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/LICENSE -------------------------------------------------------------------------------- /core/cluster/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/README.md -------------------------------------------------------------------------------- /core/cluster/config/config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/config/config.yaml -------------------------------------------------------------------------------- /core/cluster/data/POI/POI_frequency/poi1.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/POI_frequency/poi1.xls -------------------------------------------------------------------------------- /core/cluster/data/POI/POI_frequency/poi2.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/POI_frequency/poi2.xls -------------------------------------------------------------------------------- /core/cluster/data/POI/POI_frequency/poi3.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/POI_frequency/poi3.xls -------------------------------------------------------------------------------- /core/cluster/data/POI/POI_frequency/poi4.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/POI_frequency/poi4.xls -------------------------------------------------------------------------------- /core/cluster/data/POI/POI_frequency/poi5.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/POI_frequency/poi5.xls -------------------------------------------------------------------------------- /core/cluster/data/POI/POI_frequency/poi6.xls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/POI_frequency/poi6.xls -------------------------------------------------------------------------------- /core/cluster/data/POI/edges.cpg: -------------------------------------------------------------------------------- 1 | ISO-8859-1 -------------------------------------------------------------------------------- /core/cluster/data/POI/edges.dbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/edges.dbf -------------------------------------------------------------------------------- /core/cluster/data/POI/edges.prj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/edges.prj -------------------------------------------------------------------------------- /core/cluster/data/POI/edges.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/edges.shp -------------------------------------------------------------------------------- /core/cluster/data/POI/edges.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/edges.shx -------------------------------------------------------------------------------- /core/cluster/data/POI/manhattan_poi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/manhattan_poi.png -------------------------------------------------------------------------------- /core/cluster/data/POI/nodes.cpg: -------------------------------------------------------------------------------- 1 | ISO-8859-1 -------------------------------------------------------------------------------- /core/cluster/data/POI/nodes.dbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/nodes.dbf -------------------------------------------------------------------------------- /core/cluster/data/POI/nodes.prj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/nodes.prj -------------------------------------------------------------------------------- /core/cluster/data/POI/nodes.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/nodes.shp -------------------------------------------------------------------------------- /core/cluster/data/POI/nodes.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/nodes.shx -------------------------------------------------------------------------------- /core/cluster/data/POI/pems_bay_poi.cpg: -------------------------------------------------------------------------------- 1 | ISO-8859-1 -------------------------------------------------------------------------------- /core/cluster/data/POI/pems_bay_poi.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/pems_bay_poi.csv -------------------------------------------------------------------------------- /core/cluster/data/POI/pems_bay_poi.dbf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/pems_bay_poi.dbf -------------------------------------------------------------------------------- /core/cluster/data/POI/pems_bay_poi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/pems_bay_poi.png -------------------------------------------------------------------------------- /core/cluster/data/POI/pems_bay_poi.prj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/pems_bay_poi.prj -------------------------------------------------------------------------------- /core/cluster/data/POI/pems_bay_poi.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/pems_bay_poi.shp -------------------------------------------------------------------------------- /core/cluster/data/POI/pems_bay_poi.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/pems_bay_poi.shx -------------------------------------------------------------------------------- /core/cluster/data/POI/pems_bay_poi_gdf.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/pems_bay_poi_gdf.csv -------------------------------------------------------------------------------- /core/cluster/data/POI/pems_bay_roadnet.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/data/POI/pems_bay_roadnet.png -------------------------------------------------------------------------------- /core/cluster/modules/contrastive_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/modules/contrastive_loss.py -------------------------------------------------------------------------------- /core/cluster/modules/network.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/modules/network.py -------------------------------------------------------------------------------- /core/cluster/modules/resnet.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/modules/resnet.py -------------------------------------------------------------------------------- /core/cluster/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/train.py -------------------------------------------------------------------------------- /core/cluster/utils/yaml_config_hook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cluster/utils/yaml_config_hook.py -------------------------------------------------------------------------------- /core/cmd_args.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/cmd_args.py -------------------------------------------------------------------------------- /core/communication.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/communication.py -------------------------------------------------------------------------------- /core/compression/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/compression/README.md -------------------------------------------------------------------------------- /core/compression/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/compression/__init__.py -------------------------------------------------------------------------------- /core/compression/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/compression/utils.py -------------------------------------------------------------------------------- /core/configs/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/README.md -------------------------------------------------------------------------------- /core/configs/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/__init__.py -------------------------------------------------------------------------------- /core/configs/cfg_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_aggregator.py -------------------------------------------------------------------------------- /core/configs/cfg_asyn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_asyn.py -------------------------------------------------------------------------------- /core/configs/cfg_attack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_attack.py -------------------------------------------------------------------------------- /core/configs/cfg_compression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_compression.py -------------------------------------------------------------------------------- /core/configs/cfg_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_data.py -------------------------------------------------------------------------------- /core/configs/cfg_differential_privacy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_differential_privacy.py -------------------------------------------------------------------------------- /core/configs/cfg_evaluation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_evaluation.py -------------------------------------------------------------------------------- /core/configs/cfg_fedtfp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_fedtfp.py -------------------------------------------------------------------------------- /core/configs/cfg_fl_algo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_fl_algo.py -------------------------------------------------------------------------------- /core/configs/cfg_fl_setting.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_fl_setting.py -------------------------------------------------------------------------------- /core/configs/cfg_hpo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_hpo.py -------------------------------------------------------------------------------- /core/configs/cfg_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_model.py -------------------------------------------------------------------------------- /core/configs/cfg_training.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/cfg_training.py -------------------------------------------------------------------------------- /core/configs/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/config.py -------------------------------------------------------------------------------- /core/configs/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/constants.py -------------------------------------------------------------------------------- /core/configs/yacs_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/configs/yacs_config.py -------------------------------------------------------------------------------- /core/data/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/data/README.md -------------------------------------------------------------------------------- /core/data/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/data/__init__.py -------------------------------------------------------------------------------- /core/data/base_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/data/base_data.py -------------------------------------------------------------------------------- /core/data/base_translator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/data/base_translator.py -------------------------------------------------------------------------------- /core/data/dummy_translator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/data/dummy_translator.py -------------------------------------------------------------------------------- /core/data/raw_translator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/data/raw_translator.py -------------------------------------------------------------------------------- /core/data/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/data/utils.py -------------------------------------------------------------------------------- /core/data/wrap_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/data/wrap_dataset.py -------------------------------------------------------------------------------- /core/feature/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/hfl/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/hfl/preprocess/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/hfl/preprocess/log_transform.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/hfl/preprocess/min_max_norm.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/hfl/preprocess/quantile_binning.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/hfl/preprocess/standard.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/hfl/preprocess/uniform_binning.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/hfl/selection/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/hfl/selection/correlation_filter.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/hfl/selection/variance_filter.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/feature/utils.py -------------------------------------------------------------------------------- /core/feature/vfl/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/feature/vfl/__init__.py -------------------------------------------------------------------------------- /core/feature/vfl/preprocess/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/vfl/preprocess/instance_norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/feature/vfl/preprocess/instance_norm.py -------------------------------------------------------------------------------- /core/feature/vfl/preprocess/log_transform.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/feature/vfl/preprocess/log_transform.py -------------------------------------------------------------------------------- /core/feature/vfl/preprocess/min_max_norm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/feature/vfl/preprocess/min_max_norm.py -------------------------------------------------------------------------------- /core/feature/vfl/preprocess/quantile_binning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/feature/vfl/preprocess/quantile_binning.py -------------------------------------------------------------------------------- /core/feature/vfl/preprocess/standardization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/feature/vfl/preprocess/standardization.py -------------------------------------------------------------------------------- /core/feature/vfl/preprocess/uniform_binning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/feature/vfl/preprocess/uniform_binning.py -------------------------------------------------------------------------------- /core/feature/vfl/selection/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/feature/vfl/selection/correlation_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/feature/vfl/selection/correlation_filter.py -------------------------------------------------------------------------------- /core/feature/vfl/selection/iv_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/feature/vfl/selection/iv_filter.py -------------------------------------------------------------------------------- /core/feature/vfl/selection/variance_filter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/feature/vfl/selection/variance_filter.py -------------------------------------------------------------------------------- /core/fed_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/fed_runner.py -------------------------------------------------------------------------------- /core/gRPC_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/gRPC_server.py -------------------------------------------------------------------------------- /core/gpu_manager.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/gpu_manager.py -------------------------------------------------------------------------------- /core/lr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/lr.py -------------------------------------------------------------------------------- /core/message.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/message.py -------------------------------------------------------------------------------- /core/mlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/mlp.py -------------------------------------------------------------------------------- /core/monitors/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/monitors/__init__.py -------------------------------------------------------------------------------- /core/monitors/early_stopper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/monitors/early_stopper.py -------------------------------------------------------------------------------- /core/monitors/metric_calculator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/monitors/metric_calculator.py -------------------------------------------------------------------------------- /core/monitors/monitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/monitors/monitor.py -------------------------------------------------------------------------------- /core/optimizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/optimizer.py -------------------------------------------------------------------------------- /core/optimizers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/parallel/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/parallel/README.md -------------------------------------------------------------------------------- /core/parallel/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/parallel/parallel_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/parallel/parallel_runner.py -------------------------------------------------------------------------------- /core/proto/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/proto/__init__.py -------------------------------------------------------------------------------- /core/proto/gRPC_comm_manager.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/proto/gRPC_comm_manager.proto -------------------------------------------------------------------------------- /core/proto/gRPC_comm_manager_pb2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/proto/gRPC_comm_manager_pb2.py -------------------------------------------------------------------------------- /core/proto/gRPC_comm_manager_pb2_grpc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/proto/gRPC_comm_manager_pb2_grpc.py -------------------------------------------------------------------------------- /core/regularizer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/regularizer/__init__.py -------------------------------------------------------------------------------- /core/regularizer/proximal_regularizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/regularizer/proximal_regularizer.py -------------------------------------------------------------------------------- /core/sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/sampler.py -------------------------------------------------------------------------------- /core/secret_sharing/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/secret_sharing/__init__.py -------------------------------------------------------------------------------- /core/secret_sharing/secret_sharing.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/secret_sharing/secret_sharing.py -------------------------------------------------------------------------------- /core/secure/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /core/secure/encrypt/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/secure/encrypt/__init__.py -------------------------------------------------------------------------------- /core/secure/encrypt/dummy_encrypt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/secure/encrypt/dummy_encrypt.py -------------------------------------------------------------------------------- /core/splitters/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/__init__.py -------------------------------------------------------------------------------- /core/splitters/base_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/base_splitter.py -------------------------------------------------------------------------------- /core/splitters/generic/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/generic/__init__.py -------------------------------------------------------------------------------- /core/splitters/generic/iid_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/generic/iid_splitter.py -------------------------------------------------------------------------------- /core/splitters/generic/lda_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/generic/lda_splitter.py -------------------------------------------------------------------------------- /core/splitters/graph/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/graph/__init__.py -------------------------------------------------------------------------------- /core/splitters/graph/analyzer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/graph/analyzer.py -------------------------------------------------------------------------------- /core/splitters/graph/louvain_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/graph/louvain_splitter.py -------------------------------------------------------------------------------- /core/splitters/graph/randchunk_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/graph/randchunk_splitter.py -------------------------------------------------------------------------------- /core/splitters/graph/random_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/graph/random_splitter.py -------------------------------------------------------------------------------- /core/splitters/graph/reltype_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/graph/reltype_splitter.py -------------------------------------------------------------------------------- /core/splitters/graph/scaffold_lda_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/graph/scaffold_lda_splitter.py -------------------------------------------------------------------------------- /core/splitters/graph/scaffold_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/graph/scaffold_splitter.py -------------------------------------------------------------------------------- /core/splitters/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/splitters/utils.py -------------------------------------------------------------------------------- /core/strategy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/strategy.py -------------------------------------------------------------------------------- /core/trainers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/README.md -------------------------------------------------------------------------------- /core/trainers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/__init__.py -------------------------------------------------------------------------------- /core/trainers/base_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/base_trainer.py -------------------------------------------------------------------------------- /core/trainers/context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/context.py -------------------------------------------------------------------------------- /core/trainers/enums.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/enums.py -------------------------------------------------------------------------------- /core/trainers/tf_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/tf_trainer.py -------------------------------------------------------------------------------- /core/trainers/torch_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/torch_trainer.py -------------------------------------------------------------------------------- /core/trainers/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/trainer.py -------------------------------------------------------------------------------- /core/trainers/trainer_Ditto.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/trainer_Ditto.py -------------------------------------------------------------------------------- /core/trainers/trainer_FedEM.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/trainer_FedEM.py -------------------------------------------------------------------------------- /core/trainers/trainer_FedRep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/trainer_FedRep.py -------------------------------------------------------------------------------- /core/trainers/trainer_fedprox.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/trainer_fedprox.py -------------------------------------------------------------------------------- /core/trainers/trainer_multi_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/trainer_multi_model.py -------------------------------------------------------------------------------- /core/trainers/trainer_nbafl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/trainer_nbafl.py -------------------------------------------------------------------------------- /core/trainers/trainer_pFedMe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/trainer_pFedMe.py -------------------------------------------------------------------------------- /core/trainers/trainer_simple_tuning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/trainer_simple_tuning.py -------------------------------------------------------------------------------- /core/trainers/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/trainers/utils.py -------------------------------------------------------------------------------- /core/workers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/workers/__init__.py -------------------------------------------------------------------------------- /core/workers/base_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/workers/base_client.py -------------------------------------------------------------------------------- /core/workers/base_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/workers/base_server.py -------------------------------------------------------------------------------- /core/workers/base_worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/workers/base_worker.py -------------------------------------------------------------------------------- /core/workers/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/workers/client.py -------------------------------------------------------------------------------- /core/workers/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/workers/server.py -------------------------------------------------------------------------------- /core/workers/wrapper/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/workers/wrapper/__init__.py -------------------------------------------------------------------------------- /core/workers/wrapper/fedswa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/core/workers/wrapper/fedswa.py -------------------------------------------------------------------------------- /cross_backends/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cross_backends/README.md -------------------------------------------------------------------------------- /cross_backends/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cross_backends/__init__.py -------------------------------------------------------------------------------- /cross_backends/distributed_tf_client_3.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cross_backends/distributed_tf_client_3.yaml -------------------------------------------------------------------------------- /cross_backends/distributed_tf_server.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cross_backends/distributed_tf_server.yaml -------------------------------------------------------------------------------- /cross_backends/tf_aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cross_backends/tf_aggregator.py -------------------------------------------------------------------------------- /cross_backends/tf_lr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cross_backends/tf_lr.py -------------------------------------------------------------------------------- /cv/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/__init__.py -------------------------------------------------------------------------------- /cv/baseline/fedavg_convnet2_on_celeba.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/baseline/fedavg_convnet2_on_celeba.yaml -------------------------------------------------------------------------------- /cv/baseline/fedavg_convnet2_on_cifar10.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/baseline/fedavg_convnet2_on_cifar10.yaml -------------------------------------------------------------------------------- /cv/baseline/fedavg_convnet2_on_femnist.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/baseline/fedavg_convnet2_on_femnist.yaml -------------------------------------------------------------------------------- /cv/baseline/fedbn_convnet2_on_femnist.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/baseline/fedbn_convnet2_on_femnist.yaml -------------------------------------------------------------------------------- /cv/dataloader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/dataloader/__init__.py -------------------------------------------------------------------------------- /cv/dataloader/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/dataloader/dataloader.py -------------------------------------------------------------------------------- /cv/dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/dataset/__init__.py -------------------------------------------------------------------------------- /cv/dataset/leaf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/dataset/leaf.py -------------------------------------------------------------------------------- /cv/dataset/leaf_cv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/dataset/leaf_cv.py -------------------------------------------------------------------------------- /cv/dataset/preprocess/celeba_preprocess.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/dataset/preprocess/celeba_preprocess.py -------------------------------------------------------------------------------- /cv/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/model/__init__.py -------------------------------------------------------------------------------- /cv/model/cnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/model/cnn.py -------------------------------------------------------------------------------- /cv/model/model_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/model/model_builder.py -------------------------------------------------------------------------------- /cv/trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/trainer/__init__.py -------------------------------------------------------------------------------- /cv/trainer/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/cv/trainer/trainer.py -------------------------------------------------------------------------------- /framework.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/framework.png -------------------------------------------------------------------------------- /gfl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/README.md -------------------------------------------------------------------------------- /gfl/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gfl/baseline/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gfl/baseline/example.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/example.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedavg_gcn_fullbatch_on_dblpnew.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedavg_gcn_fullbatch_on_dblpnew.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedavg_gcn_fullbatch_on_kg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedavg_gcn_fullbatch_on_kg.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedavg_gcn_minibatch_on_hiv.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedavg_gcn_minibatch_on_hiv.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedavg_gin_minibatch_on_cikmcup.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedavg_gin_minibatch_on_cikmcup.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedavg_gin_minibatch_on_cikmcup_per_client.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedavg_gin_minibatch_on_cikmcup_per_client.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedavg_gnn_minibatch_on_multi_task.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedavg_gnn_minibatch_on_multi_task.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedavg_gnn_minibatch_on_multi_task_total_samples_aggr.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedavg_gnn_minibatch_on_multi_task_total_samples_aggr.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedavg_gnn_node_fullbatch_citation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedavg_gnn_node_fullbatch_citation.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedavg_on_cSBM.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedavg_on_cSBM.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedavg_sage_minibatch_on_dblpnew.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedavg_sage_minibatch_on_dblpnew.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedavg_wpsn_on_cSBM.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedavg_wpsn_on_cSBM.yaml -------------------------------------------------------------------------------- /gfl/baseline/fedbn_gnn_minibatch_on_multi_task.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/fedbn_gnn_minibatch_on_multi_task.yaml -------------------------------------------------------------------------------- /gfl/baseline/isolated_gin_minibatch_on_cikmcup.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/isolated_gin_minibatch_on_cikmcup.yaml -------------------------------------------------------------------------------- /gfl/baseline/isolated_gin_minibatch_on_cikmcup_per_client.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/isolated_gin_minibatch_on_cikmcup_per_client.yaml -------------------------------------------------------------------------------- /gfl/baseline/local_gnn_node_fullbatch_citation.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/local_gnn_node_fullbatch_citation.yaml -------------------------------------------------------------------------------- /gfl/baseline/mini_graph_dc/fedavg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/mini_graph_dc/fedavg.yaml -------------------------------------------------------------------------------- /gfl/baseline/mini_graph_dc/fedavg_per_client.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/mini_graph_dc/fedavg_per_client.yaml -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/graph_level/args_graph_fedalgo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/graph_level/args_graph_fedalgo.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/graph_level/args_multi_graph_fedalgo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/graph_level/args_multi_graph_fedalgo.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/graph_level/run_graph_level.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/graph_level/run_graph_level.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/graph_level/run_graph_level_multi_task.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/graph_level/run_graph_level_multi_task.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/graph_level/run_graph_level_multi_task_bn.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/graph_level/run_graph_level_multi_task_bn.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/graph_level/run_graph_level_multi_task_bn_finetune.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/graph_level/run_graph_level_multi_task_bn_finetune.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/graph_level/run_graph_level_opt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/graph_level/run_graph_level_opt.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/graph_level/run_graph_level_prox.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/graph_level/run_graph_level_prox.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/graph_level/run_multi_opt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/graph_level/run_multi_opt.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/graph_level/run_multi_prox.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/graph_level/run_multi_prox.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/hpo/run_hpo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/hpo/run_hpo.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/hpo/run_node_level_hpo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/hpo/run_node_level_hpo.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/link_level/args_link_fedalgo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/link_level/args_link_fedalgo.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/link_level/run_link_level.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/link_level/run_link_level.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/link_level/run_link_level_KG.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/link_level/run_link_level_KG.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/link_level/run_link_level_opt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/link_level/run_link_level_opt.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/link_level/run_link_level_prox.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/link_level/run_link_level_prox.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/node_level/args_node_fedalgo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/node_level/args_node_fedalgo.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/node_level/run_dblp_fedavg.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/node_level/run_dblp_fedavg.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/node_level/run_node_level.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/node_level/run_node_level.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/node_level/run_node_level_opt.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/node_level/run_node_level_opt.sh -------------------------------------------------------------------------------- /gfl/baseline/repro_exp/node_level/run_node_level_prox.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/baseline/repro_exp/node_level/run_node_level_prox.sh -------------------------------------------------------------------------------- /gfl/dataloader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataloader/__init__.py -------------------------------------------------------------------------------- /gfl/dataloader/dataloader_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataloader/dataloader_graph.py -------------------------------------------------------------------------------- /gfl/dataloader/dataloader_link.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataloader/dataloader_link.py -------------------------------------------------------------------------------- /gfl/dataloader/dataloader_node.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataloader/dataloader_node.py -------------------------------------------------------------------------------- /gfl/dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataset/__init__.py -------------------------------------------------------------------------------- /gfl/dataset/cSBM_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataset/cSBM_dataset.py -------------------------------------------------------------------------------- /gfl/dataset/cikm_cup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataset/cikm_cup.py -------------------------------------------------------------------------------- /gfl/dataset/dblp_new.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataset/dblp_new.py -------------------------------------------------------------------------------- /gfl/dataset/examples/analyzer_fed_graph.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataset/examples/analyzer_fed_graph.py -------------------------------------------------------------------------------- /gfl/dataset/kg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataset/kg.py -------------------------------------------------------------------------------- /gfl/dataset/preprocess/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataset/preprocess/__init__.py -------------------------------------------------------------------------------- /gfl/dataset/preprocess/dblp_related.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataset/preprocess/dblp_related.py -------------------------------------------------------------------------------- /gfl/dataset/recsys.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataset/recsys.py -------------------------------------------------------------------------------- /gfl/dataset/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/dataset/utils.py -------------------------------------------------------------------------------- /gfl/fedsageplus/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gfl/fedsageplus/fedsageplus_on_cora.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/fedsageplus/fedsageplus_on_cora.yaml -------------------------------------------------------------------------------- /gfl/fedsageplus/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/fedsageplus/trainer.py -------------------------------------------------------------------------------- /gfl/fedsageplus/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/fedsageplus/utils.py -------------------------------------------------------------------------------- /gfl/fedsageplus/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/fedsageplus/worker.py -------------------------------------------------------------------------------- /gfl/flitplus/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gfl/flitplus/fedalgo_cls.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/flitplus/fedalgo_cls.yaml -------------------------------------------------------------------------------- /gfl/flitplus/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/flitplus/trainer.py -------------------------------------------------------------------------------- /gfl/gcflplus/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /gfl/gcflplus/gcflplus_on_multi_task.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/gcflplus/gcflplus_on_multi_task.yaml -------------------------------------------------------------------------------- /gfl/gcflplus/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/gcflplus/utils.py -------------------------------------------------------------------------------- /gfl/gcflplus/worker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/gcflplus/worker.py -------------------------------------------------------------------------------- /gfl/loss/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/loss/__init__.py -------------------------------------------------------------------------------- /gfl/loss/greedy_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/loss/greedy_loss.py -------------------------------------------------------------------------------- /gfl/loss/vat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/loss/vat.py -------------------------------------------------------------------------------- /gfl/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/model/__init__.py -------------------------------------------------------------------------------- /gfl/model/fedsageplus.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/model/fedsageplus.py -------------------------------------------------------------------------------- /gfl/model/gat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/model/gat.py -------------------------------------------------------------------------------- /gfl/model/gcn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/model/gcn.py -------------------------------------------------------------------------------- /gfl/model/gin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/model/gin.py -------------------------------------------------------------------------------- /gfl/model/gpr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/model/gpr.py -------------------------------------------------------------------------------- /gfl/model/graph_level.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/model/graph_level.py -------------------------------------------------------------------------------- /gfl/model/link_level.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/model/link_level.py -------------------------------------------------------------------------------- /gfl/model/model_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/model/model_builder.py -------------------------------------------------------------------------------- /gfl/model/mpnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/model/mpnn.py -------------------------------------------------------------------------------- /gfl/model/sage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/model/sage.py -------------------------------------------------------------------------------- /gfl/trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/trainer/__init__.py -------------------------------------------------------------------------------- /gfl/trainer/graphtrainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/trainer/graphtrainer.py -------------------------------------------------------------------------------- /gfl/trainer/linktrainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/trainer/linktrainer.py -------------------------------------------------------------------------------- /gfl/trainer/nodetrainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/gfl/trainer/nodetrainer.py -------------------------------------------------------------------------------- /hpo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/hpo.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/main.py -------------------------------------------------------------------------------- /mf/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/__init__.py -------------------------------------------------------------------------------- /mf/baseline/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mf/baseline/hfl-sgdmf_fedavg_standalone_on_movielens1m.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/baseline/hfl-sgdmf_fedavg_standalone_on_movielens1m.yaml -------------------------------------------------------------------------------- /mf/baseline/hfl_fedavg_standalone_on_movielens1m.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/baseline/hfl_fedavg_standalone_on_movielens1m.yaml -------------------------------------------------------------------------------- /mf/baseline/hfl_fedavg_standalone_on_netflix.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/baseline/hfl_fedavg_standalone_on_netflix.yaml -------------------------------------------------------------------------------- /mf/baseline/vfl-sgdmf_fedavg_standalone_on_movielens1m.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/baseline/vfl-sgdmf_fedavg_standalone_on_movielens1m.yaml -------------------------------------------------------------------------------- /mf/baseline/vfl_fedavg_standalone_on_movielens1m.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/baseline/vfl_fedavg_standalone_on_movielens1m.yaml -------------------------------------------------------------------------------- /mf/dataloader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/dataloader/__init__.py -------------------------------------------------------------------------------- /mf/dataloader/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/dataloader/dataloader.py -------------------------------------------------------------------------------- /mf/dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/dataset/__init__.py -------------------------------------------------------------------------------- /mf/dataset/movielens.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/dataset/movielens.py -------------------------------------------------------------------------------- /mf/dataset/netflix.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/dataset/netflix.py -------------------------------------------------------------------------------- /mf/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/model/__init__.py -------------------------------------------------------------------------------- /mf/model/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/model/model.py -------------------------------------------------------------------------------- /mf/model/model_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/model/model_builder.py -------------------------------------------------------------------------------- /mf/trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/trainer/__init__.py -------------------------------------------------------------------------------- /mf/trainer/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/trainer/trainer.py -------------------------------------------------------------------------------- /mf/trainer/trainer_sgdmf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/mf/trainer/trainer_sgdmf.py -------------------------------------------------------------------------------- /nlp/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/__init__.py -------------------------------------------------------------------------------- /nlp/baseline/fedavg_bert_on_sst2.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/baseline/fedavg_bert_on_sst2.yaml -------------------------------------------------------------------------------- /nlp/baseline/fedavg_lr_on_synthetic.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/baseline/fedavg_lr_on_synthetic.yaml -------------------------------------------------------------------------------- /nlp/baseline/fedavg_lr_on_twitter.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/baseline/fedavg_lr_on_twitter.yaml -------------------------------------------------------------------------------- /nlp/baseline/fedavg_lstm_on_shakespeare.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/baseline/fedavg_lstm_on_shakespeare.yaml -------------------------------------------------------------------------------- /nlp/baseline/fedavg_lstm_on_subreddit.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/baseline/fedavg_lstm_on_subreddit.yaml -------------------------------------------------------------------------------- /nlp/baseline/fedavg_transformer_on_cola.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/baseline/fedavg_transformer_on_cola.yaml -------------------------------------------------------------------------------- /nlp/baseline/fedavg_transformer_on_imdb.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/baseline/fedavg_transformer_on_imdb.yaml -------------------------------------------------------------------------------- /nlp/dataloader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/dataloader/__init__.py -------------------------------------------------------------------------------- /nlp/dataloader/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/dataloader/dataloader.py -------------------------------------------------------------------------------- /nlp/dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/dataset/__init__.py -------------------------------------------------------------------------------- /nlp/dataset/leaf_nlp.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/dataset/leaf_nlp.py -------------------------------------------------------------------------------- /nlp/dataset/leaf_synthetic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/dataset/leaf_synthetic.py -------------------------------------------------------------------------------- /nlp/dataset/leaf_twitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/dataset/leaf_twitter.py -------------------------------------------------------------------------------- /nlp/dataset/preprocess/get_embs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/dataset/preprocess/get_embs.py -------------------------------------------------------------------------------- /nlp/dataset/preprocess/get_embs.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/dataset/preprocess/get_embs.sh -------------------------------------------------------------------------------- /nlp/dataset/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/dataset/utils.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/README.md -------------------------------------------------------------------------------- /nlp/hetero_tasks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nlp/hetero_tasks/aggregator/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/aggregator/__init__.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/aggregator/aggregator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/aggregator/aggregator.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/baseline/config_atc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/baseline/config_atc.yaml -------------------------------------------------------------------------------- /nlp/hetero_tasks/baseline/config_client_atc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/baseline/config_client_atc.yaml -------------------------------------------------------------------------------- /nlp/hetero_tasks/baseline/config_client_fedavg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/baseline/config_client_fedavg.yaml -------------------------------------------------------------------------------- /nlp/hetero_tasks/baseline/config_client_isolated.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/baseline/config_client_isolated.yaml -------------------------------------------------------------------------------- /nlp/hetero_tasks/baseline/config_fedavg.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/baseline/config_fedavg.yaml -------------------------------------------------------------------------------- /nlp/hetero_tasks/baseline/config_isolated.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/baseline/config_isolated.yaml -------------------------------------------------------------------------------- /nlp/hetero_tasks/baseline/config_pretrain.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/baseline/config_pretrain.yaml -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataloader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataloader/__init__.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataloader/datacollator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataloader/datacollator.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataloader/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataloader/dataloader.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataset/__init__.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataset/agnews.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataset/agnews.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataset/cnndm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataset/cnndm.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataset/get_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataset/get_data.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataset/imdb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataset/imdb.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataset/msqg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataset/msqg.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataset/newsqa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataset/newsqa.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataset/squad.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataset/squad.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/dataset/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/dataset/utils.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/metric/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/metric/__init__.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/metric/cnndm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/metric/cnndm.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/metric/msqg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/metric/msqg.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/metric/newsqa.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/metric/newsqa.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/metric/squad.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/metric/squad.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/model/__init__.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/model/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/model/model.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/run_atc.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/run_atc.sh -------------------------------------------------------------------------------- /nlp/hetero_tasks/run_fedavg.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/run_fedavg.sh -------------------------------------------------------------------------------- /nlp/hetero_tasks/run_isolated.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/run_isolated.sh -------------------------------------------------------------------------------- /nlp/hetero_tasks/run_pretrain.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/run_pretrain.sh -------------------------------------------------------------------------------- /nlp/hetero_tasks/trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/trainer/__init__.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/trainer/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/trainer/trainer.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/trainer/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/trainer/utils.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/worker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/worker/__init__.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/worker/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/worker/client.py -------------------------------------------------------------------------------- /nlp/hetero_tasks/worker/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/hetero_tasks/worker/server.py -------------------------------------------------------------------------------- /nlp/loss/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/loss/__init__.py -------------------------------------------------------------------------------- /nlp/loss/character_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/loss/character_loss.py -------------------------------------------------------------------------------- /nlp/loss/label_smooth_loss.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/loss/label_smooth_loss.py -------------------------------------------------------------------------------- /nlp/metric/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nlp/metric/bleu/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/metric/bleu/__init__.py -------------------------------------------------------------------------------- /nlp/metric/bleu/bleu.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/metric/bleu/bleu.py -------------------------------------------------------------------------------- /nlp/metric/bleu/bleu_scorer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/metric/bleu/bleu_scorer.py -------------------------------------------------------------------------------- /nlp/metric/eval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/metric/eval.py -------------------------------------------------------------------------------- /nlp/metric/meteor/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/metric/meteor/__init__.py -------------------------------------------------------------------------------- /nlp/metric/meteor/meteor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/metric/meteor/meteor.py -------------------------------------------------------------------------------- /nlp/metric/rouge/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nlp/metric/rouge/pyrouge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/metric/rouge/pyrouge.py -------------------------------------------------------------------------------- /nlp/metric/rouge/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/metric/rouge/utils.py -------------------------------------------------------------------------------- /nlp/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/model/__init__.py -------------------------------------------------------------------------------- /nlp/model/model_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/model/model_builder.py -------------------------------------------------------------------------------- /nlp/model/rnn.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/model/rnn.py -------------------------------------------------------------------------------- /nlp/trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/trainer/__init__.py -------------------------------------------------------------------------------- /nlp/trainer/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/nlp/trainer/trainer.py -------------------------------------------------------------------------------- /organizer/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/organizer/README.md -------------------------------------------------------------------------------- /organizer/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /organizer/cfg_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/organizer/cfg_client.py -------------------------------------------------------------------------------- /organizer/cfg_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/organizer/cfg_server.py -------------------------------------------------------------------------------- /organizer/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/organizer/client.py -------------------------------------------------------------------------------- /organizer/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/organizer/server.py -------------------------------------------------------------------------------- /organizer/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/organizer/utils.py -------------------------------------------------------------------------------- /register.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/register.py -------------------------------------------------------------------------------- /tabular/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tabular/dataloader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/tabular/dataloader/__init__.py -------------------------------------------------------------------------------- /tabular/dataloader/quadratic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/tabular/dataloader/quadratic.py -------------------------------------------------------------------------------- /tabular/dataloader/toy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/tabular/dataloader/toy.py -------------------------------------------------------------------------------- /tabular/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/tabular/model/__init__.py -------------------------------------------------------------------------------- /tabular/model/quadratic.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/tabular/model/quadratic.py -------------------------------------------------------------------------------- /vertical_fl/Paillier/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vertical_fl/Paillier/abstract_paillier.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/Paillier/abstract_paillier.py -------------------------------------------------------------------------------- /vertical_fl/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/README.md -------------------------------------------------------------------------------- /vertical_fl/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/__init__.py -------------------------------------------------------------------------------- /vertical_fl/dataloader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/dataloader/__init__.py -------------------------------------------------------------------------------- /vertical_fl/dataloader/dataloader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/dataloader/dataloader.py -------------------------------------------------------------------------------- /vertical_fl/dataloader/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/dataloader/utils.py -------------------------------------------------------------------------------- /vertical_fl/dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/dataset/__init__.py -------------------------------------------------------------------------------- /vertical_fl/dataset/abalone.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/dataset/abalone.py -------------------------------------------------------------------------------- /vertical_fl/dataset/adult.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/dataset/adult.py -------------------------------------------------------------------------------- /vertical_fl/dataset/blog.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/dataset/blog.py -------------------------------------------------------------------------------- /vertical_fl/dataset/credit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/dataset/credit.py -------------------------------------------------------------------------------- /vertical_fl/linear_model/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vertical_fl/linear_model/baseline/vertical_fl.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/linear_model/baseline/vertical_fl.yaml -------------------------------------------------------------------------------- /vertical_fl/linear_model/baseline/vertical_on_adult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/linear_model/baseline/vertical_on_adult.yaml -------------------------------------------------------------------------------- /vertical_fl/linear_model/worker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/linear_model/worker/__init__.py -------------------------------------------------------------------------------- /vertical_fl/linear_model/worker/vertical_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/linear_model/worker/vertical_client.py -------------------------------------------------------------------------------- /vertical_fl/linear_model/worker/vertical_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/linear_model/worker/vertical_server.py -------------------------------------------------------------------------------- /vertical_fl/loss/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/loss/__init__.py -------------------------------------------------------------------------------- /vertical_fl/loss/binary_cls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/loss/binary_cls.py -------------------------------------------------------------------------------- /vertical_fl/loss/regression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/loss/regression.py -------------------------------------------------------------------------------- /vertical_fl/loss/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/loss/utils.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/README.md -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/gbdt_feature_gathering_on_abalone.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/gbdt_feature_gathering_on_abalone.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/gbdt_feature_gathering_on_adult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/gbdt_feature_gathering_on_adult.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/gbdt_label_scattering_on_adult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/gbdt_label_scattering_on_adult.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/rf_feature_gathering_on_abalone.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/rf_feature_gathering_on_abalone.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/rf_feature_gathering_on_adult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/rf_feature_gathering_on_adult.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/rf_label_scattering_on_adult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/rf_label_scattering_on_adult.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/xgb_feature_gathering_dp_on_abalone.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/xgb_feature_gathering_dp_on_abalone.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/xgb_feature_gathering_dp_on_adult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/xgb_feature_gathering_dp_on_adult.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/xgb_feature_gathering_on_abalone.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/xgb_feature_gathering_on_abalone.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/xgb_feature_gathering_on_adult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/xgb_feature_gathering_on_adult.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/xgb_feature_gathering_on_adult_by_he_eval.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/xgb_feature_gathering_on_adult_by_he_eval.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/xgb_feature_gathering_op_boost_on_adult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/xgb_feature_gathering_op_boost_on_adult.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/xgb_label_scattering_on_abalone.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/xgb_label_scattering_on_abalone.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/baseline/xgb_label_scattering_on_adult.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/baseline/xgb_label_scattering_on_adult.yaml -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/model/Tree.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/model/Tree.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/model/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/model/__init__.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/model/model_builder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/model/model_builder.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/trainer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/trainer/__init__.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/trainer/feature_order_protected_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/trainer/feature_order_protected_trainer.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/trainer/label_protected_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/trainer/label_protected_trainer.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/trainer/random_forest_trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/trainer/random_forest_trainer.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/trainer/trainer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/trainer/trainer.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/trainer/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/trainer/utils.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/worker/TreeClient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/worker/TreeClient.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/worker/TreeServer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/worker/TreeServer.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/worker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/worker/__init__.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/worker/evaluation_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/worker/evaluation_wrapper.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/worker/he_evaluation_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/worker/he_evaluation_wrapper.py -------------------------------------------------------------------------------- /vertical_fl/tree_based_models/worker/train_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/tree_based_models/worker/train_wrapper.py -------------------------------------------------------------------------------- /vertical_fl/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ZJU-DAILY/Fed4TP/HEAD/vertical_fl/utils.py --------------------------------------------------------------------------------