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

Predictive Analytics Using SQL Scripts

This tutorial series will cover two approaches to a sample project utilizing the predictive analytics capabilities of SAP HANA, express edition. This tutorial will show you how to use SQL scripts with the predictive analytics library.

Overview

🎓 beginner 10 min. SAP Hana, Express EditionBeginnerSAP HANAExpress Edition

You will learn

  • How to use predictive analytics with a pre-written SQL script
Unknown U Unknown November 2, 2022
Created by June 22, 2017
Contributors

Prerequisites

Steps

Intro

This tutorial describes one of many SAP HANA Academy Predictive Analysis Library tutorials. For more tutorials on using Predictive Analysis Library, see the SAP HANA Academy YouTube Playlist.


Step 1 Memory Cleanup (VM only)

Before running the script on your VM installation, you will need to clean up the memory processes.

Open a command line to your VM and run the following commands:

Shell
hdbcons "resman shrink"
Shell
hdbcons "mm gc -f"
Shell
hdbcons -e hdbnameserver "resman shrink"
Shell
hdbcons -e hdbnameserver "mm gc -f"
Step 2 Copy the First SAP HANA Academy Script
+
Step 3 Run the Model SQL Script
+
Step 4 Copy the Second SAP HANA Academy Script
+
Step 5 Run the Predict SQL Script
+
Step 6 View the Results
+
Step 7 Script Information
+

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. Memory Cleanup (VM only) 2. Copy the First SAP HANA Academy Script 3. Run the Model SQL Script 4. Copy the Second SAP HANA Academy Script 5. Run the Predict SQL Script 6. View the Results 7. Script Information

Learn more →