Skip to main content

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()

Metadata

Release files for fal-framework 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fal-framework 0.2.1
File Size Uploaded Provenance
fal_framework-0.2.1.tar.gz 67.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fal-framework 0.2.1
File Interpreter ABI Platform
fal_framework-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 145.6 kB

Release files / fal_framework-0.2.1.tar.gz

Download URL fal_framework-0.2.1.tar.gz
Size 67.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6dc1a4bf98aa14a7f127c048b2ed0107d963d635e0e315a8c843493d891aa4d6
BLAKE2b-256 checksum
How to use checksums
5b84a2df11811325e5fc09c97726668f5c1fd3228822636a26b92c6c9fd4bc2f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Release files / fal_framework-0.2.1-py3-none-any.whl

Download URL fal_framework-0.2.1-py3-none-any.whl
Size 78.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2e4cbaf431d81eeed5c5abd35b90499474c59a7eb592a3aaea6c6f983493e5bb
BLAKE2b-256 checksum
How to use checksums
d9c39e093007a389b881d9915efae723db69320105683575e5a753f623067ca2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.9

Security for fal-framework 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page