Learn the essential skills for building an authentic federated learning system with Python and take your machine learning applications to the next level

Key Features

  • Design distributed systems that can be applied to real-world federated learning applications at scale
  • Discover multiple aggregation schemes applicable to various ML settings and applications
  • Develop a federated learning system that can be tested in distributed machine learning settings

Book Description

Federated learning (FL) is a paradigm-shifting technology in AI that enables and accelerates machine learning (ML), allowing you to work on private data. It has become a must-have solution for most enterprise industries, making it a critical part of your learning journey. This book helps you get to grips with the building blocks of FL and how the systems work and interact with each other using solid coding examples.

FL is more than just aggregating collected ML models and bringing them back to the distributed agents. This book teaches you about all the essential basics of FL and shows you how to design distributed systems and learning mechanisms carefully so as to synchronize the dispersed learning processes and synthesize the locally trained ML models in a consistent manner. This way, you'll be able to create a sustainable and resilient FL system that can constantly function in real-world operations. This book goes further than simply outlining FL's conceptual framework or theory, as is the case with the majority of research-related literature.

By the end of this book, you'll have an in-depth understanding of the FL system design and implementation basics and be able to create an FL system and applications that can be deployed to various local and cloud environments.

What you will learn

  • Discover the challenges related to centralized big data ML that we currently face along with their solutions
  • Understand the theoretical and conceptual basics of FL
  • Acquire design and architecting skills to build an FL system
  • Explore the actual implementation of FL servers and clients
  • Find out how to integrate FL into your own ML application
  • Understand various aggregation mechanisms for diverse ML scenarios
  • Discover popular use cases and future trends in FL

Who this book is for

This book is for machine learning engineers, data scientists, and artificial intelligence (AI) enthusiasts who want to learn about creating machine learning applications empowered by federated learning. You'll need basic knowledge of Python programming and machine learning concepts to get started with this book.

Table of Contents

  1. Federated Learning with Python
  2. Acknowledgments
  3. Contributors
  4. About the authors
  5. About the reviewer
  6. Preface
  7. Part 1 Federated Learning – Conceptual Foundations
  8. Chapter 1: Challenges in Big Data and Traditional AI
  9. Chapter 2: What Is Federated Learning?
  10. Chapter 3: Workings of the Federated Learning System
  11. Part 2 The Design and Implementation of the Federated Learning System
  12. Chapter 4: Federated Learning Server Implementation with Python
  13. Chapter 5: Federated Learning Client-Side Implementation
  14. Chapter 6: Running the Federated Learning System and Analyzing the Results
  15. Chapter 7: Model Aggregation
  16. Part 3 Moving Toward the Production of Federated Learning Applications
  17. Chapter 8: Introducing Existing Federated Learning Frameworks
  18. Chapter 9: Case Studies with Key Use Cases of Federated Learning Applications
  19. Chapter 10: Future Trends and Developments
  20. Appendix: Exploring Internal Libraries
  21. Index
  22. Other Books You May Enjoy