Federated Adversarial Learning framework.
Project description
FAL Framework
Federated Adversarial Learning framework for running federated learning experiments with clean, adversarial, and mixed training modes.
Install
pip install fal-framework
Use
from sklearn.linear_model import LogisticRegression
from fal import FAL
fal = FAL(
dataset="wine",
model=LogisticRegression(max_iter=1000),
trainer_type="clean",
metrics=["accuracy", "f1"],
num_clients=3,
num_rounds=3,
fl_algorithm="fedavg",
)
result = fal.run()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fal_framework-0.1.0.tar.gz
(39.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fal_framework-0.1.0.tar.gz.
File metadata
- Download URL: fal_framework-0.1.0.tar.gz
- Upload date:
- Size: 39.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d12bf5d5ed5f4f7ca722ffc9689809d81074060bbeb3dd29edae7dfa0d1928f7
|
|
| MD5 |
f8831349852617a75ac35ee8baea1460
|
|
| BLAKE2b-256 |
a5df5d50570d3aaa3064ceeca2adf704eee30acf6d5153d378208d2a87032c63
|
File details
Details for the file fal_framework-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fal_framework-0.1.0-py3-none-any.whl
- Upload date:
- Size: 61.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
631686c9192e5a6b8ab871c76e57b34168be31d85a9f14c5c85beb05fd7fb1e2
|
|
| MD5 |
a1de66be762dad658672cc090a367baf
|
|
| BLAKE2b-256 |
78b9250452949b03be604593c0dbf0438bc092cdc5ad0c17e183ad7b81c435e8
|