Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Machine Learning Model Serving Patterns and Best Practices
  • Table Of Contents Toc
Machine Learning Model Serving Patterns and Best Practices

Machine Learning Model Serving Patterns and Best Practices

By : Md Johirul Islam
4.6 (14)
close
close
Machine Learning Model Serving Patterns and Best Practices

Machine Learning Model Serving Patterns and Best Practices

4.6 (14)
By: Md Johirul Islam

Overview of this book

Serving patterns enable data science and ML teams to bring their models to production. Most ML models are not deployed for consumers, so ML engineers need to know the critical steps for how to serve an ML model. This book will cover the whole process, from the basic concepts like stateful and stateless serving to the advantages and challenges of each. Batch, real-time, and continuous model serving techniques will also be covered in detail. Later chapters will give detailed examples of keyed prediction techniques and ensemble patterns. Valuable associated technologies like TensorFlow severing, BentoML, and RayServe will also be discussed, making sure that you have a good understanding of the most important methods and techniques in model serving. Later, you’ll cover topics such as monitoring and performance optimization, as well as strategies for managing model drift and handling updates and versioning. The book will provide practical guidance and best practices for ensuring that your model serving pipeline is robust, scalable, and reliable. Additionally, this book will explore the use of cloud-based platforms and services for model serving using AWS SageMaker with the help of detailed examples. By the end of this book, you'll be able to save and serve your model using state-of-the-art techniques.
Table of Contents (22 chapters)
close
close
1
Part 1:Introduction to Model Serving
4
Part 2:Patterns and Best Practices of Model Serving
14
Part 3:Introduction to Tools for Model Serving
18
Part 4:Exploring Cloud Solutions

Summary

In this chapter, we discussed using the keyed prediction pattern when serving models. This is an important pattern when our serving environment is making predictions on a large scale asynchronously. In this case, we risk losing the order of the predictions and we will not be able to map the inputs to the corresponding predictions. To solve this problem, we should tag the training data with keys and get predictions with the same keys tagged. In this way, we can reproduce the exact mapping of input to output.

We also discussed situations in which keyed prediction is needed and looked at some examples. Then, we discussed the techniques of keyed prediction. We concluded with some ideas for the creation of keys during keyed prediction.

In the next chapter, we will start talking about a different group of patterns for serving models. These serving patterns fall into the second category of patterns as discussed in Chapter 2. These patterns deal with the exact serving mechanism...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Machine Learning Model Serving Patterns and Best Practices
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon