MCPcopy Create free account

hub / github.com/HarliWu/FedBiOT / functions

Functions2,364 in github.com/HarliWu/FedBiOT

Functioniterate_for_weight_vector
(self, tree_num, tree_node_list)
federatedscope/vertical_fl/tree_based_models/worker/he_evaluation_wrapper.py:198
Methodjson_to_msg
(self, json_string)
federatedscope/core/message.py:137
Functionl2_norm
(output_student_float, output_teacher_float)
federatedscope/llm/offsite_tuning/kd_trainer.py:12
Functionl2_norm
(output_student_float, output_teacher_float)
federatedscope/llm/trainer/bilevel_OT_trainer.py:34
Functionlambda_forward
(*args, **kwargs)
federatedscope/llm/offsite_tuning/utils.py:27
Functionlandscape
(model='cnn', dname='femnist', algo='avg', sample_client=None,
benchmark/FedHPOBench/fedhpobench/utils/draw.py:291
Methodlayers
(self)
federatedscope/llm/model/adapter_builder.py:259
Functionlifecycle
Manage the lifecycle of the variables within context, \ and blind these operations from user. Arguments: lifecycle: the type of
federatedscope/core/trainers/context.py:330
Functionload_cnndm_metrics
(ctx, **kwargs)
federatedscope/nlp/hetero_tasks/metric/cnndm.py:9
Functionload_huggingface_datasets_data
(name, splits=None, config=None)
federatedscope/core/data/utils.py:385
Functionload_jsonls
(file_paths, is_gzip=False, instruction='instruction', input='
federatedscope/llm/dataloader/dataloader.py:195
Methodload_model
(self, path)
federatedscope/core/trainers/tf_trainer.py:223
Methodload_model
(self, path)
federatedscope/core/trainers/torch_trainer.py:453
Methodload_model
(self, path)
federatedscope/core/aggregators/clients_avg_aggregator.py:57
Methodload_model
(self, path)
federatedscope/core/aggregators/aggregator.py:46
Methodload_model
(self, path)
federatedscope/nlp/hetero_tasks/aggregator/aggregator.py:72
Functionload_msqg_metrics
(ctx, **kwargs)
federatedscope/nlp/hetero_tasks/metric/msqg.py:10
Functionload_newsqa_metrics
(ctx, **kwargs)
federatedscope/nlp/hetero_tasks/metric/newsqa.py:5
Functionload_openml_data
(tid, splits=None, config=None)
federatedscope/core/data/utils.py:502
Functionload_poison_metrics
(ctx, y_true, y_pred, y_prob, **kwargs)
federatedscope/contrib/metrics/poison_acc.py:16
Functionload_squad_metrics
(ctx, **kwargs)
federatedscope/nlp/hetero_tasks/metric/squad.py:516
Methodload_state_dict
(self, state_dict, strict=False)
federatedscope/llm/model/adapter_builder.py:343
Functionload_torchaudio_data
(name, splits=None, config=None)
federatedscope/core/data/utils.py:380
Functionload_torchtext_data
(name, splits=None, config=None)
federatedscope/core/data/utils.py:235
Functionload_torchvision_data
(name, splits=None, config=None)
federatedscope/core/data/utils.py:131
Functionlr_lambda
(cur_step)
federatedscope/core/auxiliaries/scheduler_builder.py:61
Functionmerge_dict
(dict1, dict2)
benchmark/FedHPOBench/fedhpobench/utils/util.py:9
Methodmerge_eval_results_from_all_clients
(self, final_round=False)
federatedscope/nlp/hetero_tasks/worker/server.py:151
Methodmerge_from_file
Load a yaml config file and merge it this CfgNode.
federatedscope/core/configs/yacs_config.py:248
Methodmerge_from_list
Merge config (keys, values) in a list (e.g., from command line) \ into this CfgNode. For example, ``cfg_list = ['FOO.BAR', 0.5]``.
federatedscope/core/configs/yacs_config.py:258
Methodmessage
(self, x_j, norm)
federatedscope/gfl/model/gpr.py:67
Methodmeta_info
(self)
federatedscope/contrib/data/mini_graph_dt.py:112
Methodmethod
(self)
federatedscope/nlp/metric/meteor/meteor.py:51
Methodmethod
(self)
federatedscope/nlp/metric/bleu/bleu.py:42
Methodmode
(self)
federatedscope/core/workers/base_worker.py:66
Functionmodel_distillation
(model, **kwargs)
federatedscope/llm/offsite_tuning/utils.py:158
Functionmodel_drop_layer
(layers, drop_ratio=0.5, **kwargs)
federatedscope/llm/offsite_tuning/utils.py:133
Methodmodel_filename_pattern
The regular expression pattern for matching model summary filenames. The pattern needs to contain the string "#ID#", which is
federatedscope/nlp/metric/rouge/pyrouge.py:190
Functionmodel_pruning
(model, ratio=0.5, **kwargs)
federatedscope/llm/offsite_tuning/utils.py:150
Functionmodel_quantization
(model, bits, **kwargs)
federatedscope/llm/offsite_tuning/utils.py:154
Methodmsg_to_json
(self, to_list=False)
federatedscope/core/message.py:122
Methodmsg_type
(self)
federatedscope/core/message.py:41
Methodnum_relations
(self)
federatedscope/gfl/dataset/kg.py:38
Methodnum_test_batch
(self)
federatedscope/core/trainers/context.py:213
Methodnum_test_epoch
(self)
federatedscope/core/trainers/context.py:219
Methodnum_total_train_batch
(self)
federatedscope/core/trainers/context.py:193
Methodnum_train_batch
(self)
federatedscope/core/trainers/context.py:175
Methodnum_train_batch_last_epoch
(self)
federatedscope/core/trainers/context.py:181
Methodnum_train_epoch
(self)
federatedscope/core/trainers/context.py:187
Methodnum_val_batch
(self)
federatedscope/core/trainers/context.py:200
Methodnum_val_epoch
(self)
federatedscope/core/trainers/context.py:206
Functionobjective
(config, budget=None)
benchmark/FedHPOBench/fedhpobench/optimizers/dehb_optimizer.py:37
Functionobjective
(trial, benchmark, valid_budgets, configspace)
benchmark/FedHPOBench/fedhpobench/optimizers/optuna_optimizer.py:76
Methodobjective_function
(self, configuration, fidelity=None,
benchmark/FedHPOBench/fedhpobench/benchmarks/surrogate_benchmark.py:55
Methodobjective_function
(self, configuration, fidelity=None,
benchmark/FedHPOBench/fedhpobench/benchmarks/raw_benchmark.py:51
Methodobjective_function
(self, configuration, fidelity,
benchmark/FedHPOBench/fedhpobench/benchmarks/tabular_benchmark.py:33
Methodobjective_function
(self, configuration: Union[CS.Configuration, Dict], fid
benchmark/FedHPOBench/demo/base_fed_surrogate_benchmark.py:78
Methodobjective_function_test
Parameters ---------- configuration : Dict, CS.Configuration fidelity: Dict, None Fidelity parameters, ch
benchmark/FedHPOBench/demo/base_fed_tabular_benchmark.py:250
Functionoptimization_function_wrapper
Used as an evaluation function for SMAC optimizer. Args: config: configurations of FS run. Returns: B
federatedscope/autotune/smac.py:22
Functionoptimization_function_wrapper
Helper-function: simple wrapper to use the benchmark with smac
benchmark/FedHPOBench/fedhpobench/optimizers/smac_optimizer.py:17
Methodoptimize
(self)
federatedscope/autotune/algos.py:195
Methodoptimize
(self)
federatedscope/autotune/algos.py:257
Methodparse_data
Populate "{}_data", "{}_loader" and "num_{}_data" for different modes
federatedscope/core/trainers/tf_trainer.py:28
Methodparse_data
Populate "${split}_data", "${split}_loader" and "num_${ split}_data" for different data splits
federatedscope/core/trainers/torch_trainer.py:50
Methodparse_data
Populate "{}_data", "{}_loader" and "num_{}_data" for different modes
federatedscope/mf/trainer/trainer.py:24
Methodparse_data
(self, data)
federatedscope/nlp/hetero_tasks/trainer/trainer.py:91
Methodparse_data
Populate "{}_data", "{}_loader" and "num_{}_data" for different modes
federatedscope/gfl/trainer/linktrainer.py:38
Methodparse_data
Populate "{}_data", "{}_loader" and "num_{}_data" for different modes
federatedscope/gfl/trainer/linktrainer.py:138
Methodparse_data
Populate "{}_data", "{}_loader" and "num_{}_data" for different modes
federatedscope/gfl/trainer/nodetrainer.py:16
Methodparse_data
Populate "{}_data", "{}_loader" and "num_{}_data" for different modes
federatedscope/gfl/trainer/nodetrainer.py:91
Functionparse_logs
(file_list)
federatedscope/autotune/utils.py:191
Functionparse_pbounds
(search_space)
federatedscope/autotune/pfedhpo/utils.py:113
Functionplot_line_figs
()
benchmark/pFL-Bench/res_analysis_plot/render_paper_res.py:803
Functionplot_mia_loss_compare
(loss_in_pth, loss_out_pth, in_round=20)
federatedscope/attack/auxiliary/utils.py:328
Functionplot_trade_off_figs
(filters_each_line_main_table)
benchmark/pFL-Bench/res_analysis_plot/render_paper_res.py:812
Methodportion_ms_node
r""" Returns: the proportion of nodes who miss egde.
federatedscope/core/splitters/graph/analyzer.py:97
Methodprint_model_map
(self)
federatedscope/llm/model/adapter_builder.py:250
Methodprint_trainer_meta_info
Returns: String contains meta information of Trainer.
federatedscope/core/trainers/base_trainer.py:28
Functionprocess
(params)
federatedscope/nlp/metric/rouge/utils.py:28
Methodprocess
(self)
federatedscope/contrib/data/mini_graph_dt.py:59
Methodprocess
(self)
federatedscope/cv/dataset/leaf_cv.py:121
Methodprocess
(self)
federatedscope/nlp/dataset/leaf_twitter.py:159
Methodprocess
(self)
federatedscope/nlp/dataset/leaf_synthetic.py:182
Methodprocess
(self)
federatedscope/nlp/dataset/leaf_nlp.py:173
Methodprocess
(self)
federatedscope/gfl/dataset/kg.py:72
Methodprocess
(self)
federatedscope/gfl/dataset/dblp_new.py:154
Methodprocess
(self)
federatedscope/gfl/dataset/recsys.py:158
Methodprocess
(self)
federatedscope/gfl/dataset/cSBM_dataset.py:322
Methodprocess
(self)
federatedscope/gfl/dataset/cikm_cup.py:38
Functionprocess_agnews_dataset
(data, split, tokenizer, max_
federatedscope/nlp/hetero_tasks/dataset/agnews.py:20
Functionprocess_cnndm_dataset
(data, split, tokenizer, max_src
federatedscope/nlp/hetero_tasks/dataset/cnndm.py:22
Functionprocess_imdb_dataset
(data, split, tokenizer, max_seq_le
federatedscope/nlp/hetero_tasks/dataset/imdb.py:20
Functionprocess_msqg_dataset
(data, split, tokenizer, max_src_le
federatedscope/nlp/hetero_tasks/dataset/msqg.py:22
Functionprocess_newsqa_dataset
(data, split, tokenizer, max_
federatedscope/nlp/hetero_tasks/dataset/newsqa.py:176
Functionprocess_squad_dataset
(data, split, tokenizer, max_seq
federatedscope/nlp/hetero_tasks/dataset/squad.py:170
Methodprocessed_dir
(self)
federatedscope/contrib/data/mini_graph_dt.py:32
Methodprocessed_dir
(self)
federatedscope/cv/dataset/leaf.py:55
Methodprocessed_dir
(self)
federatedscope/gfl/dataset/kg.py:46
Methodprocessed_dir
(self)
federatedscope/gfl/dataset/dblp_new.py:145
Methodprocessed_dir
(self)
federatedscope/gfl/dataset/recsys.py:138
← previousnext →2,001–2,100 of 2,364, ranked by callers