Machine Learning in Microservices


Book Description

Implement real-world machine learning in a microservices architecture as well as design, build, and deploy intelligent microservices systems using examples and case studies Purchase of the print or Kindle book includes a free PDF eBook Key FeaturesDesign, build, and run microservices systems that utilize the full potential of machine learningDiscover the latest models and techniques for combining microservices and machine learning to create scalable systemsImplement machine learning in microservices architecture using open source applications with pros and consBook Description With the rising need for agile development and very short time-to-market system deployments, incorporating machine learning algorithms into decoupled fine-grained microservices systems provides the perfect technology mix for modern systems. Machine Learning in Microservices is your essential guide to staying ahead of the curve in this ever-evolving world of technology. The book starts by introducing you to the concept of machine learning microservices architecture (MSA) and comparing MSA with service-based and event-driven architectures, along with how to transition into MSA. Next, you'll learn about the different approaches to building MSA and find out how to overcome common practical challenges faced in MSA design. As you advance, you'll get to grips with machine learning (ML) concepts and see how they can help better design and run MSA systems. Finally, the book will take you through practical examples and open source applications that will help you build and run highly efficient, agile microservices systems. By the end of this microservices book, you'll have a clear idea of different models of microservices architecture and machine learning and be able to combine both technologies to deliver a flexible and highly scalable enterprise system. What you will learnRecognize the importance of MSA and ML and deploy both technologies in enterprise systemsExplore MSA enterprise systems and their general practical challengesDiscover how to design and develop microservices architectureUnderstand the different AI algorithms, types, and models and how they can be applied to MSAIdentify and overcome common MSA deployment challenges using AI and ML algorithmsExplore general open source and commercial tools commonly used in MSA enterprise systemsWho this book is for This book is for machine learning solution architects, system and machine learning developers, and system and solution integrators of private and public sector organizations. Basic knowledge of DevOps, system architecture, and artificial intelligence (AI) systems is assumed, and working knowledge of the Python programming language is highly desired.




Grokking Machine Learning


Book Description

Grokking Machine Learning presents machine learning algorithms and techniques in a way that anyone can understand. This book skips the confused academic jargon and offers clear explanations that require only basic algebra. As you go, you'll build interesting projects with Python, including models for spam detection and image recognition. You'll also pick up practical skills for cleaning and preparing data.




Machine Learning for Business


Book Description

Summary Imagine predicting which customers are thinking about switching to a competitor or flagging potential process failures before they happen Think about the benefits of forecasting tedious business processes and back-office tasks Envision quickly gauging customer sentiment from social media content (even large volumes of it). Consider the competitive advantage of making decisions when you know the most likely future events Machine learning can deliver these and other advantages to your business, and it’s never been easier to get started! Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the technology Machine learning can deliver huge benefits for everyday business tasks. With some guidance, you can get those big wins yourself without complex math or highly paid consultants! If you can crunch numbers in Excel, you can use modern ML services to efficiently direct marketing dollars, identify and keep your best customers, and optimize back office processes. This book shows you how. About the book Machine Learning for Business teaches business-oriented machine learning techniques you can do yourself. Concentrating on practical topics like customer retention, forecasting, and back office processes, you’ll work through six projects that help you form an ML-for-business mindset. To guarantee your success, you’ll use the Amazon SageMaker ML service, which makes it a snap to turn your questions into results. What's inside Identifying tasks suited to machine learning Automating back office processes Using open source and cloud-based tools Relevant case studies About the reader For technically inclined business professionals or business application developers. About the author Doug Hudgeon and Richard Nichol specialize in maximizing the value of business data through AI and machine learning for companies of any size. Table of Contents: PART 1 MACHINE LEARNING FOR BUSINESS 1 ¦ How machine learning applies to your business PART 2 SIX SCENARIOS: MACHINE LEARNING FOR BUSINESS 2 ¦ Should you send a purchase order to a technical approver? 3 ¦ Should you call a customer because they are at risk of churning? 4 ¦ Should an incident be escalated to your support team? 5 ¦ Should you question an invoice sent by a supplier? 6 ¦ Forecasting your company’s monthly power usage 7 ¦ Improving your company’s monthly power usage forecast PART 3 MOVING MACHINE LEARNING INTO PRODUCTION 8 ¦ Serving predictions over the web 9 ¦ Case studies




Software Architecture


Book Description

This book constitutes the refereed proceedings of the 15th International Conference on Software Architecture, ECSA 2021, held in Sweden, in September 2021. Due to COVID-19 pandemic the conference was held virtually. In the Research Track, 11 full papers presented together with 5 short papers were carefully reviewed and selected from 58 submissions. The papers are organized in topical sections as follows: architectures for reconfigurable and self-adaptive systems; machine learning for software architecture; architectural knowledge, decisions, and rationale; architecting for quality attributes ̧ hitecture-centric source code analysis




Machine Learning Design Patterns


Book Description

The design patterns in this book capture best practices and solutions to recurring problems in machine learning. The authors, three Google engineers, catalog proven methods to help data scientists tackle common problems throughout the ML process. These design patterns codify the experience of hundreds of experts into straightforward, approachable advice. In this book, you will find detailed explanations of 30 patterns for data and problem representation, operationalization, repeatability, reproducibility, flexibility, explainability, and fairness. Each pattern includes a description of the problem, a variety of potential solutions, and recommendations for choosing the best technique for your situation. You'll learn how to: Identify and mitigate common challenges when training, evaluating, and deploying ML models Represent data for different ML model types, including embeddings, feature crosses, and more Choose the right model type for specific problems Build a robust training loop that uses checkpoints, distribution strategy, and hyperparameter tuning Deploy scalable ML systems that you can retrain and update to reflect new data Interpret model predictions for stakeholders and ensure models are treating users fairly




Microservices for Machine Learning


Book Description

Empowering AI innovations: The fusion of microservices and ML KEY FEATURES ● Microservices and ML fundamentals, advancements, and practical applications in various industries. ● Simplify complex ML development with distributed and scalable microservices architectures. ● Discover real-world scenarios illustrating the fusion of microservices and ML, showcasing AI's impact across industries. DESCRIPTION Explore the link between microservices and ML in Microservices for Machine Learning. Through this book, you will learn to build scalable systems by understanding modular software construction principles. You will also discover ML algorithms and tools like TensorFlow and PyTorch for developing advanced models. It equips you with the technical know-how to design, implement, and manage high-performance ML applications using microservices architecture. It establishes a foundation in microservices principles and core ML concepts before diving into practical aspects. You will learn how to design ML-specific microservices, implement them using frameworks like Flask, and containerize them with Docker for scalability. Data management strategies for ML are explored, including techniques for real-time data ingestion and data versioning. This book also addresses crucial aspects of securing ML microservices and using CI/CD practices to streamline development and deployment. Finally, you will discover real-world use cases showcasing how ML microservices are revolutionizing various industries, alongside a glimpse into the exciting future trends shaping this evolving field. Additionally, you will learn how to implement ML microservices with practical examples in Java and Python. This book merges software engineering and AI, guiding readers through modern development challenges. It is a guide for innovators, boosting efficiency and leading the way to a future of impactful technology solutions. WHAT YOU WILL LEARN ● Master the principles of microservices architecture for scalable software design. ● Deploy ML microservices using cloud platforms like AWS and Azure for scalability. ● Ensure ML microservices security with best practices in data encryption and access control. ● Utilize Docker and Kubernetes for efficient microservice containerization and orchestration. ● Implement CI/CD pipelines for automated, reliable ML model deployments. WHO THIS BOOK IS FOR This book is for data scientists, ML engineers, data engineers, DevOps team, and cloud engineers who are responsible for delivering real-time, accurate, and reliable ML models into production. TABLE OF CONTENTS 1. Introducing Microservices and Machine Learning 2. Foundation of Microservices 3. Fundamentals of Machine Learning 4. Designing Microservices for Machine Learning 5. Implementing Microservices for Machine Learning 6. Data Management in Machine Learning Microservices 7. Scaling and Load Balancing Machine Learning Microservices 8. Securing Machine Learning Microservices 9. Monitoring and Logging in Machine Learning Microservices 10. Deployment for Machine Learning Microservices 11. Real World Use Cases 12. Challenges and Future Trends




Design Innovation and Network Architecture for the Future Internet


Book Description

For the past couple of years, network automation techniques that include software-defined networking (SDN) and dynamic resource allocation schemes have been the subject of a significant research and development effort. Likewise, network functions virtualization (NFV) and the foreseeable usage of a set of artificial intelligence techniques to facilitate the processing of customers’ requirements and the subsequent design, delivery, and operation of the corresponding services are very likely to dramatically distort the conception and the management of networking infrastructures. Some of these techniques are being specified within standards developing organizations while others remain perceived as a “buzz” without any concrete deployment plans disclosed by service providers. An in-depth understanding and analysis of these approaches should be conducted to help internet players in making appropriate design choices that would meet their requirements as well as their customers. This is an important area of research as these new developments and approaches will inevitably reshape the internet and the future of technology. Design Innovation and Network Architecture for the Future Internet sheds light on the foreseeable yet dramatic evolution of internet design principles and offers a comprehensive overview on the recent advances in networking techniques that are likely to shape the future internet. The chapters provide a rigorous in-depth analysis of the promises, pitfalls, and other challenges raised by these initiatives, while avoiding any speculation on their expected outcomes and technical benefits. This book covers essential topics such as content delivery networks, network functions virtualization, security, cloud computing, automation, and more. This book will be useful for network engineers, software designers, computer networking professionals, practitioners, researchers, academicians, and students looking for a comprehensive research book on the latest advancements in internet design principles and networking techniques.




Hands-On Microservices with C#


Book Description

Build enterprise-grade microservice ecosystems with intensive case studies using C# Key Features Learn to build message-based microservices Packed with case studies to explain the intricacies of large-scale microservices Build scalable, modular, and robust architectures with C# Book Description C# is a powerful language when it comes to building applications and software architecture using rich libraries and tools such as .NET. This book will harness the strength of C# in developing microservices architectures and applications. This book shows developers how to develop an enterprise-grade, event-driven, asynchronous, message-based microservice framework using C#, .NET, and various open source tools. We will discuss how to send and receive messages, how to design many types of microservice that are truly usable in a corporate environment. We will also dissect each case and explain the code, best practices, pros and cons, and more. Through our journey, we will use many open source tools, and create file monitors, a machine learning microservice, a quantitative financial microservice that can handle bonds and credit default swaps, a deployment microservice to show you how to better manage your deployments, and memory, health status, and other microservices. By the end of this book, you will have a complete microservice ecosystem you can place into production or customize in no time. What you will learn Explore different open source tools within the context of designing microservices Learn to provide insulation to exception-prone function calls Build common messages used between microservices for communication Learn to create a microservice using our base class and interface Design a quantitative financial machine microservice Learn to design a microservice that is capable of using Blockchain technology Who this book is for C# developers, software architects, and professionals who want to master the art of designing the microservice architecture that is scalable based on environment. Developers should have a basic understanding of.NET application development using C# and Visual Studio




Distributed Machine Learning Patterns


Book Description

Practical patterns for scaling machine learning from your laptop to a distributed cluster. Scaling up models from standalone devices to large distributed clusters is one of the biggest challenges faced by modern machine learning practitioners. Distributed Machine Learning Patterns teaches you how to scale machine learning models from your laptop to large distributed clusters. In Distributed Machine Learning Patterns, you’ll learn how to apply established distributed systems patterns to machine learning projects, and explore new ML-specific patterns as well. Firmly rooted in the real world, this book demonstrates how to apply patterns using examples based in TensorFlow, Kubernetes, Kubeflow, and Argo Workflows. Real-world scenarios, hands-on projects, and clear, practical DevOps techniques let you easily launch, manage, and monitor cloud-native distributed machine learning pipelines. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.




Privacy-Preserving Machine Learning


Book Description

Keep sensitive user data safe and secure without sacrificing the performance and accuracy of your machine learning models. In Privacy Preserving Machine Learning, you will learn: Privacy considerations in machine learning Differential privacy techniques for machine learning Privacy-preserving synthetic data generation Privacy-enhancing technologies for data mining and database applications Compressive privacy for machine learning Privacy-Preserving Machine Learning is a comprehensive guide to avoiding data breaches in your machine learning projects. You’ll get to grips with modern privacy-enhancing techniques such as differential privacy, compressive privacy, and synthetic data generation. Based on years of DARPA-funded cybersecurity research, ML engineers of all skill levels will benefit from incorporating these privacy-preserving practices into their model development. By the time you’re done reading, you’ll be able to create machine learning systems that preserve user privacy without sacrificing data quality and model performance. Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications. About the Technology Machine learning applications need massive amounts of data. It’s up to you to keep the sensitive information in those data sets private and secure. Privacy preservation happens at every point in the ML process, from data collection and ingestion to model development and deployment. This practical book teaches you the skills you’ll need to secure your data pipelines end to end. About the Book Privacy-Preserving Machine Learning explores privacy preservation techniques through real-world use cases in facial recognition, cloud data storage, and more. You’ll learn about practical implementations you can deploy now, future privacy challenges, and how to adapt existing technologies to your needs. Your new skills build towards a complete security data platform project you’ll develop in the final chapter. What’s Inside Differential and compressive privacy techniques Privacy for frequency or mean estimation, naive Bayes classifier, and deep learning Privacy-preserving synthetic data generation Enhanced privacy for data mining and database applications About the Reader For machine learning engineers and developers. Examples in Python and Java. About the Author J. Morris Chang is a professor at the University of South Florida. His research projects have been funded by DARPA and the DoD. Di Zhuang is a security engineer at Snap Inc. Dumindu Samaraweera is an assistant research professor at the University of South Florida. The technical editor for this book, Wilko Henecka, is a senior software engineer at Ambiata where he builds privacy-preserving software. Table of Contents PART 1 - BASICS OF PRIVACY-PRESERVING MACHINE LEARNING WITH DIFFERENTIAL PRIVACY 1 Privacy considerations in machine learning 2 Differential privacy for machine learning 3 Advanced concepts of differential privacy for machine learning PART 2 - LOCAL DIFFERENTIAL PRIVACY AND SYNTHETIC DATA GENERATION 4 Local differential privacy for machine learning 5 Advanced LDP mechanisms for machine learning 6 Privacy-preserving synthetic data generation PART 3 - BUILDING PRIVACY-ASSURED MACHINE LEARNING APPLICATIONS 7 Privacy-preserving data mining techniques 8 Privacy-preserving data management and operations 9 Compressive privacy for machine learning 10 Putting it all together: Designing a privacy-enhanced platform (DataHub)