google-cloud-platformgoogle-cloud-schedulergcp-ai-platform-notebook

GCP run a prediction of a model every day


I have a .py file containing all the instructions to generate the predictions for some data. Those data are taken from BigQuery and the predictions should be inserted in another BigQuery table. Right now the code is running on a AIPlatform Notebook, but I want to schedule its execution every day, is there any way to do it?

I run into the AIPlatform Jobs, but I can't understand what should my code do and what should be the structure of the code, is there any step-by-step guide to follow?


Solution

  • You can schedule a Notebook execution using different options:

    Update July 2021:

    The recommended option in GCP is Notebook Executor which is already available in EAP.