Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Machine Learning on Kubernetes
Machine Learning on Kubernetes

Machine Learning on Kubernetes: A practical handbook for building and using a complete open source machine learning platform on Kubernetes

Arrow left icon
Profile Icon Faisal Masood Profile Icon Brigoli
Arrow right icon
£16.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.1 (10 Ratings)
Paperback Jun 2022 384 pages 1st Edition
eBook
£27.99 £31.99
Paperback
£39.99
Subscription
Free Trial
Renews at £16.99p/m
Arrow left icon
Profile Icon Faisal Masood Profile Icon Brigoli
Arrow right icon
£16.99 per month
Full star icon Full star icon Full star icon Full star icon Half star icon 4.1 (10 Ratings)
Paperback Jun 2022 384 pages 1st Edition
eBook
£27.99 £31.99
Paperback
£39.99
Subscription
Free Trial
Renews at £16.99p/m
eBook
£27.99 £31.99
Paperback
£39.99
Subscription
Free Trial
Renews at £16.99p/m

What do you get with a Packt Subscription?

Free for first 7 days. £16.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Machine Learning on Kubernetes

Chapter 1: Challenges in Machine Learning

Many people believe that artificial intelligence (AI) is all about the idea of a humanoid robot or an intelligent computer program that takes over humanity. The shocking news is that we are not even close to this. A better term for such incredible machines is human-like intelligence or artificial general intelligence (AGI).

So, what is AI? A more straightforward answer would be a system that uses a combination of data and algorithms to make predictions. AI practitioners call it machine learning or ML. A particular subset of ML algorithms, called deep learning (DL), refers to an ML algorithm that uses a series of steps, or layers, of computation (Goodfellow, Bengio, and Courville, 2017). This technique employs deep neural networks (DNNs) with multiple layers of artificial neurons that mimic the architecture of the human brain. Though it sounds complicated enough, it does not always mean that all DL systems will have a better performance compared to other AI algorithms or even a traditional programming approach.

ML is not always about DL. Sometimes, a basic statistical model may be a better fit for a problem you are trying to solve than a complex DNN. One of the challenges of implementing ML is about selecting the right approach. Moreover, delivering an ML project comes with other challenges, not only on the business and technology side but also in people and processes. These challenges are the primary reasons why most ML initiatives fail to deliver their expected value.

In this chapter, we will revisit a basic understanding of ML and understand the challenges in delivering ML projects that can lead to a project not delivering its promised value.

The following topics will be covered:

  • Understanding ML
  • Delivering ML value
  • Choosing the right approach
  • Facing the challenges of adopting ML
  • An overview of the ML platform
Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Build a complete machine learning platform on Kubernetes
  • Improve the agility and velocity of your team by adopting the self-service capabilities of the platform
  • Reduce time-to-market by automating data pipelines and model training and deployment

Description

MLOps is an emerging field that aims to bring repeatability, automation, and standardization of the software engineering domain to data science and machine learning engineering. By implementing MLOps with Kubernetes, data scientists, IT professionals, and data engineers can collaborate and build machine learning solutions that deliver business value for their organization. You'll begin by understanding the different components of a machine learning project. Then, you'll design and build a practical end-to-end machine learning project using open source software. As you progress, you'll understand the basics of MLOps and the value it can bring to machine learning projects. You will also gain experience in building, configuring, and using an open source, containerized machine learning platform. In later chapters, you will prepare data, build and deploy machine learning models, and automate workflow tasks using the same platform. Finally, the exercises in this book will help you get hands-on experience in Kubernetes and open source tools, such as JupyterHub, MLflow, and Airflow. By the end of this book, you'll have learned how to effectively build, train, and deploy a machine learning model using the machine learning platform you built.

Who is this book for?

This book is for data scientists, data engineers, IT platform owners, AI product owners, and data architects who want to build their own platform for ML development. Although this book starts with the basics, a solid understanding of Python and Kubernetes, along with knowledge of the basic concepts of data science and data engineering will help you grasp the topics covered in this book in a better way.

What you will learn

  • Understand the different stages of a machine learning project
  • Use open source software to build a machine learning platform on Kubernetes
  • Implement a complete ML project using the machine learning platform presented in this book
  • Improve on your organization s collaborative journey toward machine learning
  • Discover how to use the platform as a data engineer, ML engineer, or data scientist
  • Find out how to apply machine learning to solve real business problems

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Jun 24, 2022
Length: 384 pages
Edition : 1st
Language : English
ISBN-13 : 9781803241807
Vendor :
Red Hat
Category :
Languages :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. £16.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Jun 24, 2022
Length: 384 pages
Edition : 1st
Language : English
ISBN-13 : 9781803241807
Vendor :
Red Hat
Category :
Languages :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
£16.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
£169.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts
£234.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just £5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total £ 149.97
Transformers for Natural Language Processing
£67.99
Machine Learning on Kubernetes
£39.99
Machine Learning with PyTorch and Scikit-Learn
£41.99
Total £ 149.97 Stars icon

Table of Contents

15 Chapters
Part 1: The Challenges of Adopting ML and Understanding MLOps (What and Why) Chevron down icon Chevron up icon
Chapter 1: Challenges in Machine Learning Chevron down icon Chevron up icon
Chapter 2: Understanding MLOps Chevron down icon Chevron up icon
Chapter 3: Exploring Kubernetes Chevron down icon Chevron up icon
Part 2: The Building Blocks of an MLOps Platform and How to Build One on Kubernetes Chevron down icon Chevron up icon
Chapter 4: The Anatomy of a Machine Learning Platform Chevron down icon Chevron up icon
Chapter 5: Data Engineering Chevron down icon Chevron up icon
Chapter 6: Machine Learning Engineering Chevron down icon Chevron up icon
Chapter 7: Model Deployment and Automation Chevron down icon Chevron up icon
Part 3: How to Use the MLOps Platform and Build a Full End-to-End Project Using the New Platform Chevron down icon Chevron up icon
Chapter 8: Building a Complete ML Project Using the Platform Chevron down icon Chevron up icon
Chapter 9: Building Your Data Pipeline Chevron down icon Chevron up icon
Chapter 10: Building, Deploying, and Monitoring Your Model Chevron down icon Chevron up icon
Chapter 11: Machine Learning on Kubernetes Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.1
(10 Ratings)
5 star 60%
4 star 10%
3 star 10%
2 star 20%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




aly Sep 21, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am coming from a strong k8s background and I wanted to transfer and bridge this knowledge with ML. This book gives a very practical guide to fill in the gaps and give me the needed MLOps practical and theoretical knowledge to use k8s for ML deployments on production.I highly recommend it for readers with k8s background and also who want to learn the modern way to deploy and build ML models in the public cloud such as AWS.
Amazon Verified review Amazon
Daniel Sullivan Sep 12, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
If you are building and deploying ML models in Kubernetes, this is a great place to start. The book does a good job of providing an overview of MLOps as data engineering while also introducing ML concepts like feature engineering and model evaluation. These provide the foundation for detailed explanations of how to install and use ML platform components, like Jupyter Notebooks. Apache Airflow, MLFlow, and Spark. I especially like the details on setting up Keycloak for authentication, which isn't strictly an ML component but the lack of an authentication system can be a blocker to production deployments.The book covers a lot of ground but it is well organized and the extensive use of screen shots and diagrams complement the text.
Amazon Verified review Amazon
Guangping zhang Jul 28, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This book is about machine learning on KubernetesThe book contain a lots of contents about advanced progress on machine learning:MLOps is the convergence of ML, DevOps, and data engineering disciplines that focus on running ML in production.Kubernetes, Kubernetes-based software to run anywhere, from small on-premises data centers to large cloud platforms AWS, GCP and Azure.This capability will give you the portability to run your ML platform anywhere you want.Kubeflow is a machine learning toolkit that provides a pipeline solution called Kubeflow PipelinesThis book discuss both the Data engineering pipeline and ML engineering pipeline, introduce Using MLFlow as an experiment tracking system, Using MLFlow as a model registry systemAutomation is the most popular field now, the model deployment and monitoring need to be automated to increase the efficiency.The GKE platform can package, deploy and automate the model onto the platform, so You can automate all these steps using the workflow engine provided by the platform.GKE also can monitor your model performance and decide whether the model needs retraining on the new dataset not.This book also introduces Docker and containers very well.Recently GKE was updated to Vertex AI, unfortunately this book doesn't mention this update, but the reader can easily find the knowledge from online.I strongly suggest you read this good book.
Amazon Verified review Amazon
venky Aug 02, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Best value for price and great content. I really enjoyed reading and implementing concepts explained in the book. Most books introduce topics as bits and pieces but miss composing an end to end project with topics they targeted to elaborate, Faisal and Ross did great job in crafting chapters from novice to advanced level and curate the exercises across. I can say that even if you are an experienced engineer in cloud tech with ML area, you will learn good amount of stuff from this book. This book has sparked my interest to learn more about Kubernetes and building an end to end platform, I am gonna publish a blog on ML platform setup. Thanks to Authors for pouring their experience and crafting such good hands-on exercises with great detail.
Amazon Verified review Amazon
Yiqiao Yin Aug 03, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Both authors come from Red Hat and provided a lot of industry experience. I really like the book from the beginning because it starts with motivation and challenges in the industry. I really enjoyed the cloud-agnostic property. It's interesting to see from the author's perspectives how the proposed platform can be contributing factor to the entire MLOps and also deployable from cloud-based platforms. I find this part well written and I have had a lot of fun reading these chapters. Coming from my jobs working with people from different parts of the world, I think it's important that today's software platform is equipped with cloud-based technology so it resonate a lot with me to see that this is covered in the book. I have had a lot of fun and joy reading this book and I highly recommend it to everybody else! Please review the video if you want an in-depth feedback of this book!
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.