# Module: tff.learning.algorithms

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) 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) |

Libraries providing implementations of federated learning algorithms.

## Functions

[`build_fed_eval(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_fed_eval): Builds a learning process that performs federated evaluation.

[`build_fed_kmeans(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_fed_kmeans): Builds a learning process for federated k-means clustering.

[`build_fed_recon(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_fed_recon): Builds the IterativeProcess for optimization using FedRecon.

[`build_fed_recon_eval(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_fed_recon_eval): Builds a [`tff.Computation`](https://www.tensorflow.org/federated/api_docs/python/tff/Computation) for evaluating a reconstruction `Model`.

[`build_fed_sgd(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_fed_sgd): Builds a learning process that performs federated SGD.

[`build_mime_lite_with_optimizer_schedule(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_mime_lite_with_optimizer_schedule): Builds a learning process for Mime Lite with optimizer scheduling.

[`build_personalization_eval_computation(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_personalization_eval_computation): Builds the TFF computation for evaluating personalization strategies.

[`build_unweighted_fed_avg(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_unweighted_fed_avg): Builds a learning process that performs federated averaging.

[`build_unweighted_fed_prox(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_unweighted_fed_prox): Builds a learning process that performs the FedProx algorithm.

[`build_unweighted_mime_lite(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_unweighted_mime_lite): Builds a learning process that performs Mime Lite.

[`build_weighted_fed_avg(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_weighted_fed_avg): Builds a learning process that performs federated averaging.

[`build_weighted_fed_avg_with_optimizer_schedule(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_weighted_fed_avg_with_optimizer_schedule): Builds a learning process for FedAvg with client optimizer scheduling.

[`build_weighted_fed_prox(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_weighted_fed_prox): Builds a learning process that performs the FedProx algorithm.

[`build_weighted_mime_lite(...)`](https://www.tensorflow.org/federated/api_docs/python/tff/learning/algorithms/build_weighted_mime_lite): Builds a learning process that performs Mime Lite.