© Pramod Singh 2021
P. SinghDeploy Machine Learning Models to Productionhttps://doi.org/10.1007/978-1-4842-6546-8_3

3. Machine Learning Deployment as a Web Service

Pramod Singh1  
Bangalore, Karnataka, India

In this chapter, we are going to go over how to use different web frameworks for deploying machine learning and deep learning models as web services hosted on the local system. This chapter covers three main topics.

The chapter first introduces the Flask framework and how to deploy an ML model using it. Then the chapter shows how to build a standard machine learning model and deploy it using another web framework, Streamlit. Finally, the chapter covers how to deploy a trained deep learning model using the Streamlit platform again. If you are ...

Get Deploy Machine Learning Models to Production: With Flask, Streamlit, Docker, and Kubernetes on Google Cloud Platform 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.