For AI agents: the complete documentation index is available at https://docs.dataplatform.ovh.net/llms.txt, the full documentation bundle is available at https://docs.dataplatform.ovh.net/llms-full.txt, and this page is available as Markdown at https://docs.dataplatform.ovh.net/legacy/getting-started-ml-validation.md.
  • πŸ‡¬πŸ‡§ English
  • Confirm your choice of model and deploy it

    Warning

    This tutorial uses the Machine Learning Manager, a service of the ForePaaS Legacy Platform that is not available on OVHcloud Data Platform. See the current tutorials.

    The Model Selection step is the watchtower where you'll be able to control all models created by your pipeline over time. Pipelines in the ForePaaS Platform are designed to live and evolve as new data is fed into your models, and as your models are trained, validated and tested. Keeping track of the model versions and score drift is essential for a production AI application.

    You'll go through the following:


    Manually deploy a model

    The Generated Models table lists all the models that have been trained and saved since the pipeline was created. For the moment, you can only see one model. It is the best model that was returned by the hyper-parameter exploration in the previous step!

    In order to limit the amount of resources used, the ForePaaS Platform doesn't automatically test your models with the testing dataset. You need to choose when to test your model. To do so, you can either press the pipeline's Play button and select the third option 'Testing', or manually click on the refresh πŸ”„icon for a specific model.

    machinelearning

    Now, it is time to deploy a model πŸš€. To do this, click on the Play ▢️ icon which is located on the right-hand side of the line of the model you wish to deploy.

    machinelearning

    It's that simple! Your model has been deployed, as indicated by the green atom icon next to its name, and is now available for predictions.


    Set automatic management options

    Configure auto-deployment

    As you have seen above, it is really easy to deploy a model. But, it’s still manual work! So, the ForePaaS Platform makes it even easier, by allowing you to auto-deploy your models. Once in production, if you are regularly gathering new data, this will save you the task of having to open the pipeline and manually launch the deployment.

    The default criterion for deployment is the best score over a period of time. Leave it as it is. Simply note that you might also want to optimize the training or prediction time rather than only the score - this tab lets you do that too.

    Set the time period to 14 days.

    machinelearning

    Turn on Automatic deployment.

    machinelearning

    Your pipeline will now automatically deploy the best model every 14 days. Naturally, this feature should be combined with an automatic re-train / re-score of the model, else the deployed model cannot possibly change.

    Configure triggers

    The remaining automation options, such as re-training, can be set through triggers. To do so you’ll need to go back to your pipeline main page. Click on the X button at the top-left.

    Note that pipelines autosave πŸ’Ύ! You can always exit and come back at any time.

    machinelearning

    As you can see, there are no triggered events yet. Click on Add.

    machinelearning

    Name your trigger Auto re-train, give the description of your choice and click on Jobs.

    machinelearning

    You will now need to set up your pipeline so that it refreshes the training and the testing datasets with the latest gathered new data, and that it builds a new model to be trained. To do so, turn on the Dataset Generation and Training sliders. Then click on Trigger.

    machinelearning

    Let’s have the pipeline do this every 14 days. Select Daily and choose Every 14 days. Click on Create to close the window.

    machinelearning

    Your pipeline will now not only incorporate all new data for training and scoring every 14 days but it will also train a new model and automatically deploy the one with the best score.

    Great job setting up an automated AI pipeline! Let's conclude this series and configure a few deployment options to make some predictions.

    Step no. 5: Deployment options