Module: tff.learning.algorithms
Stay organized with collections
Save and categorize content based on your preferences.
Libraries providing implementations of federated learning algorithms.
Functions
build_fed_eval(...)
: Builds a learning process that performs federated evaluation.
build_fed_kmeans(...)
: Builds a learning process for federated k-means clustering.
build_fed_recon(...)
: Builds the IterativeProcess for optimization using FedRecon.
build_fed_recon_eval(...)
: Builds a tff.Computation
for evaluating a reconstruction Model
.
build_fed_sgd(...)
: Builds a learning process that performs federated SGD.
build_mime_lite_with_optimizer_schedule(...)
: Builds a learning process for Mime Lite with optimizer scheduling.
build_personalization_eval_computation(...)
: Builds the TFF computation for evaluating personalization strategies.
build_unweighted_fed_avg(...)
: Builds a learning process that performs federated averaging.
build_unweighted_fed_prox(...)
: Builds a learning process that performs the FedProx algorithm.
build_unweighted_mime_lite(...)
: Builds a learning process that performs Mime Lite.
build_weighted_fed_avg(...)
: Builds a learning process that performs federated averaging.
build_weighted_fed_avg_with_optimizer_schedule(...)
: Builds a learning process for FedAvg with client optimizer scheduling.
build_weighted_fed_prox(...)
: Builds a learning process that performs the FedProx algorithm.
build_weighted_mime_lite(...)
: Builds a learning process that performs Mime Lite.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-20 UTC."],[],[],null,["# Module: tff.learning.algorithms\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/federated/blob/v0.87.0 Version 2.0, January 2004 Licensed under the Apache License, Version 2.0 (the) |\n\nLibraries providing implementations of federated learning algorithms.\n\nFunctions\n---------\n\n[`build_fed_eval(...)`](../../tff/learning/algorithms/build_fed_eval): Builds a learning process that performs federated evaluation.\n\n[`build_fed_kmeans(...)`](../../tff/learning/algorithms/build_fed_kmeans): Builds a learning process for federated k-means clustering.\n\n[`build_fed_recon(...)`](../../tff/learning/algorithms/build_fed_recon): Builds the IterativeProcess for optimization using FedRecon.\n\n[`build_fed_recon_eval(...)`](../../tff/learning/algorithms/build_fed_recon_eval): Builds a [`tff.Computation`](../../tff/Computation) for evaluating a reconstruction `Model`.\n\n[`build_fed_sgd(...)`](../../tff/learning/algorithms/build_fed_sgd): Builds a learning process that performs federated SGD.\n\n[`build_mime_lite_with_optimizer_schedule(...)`](../../tff/learning/algorithms/build_mime_lite_with_optimizer_schedule): Builds a learning process for Mime Lite with optimizer scheduling.\n\n[`build_personalization_eval_computation(...)`](../../tff/learning/algorithms/build_personalization_eval_computation): Builds the TFF computation for evaluating personalization strategies.\n\n[`build_unweighted_fed_avg(...)`](../../tff/learning/algorithms/build_unweighted_fed_avg): Builds a learning process that performs federated averaging.\n\n[`build_unweighted_fed_prox(...)`](../../tff/learning/algorithms/build_unweighted_fed_prox): Builds a learning process that performs the FedProx algorithm.\n\n[`build_unweighted_mime_lite(...)`](../../tff/learning/algorithms/build_unweighted_mime_lite): Builds a learning process that performs Mime Lite.\n\n[`build_weighted_fed_avg(...)`](../../tff/learning/algorithms/build_weighted_fed_avg): Builds a learning process that performs federated averaging.\n\n[`build_weighted_fed_avg_with_optimizer_schedule(...)`](../../tff/learning/algorithms/build_weighted_fed_avg_with_optimizer_schedule): Builds a learning process for FedAvg with client optimizer scheduling.\n\n[`build_weighted_fed_prox(...)`](../../tff/learning/algorithms/build_weighted_fed_prox): Builds a learning process that performs the FedProx algorithm.\n\n[`build_weighted_mime_lite(...)`](../../tff/learning/algorithms/build_weighted_mime_lite): Builds a learning process that performs Mime Lite."]]