MCPcopy Create free account

hub / github.com/HarliWu/FedBiOT / functions

Functions2,364 in github.com/HarliWu/FedBiOT

Method_setup
(self)
federatedscope/autotune/algos.py:379
Method_setup
(self)
benchmark/FedHPOBench/demo/base_fed_surrogate_benchmark.py:58
Method_setup_client
Set up and instantiate the client. Args: client_id: ID of client client_model: model of client r
federatedscope/core/fed_runner.py:181
Method_setup_server
Set up and instantiate the server. Args: resource_info: information of resource client_resource_info: inform
federatedscope/core/fed_runner.py:141
Method_split_n_clients_rating
(self, ratings: csc_matrix, num_client: int, test_portion: float)
federatedscope/mf/dataset/movielens.py:50
Method_start_new_training_round
(self, aggregated_num=0)
federatedscope/llm/offsite_tuning/fedot.py:63
Method_stop_criterion
(self, configs, last_results)
federatedscope/autotune/algos.py:306
Function_test_for_node
(self, tree_num, node_num)
federatedscope/vertical_fl/tree_based_models/worker/evaluation_wrapper.py:67
Method_to_bag_of_word
(self, text)
federatedscope/nlp/dataset/leaf_twitter.py:104
Method_try_sample_try
(func)
federatedscope/autotune/fts/server.py:202
Functionadd_gRPCComServeFuncServicer_to_server
(servicer, server)
federatedscope/core/proto/gRPC_comm_manager_pb2_grpc.py:35
Methodadd_neighbors
(self, neighbor_id, address=None)
federatedscope/core/communication.py:31
Methodaggregate
To preform aggregation with Median aggregation rule Arguments: agg_info (dict): the feedbacks from clients :returns:
federatedscope/core/aggregators/bulyan_aggregator.py:21
Methodaggregate
To preform aggregation Arguments: agg_info (dict): the feedbacks from clients Returns: dict: the ag
federatedscope/core/aggregators/clients_avg_aggregator.py:19
Methodaggregate
Returns the aggregated value
federatedscope/core/aggregators/clients_avg_aggregator.py:146
Methodaggregate
Aggregation function. Args: agg_info: information to be aggregated.
federatedscope/core/aggregators/aggregator.py:56
Methodaggregate
Returns the aggregated value
federatedscope/core/aggregators/server_clients_interpolate_aggregator.py:14
Methodaggregate
To preform FedOpt aggregation.
federatedscope/core/aggregators/fedopt_aggregator.py:26
Methodaggregate
To preform aggregation Arguments: agg_info (dict): the feedbacks from clients Returns: dict: the ag
federatedscope/core/aggregators/asyn_clients_avg_aggregator.py:14
Methodaggregate
To preform aggregation with Krum aggregation rule Arguments: agg_info (dict): the feedbacks from clients :returns: t
federatedscope/core/aggregators/krum_aggregator.py:21
Methodaggregate
To preform aggregation with trimmedmean aggregation rule Arguments: agg_info (dict): the feedbacks from clients :retu
federatedscope/core/aggregators/trimmedmean_aggregator.py:28
Methodaggregate
To preform aggregation with normbounding aggregation rule Arguments: agg_info (dict): the feedbacks from clients :ret
federatedscope/core/aggregators/normbounding_aggregator.py:19
Methodaggregate
To preform aggregation with Median aggregation rule Arguments: agg_info (dict): the feedbacks from clients :returns:
federatedscope/core/aggregators/median_aggregator.py:27
Methodaggregate
(self, agg_info)
federatedscope/cross_backends/tf_aggregator.py:14
Functionapproximate_func
Approximate the function f(x) = 0 if x<0.5 otherwise 1 Args: x: input data; device: C1: C2: Returns:
federatedscope/attack/auxiliary/utils.py:73
Methodascent_step
(self)
federatedscope/contrib/trainer/sam.py:23
Functionassert_aggregator_cfg
(cfg)
federatedscope/core/configs/cfg_aggregator.py:30
Functionassert_asyn_cfg
(cfg)
federatedscope/core/configs/cfg_asyn.py:34
Functionassert_attack_cfg
(cfg)
federatedscope/core/configs/cfg_attack.py:62
Functionassert_compression_cfg
(cfg)
federatedscope/core/configs/cfg_compression.py:23
Functionassert_data_cfg
(cfg)
federatedscope/core/configs/cfg_data.py:117
Functionassert_dp_cfg
(cfg)
federatedscope/core/configs/cfg_differential_privacy.py:33
Functionassert_evaluation_cfg
(cfg)
federatedscope/core/configs/cfg_evaluation.py:38
Functionassert_fl_algo_cfg
(cfg)
federatedscope/core/configs/cfg_fl_algo.py:123
Functionassert_fl_setting_cfg
(cfg)
federatedscope/core/configs/cfg_fl_setting.py:116
Functionassert_hpo_cfg
(cfg)
federatedscope/core/configs/cfg_hpo.py:91
Functionassert_llm_cfg
(cfg)
federatedscope/core/configs/cfg_llm.py:113
Functionassert_model_cfg
(cfg)
federatedscope/core/configs/cfg_model.py:71
Functionassert_training_cfg
(cfg)
federatedscope/core/configs/cfg_training.py:101
Methodbalance_sample
(sample_size, y)
federatedscope/vertical_fl/dataset/credit.py:81
Methodbin_path
The full path of the ROUGE binary (although it's technically a script), i.e. rouge_home_dir/ROUGE-1.5.5.pl
federatedscope/nlp/metric/rouge/pyrouge.py:158
Methodblock
(self)
federatedscope/core/auxiliaries/utils.py:45
Methodbroadcast_model_para
(self, msg_type='model_para', sample_client_num=-1,
federatedscope/vertical_fl/tree_based_models/worker/TreeServer.py:35
Methodbroadcast_model_para
To broadcast the message to all clients or sampled clients Arguments: msg_type: 'model_para' or other user defined msg_t
federatedscope/attack/worker_as_attacker/server_attacker.py:47
Methodcal_gain
(self, grad, hess, split_idx, indicator)
federatedscope/vertical_fl/tree_based_models/model/Tree.py:97
Methodcal_gain
(self, split_idx, y, indicator)
federatedscope/vertical_fl/tree_based_models/model/Tree.py:172
Functioncalc_l2_dissim
(last_model, local_updated_models)
federatedscope/core/monitors/metric_calculator.py:360
Functioncall_cl_trainer
(trainer_type)
federatedscope/cl/trainer/trainer.py:102
Functioncall_cnndm_metric
(types)
federatedscope/nlp/hetero_tasks/metric/cnndm.py:20
Functioncall_cv_trainer
(trainer_type)
federatedscope/cv/trainer/trainer.py:12
Functioncall_fedsam_cifar10_splitter
(splitter_type, client_num, **kwargs)
federatedscope/contrib/splitter/fedsam_cifar10_splitter.py:61
Functioncall_fedsam_conv2
(model_config, local_data)
federatedscope/contrib/model/fedsam_convnet.py:52
Functioncall_file_data
(config, client_cfgs)
federatedscope/contrib/data/load_from_files.py:47
Functioncall_graph_level_trainer
(trainer_type)
federatedscope/gfl/trainer/graphtrainer.py:75
Functioncall_link_level_trainer
(trainer_type)
federatedscope/gfl/trainer/linktrainer.py:204
Functioncall_llm_trainer
(trainer_type)
federatedscope/llm/trainer/trainer.py:365
Functioncall_local_entropy_trainer
(trainer_type)
federatedscope/contrib/trainer/local_entropy_trainer.py:5
Functioncall_mf_trainer
(trainer_type)
federatedscope/mf/trainer/trainer.py:114
Functioncall_mini_graph_dt
(config, client_cfgs)
federatedscope/contrib/data/mini_graph_dt.py:158
Functioncall_msqg_metric
(types)
federatedscope/nlp/hetero_tasks/metric/msqg.py:25
Functioncall_my_criterion
(type, device)
federatedscope/contrib/loss/example.py:4
Functioncall_my_metric
(types)
federatedscope/contrib/metrics/example.py:10
Functioncall_my_net
(model_config, local_data)
federatedscope/contrib/model/example.py:17
Functioncall_my_optimizer
(model, type, lr, **kwargs)
federatedscope/contrib/optimizer/example.py:4
Functioncall_my_scheduler
(optimizer, reg_type, **kwargs)
federatedscope/contrib/scheduler/example.py:4
Functioncall_my_splitter
(splitter_type, client_num, **kwargs)
federatedscope/contrib/splitter/example.py:20
Functioncall_my_torch_trainer
(trainer_type)
federatedscope/contrib/trainer/torch_example.py:93
Functioncall_my_trainer
(trainer_type)
federatedscope/contrib/trainer/example.py:10
Functioncall_my_worker
(method)
federatedscope/contrib/worker/example.py:32
Functioncall_newsqa_metric
(types)
federatedscope/nlp/hetero_tasks/metric/newsqa.py:19
Functioncall_nlp_trainer
(trainer_type)
federatedscope/nlp/trainer/trainer.py:25
Functioncall_node_level_trainer
(trainer_type)
federatedscope/gfl/trainer/nodetrainer.py:170
Functioncall_poison_metric
(types)
federatedscope/contrib/metrics/poison_acc.py:26
Functioncall_proximal_regularizer
(type)
federatedscope/core/regularizer/proximal_regularizer.py:33
Functioncall_resnet
(model_config, local_data)
federatedscope/contrib/model/resnet.py:296
Functioncall_sam_trainer
(trainer_type)
federatedscope/contrib/trainer/sam_trainer.py:5
Functioncall_squad_metric
(types)
federatedscope/nlp/hetero_tasks/metric/squad.py:530
Functioncallback_func_for_ask_for_instance_sum
(self, message: Message)
federatedscope/core/feature/vfl/preprocess/instance_norm.py:136
Methodcallback_func_for_data_sample
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/TreeClient.py:84
Functioncallback_func_for_en_y
(self, message: Message)
federatedscope/core/feature/vfl/selection/iv_filter.py:169
Functioncallback_func_for_enc_pred_result
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/he_evaluation_wrapper.py:77
Functioncallback_func_for_feature_importance
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/he_evaluation_wrapper.py:158
Functioncallback_func_for_feature_importance
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/evaluation_wrapper.py:132
Methodcallback_func_for_finish
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/TreeClient.py:113
Functioncallback_func_for_instance_mean
The handling function for calculate instance_norm after receiving \ var and mean.
federatedscope/core/feature/vfl/preprocess/instance_norm.py:194
Functioncallback_func_for_instance_var
The handling function for performing instance_norm after receiving \ var and mean.
federatedscope/core/feature/vfl/preprocess/instance_norm.py:264
Functioncallback_func_for_iv_list
(self, message: Message)
federatedscope/core/feature/vfl/selection/iv_filter.py:218
Methodcallback_func_for_model_para
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/TreeClient.py:73
Functioncallback_func_for_off_node_list
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/he_evaluation_wrapper.py:72
Functioncallback_func_for_pred_result
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/he_evaluation_wrapper.py:106
Functioncallback_func_for_split
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/train_wrapper.py:81
Functioncallback_func_for_split_request
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/evaluation_wrapper.py:104
Functioncallback_func_for_split_result
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/evaluation_wrapper.py:124
Functioncallback_func_for_ss_instance_sum
The handling function for aggregating ss_instance_sum from all clients.
federatedscope/core/feature/vfl/preprocess/instance_norm.py:44
Functioncallback_func_for_ss_instance_sum_norm_square
The handling function for aggregating instance_var from all clients.
federatedscope/core/feature/vfl/preprocess/instance_norm.py:71
Functioncallback_func_for_sum_en_y
(self, message: Message)
federatedscope/core/feature/vfl/selection/iv_filter.py:191
Methodcallback_func_for_training_info
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/TreeClient.py:108
Functioncallback_func_ss_instance_sum
(self, message: Message)
federatedscope/core/feature/vfl/preprocess/instance_norm.py:167
Methodcallback_funcs_for_address
The handling function for receiving other clients' IP addresses, \ which is used for constructing a complex topology Argumen
federatedscope/core/workers/client.py:500
Methodcallback_funcs_for_address
The handling function for receiving other clients' IP addresses, \ which is used for constructing a complex topology Argumen
federatedscope/core/workers/base_client.py:110
← previousnext →1,601–1,700 of 2,364, ranked by callers