Serving the churn model with Flask Now we want to serve the churn model with Flask. Wrapping the predict script into a Flask app First, we need to convert all the code from Jupyter Notebook into .py scripts. The following snippet displays the code for “train.py”. The prediction section is separated from the training partContinue reading “ML Zoomcamp 2023 – Deploying Machine Learning Models– Part 4”
Tag Archives: Flask
ML Zoomcamp 2023 – Deploying Machine Learning Models– Part 3
Introduction to Flask A web service is a method for communicating between two devices over a network. So let’s say we have our web service and a user who wants to make a request. So the user sends the request with some information. The request has some parameters, then the user gets back result withContinue reading “ML Zoomcamp 2023 – Deploying Machine Learning Models– Part 3”