Chapter 7. Publishing models

This chapter covers

  • Persisting learned models
  • Modeling microservices using Akka HTTP
  • Containerization of services using Docker

In this chapter, we’ll consider how to publish models (see figure 7.1). Throughout this book, you’ve been learning and using models, but making models available for use in a real machine learning system can involve some complexities that you haven’t yet seen. When you’re exploring models in a REPL like the Spark shell, you can directly call methods on the instance of a model already in memory. But in real-world systems, it’s common for a model to be learned in a pipeline, as you saw in chapters 4 and 5, before being used in a completely different application. This chapter will show you ...

Get Machine Learning Systems: Designs that scale now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.