Hello Members and Enthusiasts,
Back into writing another technical blog and would touch upon the amalgamation of SAP with the AI/ML world with specific focus on Intelligent Scenario Lifecycle Management (ISLM).
In today’s fast-paced business environment, the integration of artificial intelligence (AI) into business processes is currently a major driving force for digital transformation.
Intelligent Scenario Lifecycle Management (ISLM) is a framework that allows you to perform lifecycle management operations on machine learning scenarios.
An intelligent scenario is an ABAP representation of machine learning business specific use case and acts as Single-entry point within SAP S/4HANA to efficiently integrate and operate ML scenarios.
You can train an intelligent scenario and use the trained model to get an accurate inference result.
Further knowledge around Intelligent Scenario Lifecycle Management can be found here: ISLM Community topic page.
Depending on the machine learning scenario that is associated with a business application, ISLM scenarios comes in two flavors: Embedded & Side-by-side
In Embedded approach, a business application, for example SAP S/4HANA runs in the same stack as its machine learning provider SAP HANA machine learning with the analytics libraries SAP HANA Automated Predictive Library (APL) or SAP HANA Predictive Analysis Library (PAL). APL exposes the data mining capabilities of an Automated Analytics engine for developing predictive modelling processes for business analysts. PAL offers advanced analytics algorithms for data scientists. This can be used to solve use cases of forecasting, trending, and so on.
In Side-by-Side approach, a business application, for example, SAP S/4HANA runs in a separate stack than its machine learning provider, for example, SAP Data Intelligence. Remote machine learning can be used for high-end use cases, such as image recognition, sentimental analysis, deep learning for natural language processing that is based on neural networks.
ISLM framework consists of two SAP Fiori applications, Intelligent Scenarios, and Intelligent Scenario Management which allow you to create and manage the lifecycle of intelligent scenarios.
ISLM Scenario based on HANA Automated Predictive Library:
For today's topic I would be considering the famous SBOOK table where I would predict(classify) the Cancelled bookings. We would be doing this by using SAP HANA's Machine Learning (ML) via the APL Library with ISLM Embedded Scenario.
Note: This is a demo use-case and does not represent Live Business Use-Case
// Code for the Training and Apply Dataset. You can alter the where clause to // include historical data for Training Dataset.
@AbapCatalog.sqlViewName: 'ZSQL_APL_SBOOK'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'Test CDS'
@Metadata.ignorePropagatedAnnotations: true
define view ZSD_APL_SBOOK
as select from sbook
{
key carrid as Carrid,
key connid as Connid,
key fldate as Fldate,
key bookid as Bookid,
customid as Customid,
custtype as Custtype,
smoker as Smoker,
luggweight as Luggweight,
wunit as Wunit,
invoice as Invoice,
class as Class,
order_date as OrderDate,
counter as Counter,
agencynum as Agencynum,
case cancelled when 'X' then '1' else '0' end as Cancelled,
reserved as Reserved
}
where
fldate >= '20241001'
Congrats. You just trained your first model. Now we are good to view the predictions.
We can see the model's keys in the first four columns. Column Cancelled has the actual value of the cancelled flag whereas Column Gb_Decision_Cancelled has the predicted value of the cancelled flag. Column Rcn_Top_1_Cancelled holds the field which has the most influence in a score-based decision.
That brings us to the end of this article where we used both the FIORI apps to create intelligent scenarios, review, and publish Intelligent Scenarios and to train, monitor and activate it simultaneously.
Thanks and See you all until the next one 🙂
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
10 | |
10 | |
10 | |
9 | |
8 | |
8 | |
6 | |
6 | |
5 | |
5 |