
In this scenario, you will work with a pre-trained Market Mix Modeling (MMM) model that has been saved and is ready for deployment. The model is designed to predict sales based on historical marketing and sales data. However, during the deployment process, you will encounter common deployment issues, such as missing model registration and 500 Internal Server Errors caused by incorrect handling of incoming data.
You will troubleshoot these issues and resolve them by fixing the model registration bug and implementing proper input validation in the inference script (score.py). After applying the fixes, you will successfully deploy the model as a real-time REST API service that can process incoming marketing data and return accurate sales predictions.