# FedLearning **Repository Path**: jerry-cat/fed-learning ## Basic Information - **Project Name**: FedLearning - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-12-23 - **Last Updated**: 2025-04-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # FedAVE: Adaptive Data Value Evaluation Framework for Collaborative Fairness in Federated Learning This repository is an implementation of the collaborative fairness of federated learning algorithm (under review). ## First Run the command below to get the splited dataset MNIST: ``` python generate_fedtask.py --dataset mnist --dist 0 --skew 0 --num_clients 10 ``` ## Second Run the command below to qucikly get a result of the basic algorithm FedAVE on MNIST with a simple MLP: ``` python main.py --task mnist_cnum10_dist18_skew0.0_seed0 --model mlp --algorithm FedAVE --num_rounds 20 --num_epochs 3 --learning_rate 0.15 --batch_size 32 --eval_interval 1 --Beta 5 --gpu 0 ``` ### FedSAC-mlp ``` python main.py --task cifar10_cnum10_dist18_skew0.5_seed0 --model mlp --algorithm FedSAC-mlp --num_rounds 20 --num_epochs 15 --learning_rate 0.03 --batch_size 32 --Beta 3 --gpu 0 --contributions 0.3313 0.3891 0.3795 0.4108 0.4009 0.403 0.4143 0.4111 0.4025 0.396 ```