Anomaly Detection with SAP HANA ML: Best Practices for BTP

Added:

Overview & Goals
Core Benefits
Prerequisites Setup
Architecture & Choices
Parameter Tuning
Data Preparation
Model Evaluation
Implementation

Overview & Goals

0:08
Playing Section
  • 1

    Introduces anomaly detection and its role in SAP BTP AI best practices.

  • 2

    Outlines four key steps: overview, prerequisites, choices, and implementation.

  • 3

    Defines anomaly detection as identifying deviations from expected behavior in data.

Fundamental concepts of machine learning, particularly unsupervised learning techniques and the mathematical basis of anomaly detection.
Basic knowledge of SAP HANA architecture, in-memory database computing, and SQL/SQLScript querying.
Familiarity with the SAP Business Technology Platform (BTP) environment and its core cloud services.
Understanding of data science workflows in Python, including the use of client libraries to connect to external databases (such as the 'hana-ml' library).
Designing and operationalizing end-to-end machine learning pipelines using SAP AI Core and SAP AI Launchpad.
Integrating real-time anomaly detection models into core enterprise business processes within SAP S/4HANA or SAP SuccessFactors.
Advanced performance optimization and scalability testing for large-scale, high-velocity streaming data in SAP HANA Cloud.
Exploring hybrid architectures that combine SAP HANA ML with deep learning frameworks like TensorFlow or PyTorch for complex, unstructured data analysis.
568 views9likes16:25@sapdevsOriginal Release: 2025-09-03

Anomaly detection identifies data points, events, or patterns that deviate significantly from expected behavior within datasets, and in the SAP ecosystem, this is achieved using SAP HANA ML tools including the Predictive Analysis Library (PAL) and HANA ML, which offer algorithm interchangeability (DBSCAN, Isolation Forest, One-Class SVM, K-Means), out-of-the-box features for time series and clustering, and native in-database processing with enterprise-grade security; successful implementation requires proper data preparation (null handling, feature importance analysis, dimensionality reduction), appropriate algorithm selection based on use case characteristics, and systematic evaluation using metrics like precision, recall, F1 score, and ROC-AUC for labeled data, or domain expert validation and score distribution analysis for unsupervised approaches.