Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/HarliWu/FedBiOT
/ functions
Functions
2,364 in github.com/HarliWu/FedBiOT
⨍
Functions
2,364
◇
Types & classes
365
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
Function
add_gRPCComServeFuncServicer_to_server
(servicer, server)
federatedscope/core/proto/gRPC_comm_manager_pb2_grpc.py:35
Method
add_neighbors
(self, neighbor_id, address=None)
federatedscope/core/communication.py:31
Method
aggregate
To preform aggregation with Median aggregation rule Arguments: agg_info (dict): the feedbacks from clients :returns:
federatedscope/core/aggregators/bulyan_aggregator.py:21
Method
aggregate
To preform aggregation Arguments: agg_info (dict): the feedbacks from clients Returns: dict: the ag
federatedscope/core/aggregators/clients_avg_aggregator.py:19
Method
aggregate
Returns the aggregated value
federatedscope/core/aggregators/clients_avg_aggregator.py:146
Method
aggregate
Aggregation function. Args: agg_info: information to be aggregated.
federatedscope/core/aggregators/aggregator.py:56
Method
aggregate
Returns the aggregated value
federatedscope/core/aggregators/server_clients_interpolate_aggregator.py:14
Method
aggregate
To preform FedOpt aggregation.
federatedscope/core/aggregators/fedopt_aggregator.py:26
Method
aggregate
To preform aggregation Arguments: agg_info (dict): the feedbacks from clients Returns: dict: the ag
federatedscope/core/aggregators/asyn_clients_avg_aggregator.py:14
Method
aggregate
To preform aggregation with Krum aggregation rule Arguments: agg_info (dict): the feedbacks from clients :returns: t
federatedscope/core/aggregators/krum_aggregator.py:21
Method
aggregate
To preform aggregation with trimmedmean aggregation rule Arguments: agg_info (dict): the feedbacks from clients :retu
federatedscope/core/aggregators/trimmedmean_aggregator.py:28
Method
aggregate
To preform aggregation with normbounding aggregation rule Arguments: agg_info (dict): the feedbacks from clients :ret
federatedscope/core/aggregators/normbounding_aggregator.py:19
Method
aggregate
To preform aggregation with Median aggregation rule Arguments: agg_info (dict): the feedbacks from clients :returns:
federatedscope/core/aggregators/median_aggregator.py:27
Method
aggregate
(self, agg_info)
federatedscope/cross_backends/tf_aggregator.py:14
Function
approximate_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
Method
ascent_step
(self)
federatedscope/contrib/trainer/sam.py:23
Function
assert_aggregator_cfg
(cfg)
federatedscope/core/configs/cfg_aggregator.py:30
Function
assert_asyn_cfg
(cfg)
federatedscope/core/configs/cfg_asyn.py:34
Function
assert_attack_cfg
(cfg)
federatedscope/core/configs/cfg_attack.py:62
Function
assert_compression_cfg
(cfg)
federatedscope/core/configs/cfg_compression.py:23
Function
assert_data_cfg
(cfg)
federatedscope/core/configs/cfg_data.py:117
Function
assert_dp_cfg
(cfg)
federatedscope/core/configs/cfg_differential_privacy.py:33
Function
assert_evaluation_cfg
(cfg)
federatedscope/core/configs/cfg_evaluation.py:38
Function
assert_fl_algo_cfg
(cfg)
federatedscope/core/configs/cfg_fl_algo.py:123
Function
assert_fl_setting_cfg
(cfg)
federatedscope/core/configs/cfg_fl_setting.py:116
Function
assert_hpo_cfg
(cfg)
federatedscope/core/configs/cfg_hpo.py:91
Function
assert_llm_cfg
(cfg)
federatedscope/core/configs/cfg_llm.py:113
Function
assert_model_cfg
(cfg)
federatedscope/core/configs/cfg_model.py:71
Function
assert_training_cfg
(cfg)
federatedscope/core/configs/cfg_training.py:101
Method
balance_sample
(sample_size, y)
federatedscope/vertical_fl/dataset/credit.py:81
Method
bin_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
Method
block
(self)
federatedscope/core/auxiliaries/utils.py:45
Method
broadcast_model_para
(self, msg_type='model_para', sample_client_num=-1,
federatedscope/vertical_fl/tree_based_models/worker/TreeServer.py:35
Method
broadcast_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
Method
cal_gain
(self, grad, hess, split_idx, indicator)
federatedscope/vertical_fl/tree_based_models/model/Tree.py:97
Method
cal_gain
(self, split_idx, y, indicator)
federatedscope/vertical_fl/tree_based_models/model/Tree.py:172
Function
calc_l2_dissim
(last_model, local_updated_models)
federatedscope/core/monitors/metric_calculator.py:360
Function
call_cl_trainer
(trainer_type)
federatedscope/cl/trainer/trainer.py:102
Function
call_cnndm_metric
(types)
federatedscope/nlp/hetero_tasks/metric/cnndm.py:20
Function
call_cv_trainer
(trainer_type)
federatedscope/cv/trainer/trainer.py:12
Function
call_fedsam_cifar10_splitter
(splitter_type, client_num, **kwargs)
federatedscope/contrib/splitter/fedsam_cifar10_splitter.py:61
Function
call_fedsam_conv2
(model_config, local_data)
federatedscope/contrib/model/fedsam_convnet.py:52
Function
call_file_data
(config, client_cfgs)
federatedscope/contrib/data/load_from_files.py:47
Function
call_graph_level_trainer
(trainer_type)
federatedscope/gfl/trainer/graphtrainer.py:75
Function
call_link_level_trainer
(trainer_type)
federatedscope/gfl/trainer/linktrainer.py:204
Function
call_llm_trainer
(trainer_type)
federatedscope/llm/trainer/trainer.py:365
Function
call_local_entropy_trainer
(trainer_type)
federatedscope/contrib/trainer/local_entropy_trainer.py:5
Function
call_mf_trainer
(trainer_type)
federatedscope/mf/trainer/trainer.py:114
Function
call_mini_graph_dt
(config, client_cfgs)
federatedscope/contrib/data/mini_graph_dt.py:158
Function
call_msqg_metric
(types)
federatedscope/nlp/hetero_tasks/metric/msqg.py:25
Function
call_my_criterion
(type, device)
federatedscope/contrib/loss/example.py:4
Function
call_my_metric
(types)
federatedscope/contrib/metrics/example.py:10
Function
call_my_net
(model_config, local_data)
federatedscope/contrib/model/example.py:17
Function
call_my_optimizer
(model, type, lr, **kwargs)
federatedscope/contrib/optimizer/example.py:4
Function
call_my_scheduler
(optimizer, reg_type, **kwargs)
federatedscope/contrib/scheduler/example.py:4
Function
call_my_splitter
(splitter_type, client_num, **kwargs)
federatedscope/contrib/splitter/example.py:20
Function
call_my_torch_trainer
(trainer_type)
federatedscope/contrib/trainer/torch_example.py:93
Function
call_my_trainer
(trainer_type)
federatedscope/contrib/trainer/example.py:10
Function
call_my_worker
(method)
federatedscope/contrib/worker/example.py:32
Function
call_newsqa_metric
(types)
federatedscope/nlp/hetero_tasks/metric/newsqa.py:19
Function
call_nlp_trainer
(trainer_type)
federatedscope/nlp/trainer/trainer.py:25
Function
call_node_level_trainer
(trainer_type)
federatedscope/gfl/trainer/nodetrainer.py:170
Function
call_poison_metric
(types)
federatedscope/contrib/metrics/poison_acc.py:26
Function
call_proximal_regularizer
(type)
federatedscope/core/regularizer/proximal_regularizer.py:33
Function
call_resnet
(model_config, local_data)
federatedscope/contrib/model/resnet.py:296
Function
call_sam_trainer
(trainer_type)
federatedscope/contrib/trainer/sam_trainer.py:5
Function
call_squad_metric
(types)
federatedscope/nlp/hetero_tasks/metric/squad.py:530
Function
callback_func_for_ask_for_instance_sum
(self, message: Message)
federatedscope/core/feature/vfl/preprocess/instance_norm.py:136
Method
callback_func_for_data_sample
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/TreeClient.py:84
Function
callback_func_for_en_y
(self, message: Message)
federatedscope/core/feature/vfl/selection/iv_filter.py:169
Function
callback_func_for_enc_pred_result
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/he_evaluation_wrapper.py:77
Function
callback_func_for_feature_importance
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/he_evaluation_wrapper.py:158
Function
callback_func_for_feature_importance
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/evaluation_wrapper.py:132
Method
callback_func_for_finish
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/TreeClient.py:113
Function
callback_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
Function
callback_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
Function
callback_func_for_iv_list
(self, message: Message)
federatedscope/core/feature/vfl/selection/iv_filter.py:218
Method
callback_func_for_model_para
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/TreeClient.py:73
Function
callback_func_for_off_node_list
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/he_evaluation_wrapper.py:72
Function
callback_func_for_pred_result
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/he_evaluation_wrapper.py:106
Function
callback_func_for_split
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/train_wrapper.py:81
Function
callback_func_for_split_request
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/evaluation_wrapper.py:104
Function
callback_func_for_split_result
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/evaluation_wrapper.py:124
Function
callback_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
Function
callback_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
Function
callback_func_for_sum_en_y
(self, message: Message)
federatedscope/core/feature/vfl/selection/iv_filter.py:191
Method
callback_func_for_training_info
(self, message: Message)
federatedscope/vertical_fl/tree_based_models/worker/TreeClient.py:108
Function
callback_func_ss_instance_sum
(self, message: Message)
federatedscope/core/feature/vfl/preprocess/instance_norm.py:167
Method
callback_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
Method
callback_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
← previous
next →
1,601–1,700 of 2,364, ranked by callers