SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Use the Sales Order Completion (SOC) Business Blueprint to Train a Machine Learning Model

Train a machine learning model for the Data Attribute Recommendation service, using the Sales Order Completion (SOC) business blueprint.

Overview

🎓 beginner 15 min. Machine LearningBeginnerArtificial IntelligenceCloudSAP Business Technology PlatformSAP Ai ServicesData Attribute RecommendationFree Tier

You will learn

  • โœ”How to train a machine learning model using the Sales Order Completion (SOC) business blueprint
  • โœ”How to deploy a machine learning model to get predictions for missing fields in sales order documents
Juliana Morais J Juliana Morais December 11, 2023
Created by April 17, 2023
Contributors

Prerequisites

Steps

Step 1 Authorize Swagger UI
โ€”

In the service key you created for Data Attribute Recommendation in the previous tutorial: Use Free Tier to Set Up Account for Data Attribute Recommendation and Get Service Key or Use Trial to Set Up Account for Data Attribute Recommendation and Get Service Key, you find a section called swagger (as highlighted in the image below) with three entries, called dm (data manager), mm (model manager) and inference.

Service Key
Service Key

For this tutorial, copy the URL of the Swagger UI for mm and open it in a browser tab. The Swagger UI for the model manager allows you to train a machine learning model, to delete it, to deploy the model as well as to undeploy the model.

After finishing this tutorial, keep the Swagger UI for mm open to perform the clean up tasks in Use the Sales Order Completion (SOC) Business Blueprint to Predict Missing Sales Order Fields.

  1. To be able to use the Swagger UI endpoints, you need to authorize yourself. In the top right corner, click Authorize.

    Authorize
    Authorize

  2. Get the access_token value created in the previous tutorial: Get OAuth Access Token for Data Attribute Recommendation Using Any Web Browser, then add Bearer (with capitalized “B”) in front of it, and enter in the Value field.

    Code
    Bearer <access_token>
  3. Click Authorize and then click Close.

    Authorize
    Authorize

Step 2 Create a training job
+
Step 3 Check training job status
+
Step 4 Deploy machine learning model
+
Step 5 Check deployment status
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 5
1. Authorize Swagger UI 2. Create a training job 3. Check training job status 4. Deploy machine learning model 5. Check deployment status

Learn more →