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 Regression Model Template to Predict Data Records

Predict product data records using your machine learning model.

Overview

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

You will learn

  • โœ”How to predict data records using your machine learning model
  • โœ”How to undeploy and delete your model
  • โœ”How to delete datasets and dataset schemas
Juliana Morais J Juliana Morais May 8, 2024
Created by April 4, 2022
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 the following step, copy the URL of the Swagger UI for inference and open it in a browser tab. The Swagger UI for inference allows you to predict data records using your machine learning model that you have created in the previous tutorial: Use the Regression Model Template to Train a Machine Learning Model.

  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 Predict data records
+
Step 3 Undeploy your model
+
Step 4 Delete your model
+
Step 5 Delete your training job
+
Step 6 Delete your dataset
+
Step 7 Delete your dataset schema
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 7
1. Authorize Swagger UI 2. Predict data records 3. Undeploy your model 4. Delete your model 5. Delete your training job 6. Delete your dataset 7. Delete your dataset schema

Learn more →