- Model Function
Setting up predictive models in Cloud Functions.
We'll cover the following
We can now set up a Cloud Function that serves logistic regression model predictions over the web. We’ll build on the Flask example that we explored in this lesson and make a few modifications for the service to run on GCP.
Installing libraries
The first step is to specify the required Python libraries that we’ll need to serve requests in the requirements.txt
file, as shown below.
Get hands-on with 1200+ tech skills courses.