> For the complete documentation index, see [llms.txt](https://docs.feltlabs.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.feltlabs.ai/fundamentals/federated-learning.md).

# Federated Learning

Federated learning is a powerful technique that enables multiple parties to collaborate on training a single machine learning model while keeping their private data secure. For example, three separate companies might want to create a machine learning model to improve their product recommendations, but they don't want to share their data with each other. With federated learning, each company trains a local model on its own data. These local models are then combined to create a global model that's better than any of the local models individually, while ensuring that no sensitive data is revealed during the process.

{% hint style="info" %}
There are many applications where companies/individuals can make use of federated learning:

* Car manufacturers sharing self-driving data
* Hospitals developing AI to treat patients better
* Individuals sharing data from fitness tracking devices
* Ecommerce providing better products to customers
  {% endhint %}

FELT makes federated learning simple by providing its own algorithms for training and aggregating models. We rely on Ocean protocol to handle everything around data management. Our platform allows data scientists to easily select any compatible data published on Ocean and use it to train their models. They can choose our algorithms or create their own for their specific use case, and run them seamlessly through FELT. Meanwhile, data providers can set prices on their data and get paid for providing compute to their private data.

*There are multiple approaches to federated learning. At the moment, FELT implements only one of them, but we have plans to extend this in the future.*


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.feltlabs.ai/fundamentals/federated-learning.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
