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 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.