Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fal_framework-0.1.0-py3-none-any.whl (61.4 kB view details)

Uploaded Python 3

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

Hashes for fal_framework-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d12bf5d5ed5f4f7ca722ffc9689809d81074060bbeb3dd29edae7dfa0d1928f7
MD5 f8831349852617a75ac35ee8baea1460
BLAKE2b-256 a5df5d50570d3aaa3064ceeca2adf704eee30acf6d5153d378208d2a87032c63

See more details on using hashes here.

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

Hashes for fal_framework-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 631686c9192e5a6b8ab871c76e57b34168be31d85a9f14c5c85beb05fd7fb1e2
MD5 a1de66be762dad658672cc090a367baf
BLAKE2b-256 78b9250452949b03be604593c0dbf0438bc092cdc5ad0c17e183ad7b81c435e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page