hana-apl-apis-runtimes
SQL code examples for every SAP HANA Automated Predictive Library API, plus reference runtimes for scoring an exported model in C++, Java or JavaScript.
An Automated Predictive Library model trained inside SAP HANA can be exported for scoring outside the database, and this repository covers both halves: SQL sample code for all APL APIs, and reference runtime implementations in C++, Java and JavaScript for the massive or real-time scoring an exported model needs. Running the samples needs the Automated Predictive Library installed on a SAP HANA server; the files themselves need no install step, only opening in the SQL console, the HANA database explorer, or the matching runtime's own README.
Facts
Where it sits
Who is behind it
In the atlas: maintains 222@SAP-samplesmaintaineracharroux-sapContributes to this
In the atlas: contributes to 1@acharroux-sapAjinkya PatilContributes to this
In the atlas: contributes to 112@ajinkyapatil8190b-vialContributes to this
In the atlas: contributes to 1@b-vialBrian BernardContributes to this
In the atlas: contributes to 64@btbernard4 contributors
What it declares
Every artifact
- Type
- Sample
- Origin
- By SAP
- Use as
- A reference
As a sample
- Form
- Code snippets
Connections
Training, deploying and calling predictive models on tabular data
Download
README
quoted from SAP-samples/hana-apl-apis-runtimes under Apache-2.0, readSAP HANA Automated Predictive Library - Samples and Runtimes
Description
This project provides code examples for the SAP HANA Automated Predictive Library (APL). It provides simple APL SQL examples covering all APL APIs, as well as reference implementations of the runtimes needed when predictive models are exported in C++, Java, or JavaScript for real-time scoring.
This repository contains the following:
- SQL sample code of APL APIs.
- Sample data for the sample codes.
- For HANA On Premise, the standard HANA import statement or the HANA studio import feature must be used to import the folder dataForHANAOnPremise.
- For HANA Cloud, the SAP HANA database explorer import Catalog objects feature must be used to import the archive dataForHANACloud.tar.gz.
- Reference implementations of the runtime code needed when exporting a model built by APL. Runtime code is provided for the following languages:
Requirements
To use the content, you need access to SAP HANA Automated Predictive Library installed on an SAP HANA server. Details can be found on our installation guide.
Download and Installation
The sample and runtime files can be downloaded and used within the respective user/developer environment, for example, SQL files may be opened and used within the SQL console of SAP HANA studio or SAP HANA database explorer. The sample files don't require an install step for themselves; they can simply be downloaded and then opened in the respective editor.
If you have ve Git installed, clone this repo as shown below, otherwise download the samples as a ZIP file.
git clone https://github.com/SAP-samples/hana-apl-apis-runtimes apl_samples
cd apl_samples
Known Issues
None
How to Get Support
A set of resources about the usage of APL is available in SAP Community.
Create an issue in this repository if you find a bug or have questions about the content.
For additional support, ask a question in the community.
Code of conduct
Read the Covenant Code of Conduct
Contributing
If you wish to contribute code, offer fixes or improvements, please send a pull request. Due to legal reasons, contributors will be asked to accept a DCO when they create the first pull request to this project. This happens in an automated fashion during the submission process. SAP uses the standard DCO text of the Linux Foundation.
License
Copyright (c) 2022 SAP SE or an SAP affiliate company. All rights reserved. This project is licensed under the Apache Software License, version 2.0 except as noted otherwise in the LICENSE file.
History
Notes
samples & runtime for APL v4.2622.0
Notes
samples & runtime for APL v4.2620.0
Notes
samples & runtime for APL v4.2616.0
Notes
samples & runtime for APL v4.2614.1
Notes
samples & runtime for APL v4.2614.0
Notes
samples & runtime for APL v4.2612.0
Notes
samples & runtime for APL v4.2610.0
Notes
samples & runtime for APL v4.2608.0
Notes
samples & runtime for APL v4.2606.0
Notes
samples & runtime for APL v4.2604.0
Notes
samples & runtime for APL v4.2602.0
Notes
samples & runtime for APL v4.2524.0
Notes
samples & runtime for APL v4.2522.0
Notes
samples & runtime for APL v4.2520.0
Notes
samples & runtime for APL v4.2516.0
Notes
samples & runtime for APL v4.2514.0
Notes
samples & runtime for APL v4.2512.0
Notes
samples & runtime for APL v4.2508.0
Notes
samples & runtime for APL v4.2506.0
Notes
samples & runtime for APL v4.2504.0
Notes
samples & runtime for APL v4.2502.0
Notes
samples & runtime for APL v4.2425.0
Notes
samples & runtime for APL v4.2423.0
Notes
samples & runtime for APL v4.2421.0
Notes
samples & runtime for APL v4.2419.0
Notes
samples & runtime for APL v4.2415.0
Notes
samples & runtime for APL v4.2413.0
Notes
samples & runtime for APL v4.2411.0
Notes
samples & runtime for APL v4.2409.0
Notes
samples & runtime for APL v4.2405.0
Notes
samples & runtime for APL v4.2403.0
Notes
samples & runtime for APL v4.2402.0
Notes
samples & runtime for APL v4.2325.1
Notes
samples & runtime for APL v4.2325.0
Notes
samples & runtime for APL v4.2323.0
Notes
samples & runtime for APL v4.2321.0
Notes
samples & runtime for APL v4.2317.0
Notes
samples & runtime for APL v4.2313.1
Notes
samples & runtime for APL v4.2313.0
Notes
samples & runtime for APL v4.2311.0
Notes
samples & runtime for APL v4.2309.0
Notes
samples & runtime for APL v4.2307.0
Notes
samples & runtime for APL v4.2305.0
Notes
samples & runtime for APL v4.2303.0
Notes
samples & runtime for APL v4.2225.0
Notes
samples & runtime for APL v4.2223.0
Notes
samples & runtime for APL v4.2221.0
Notes
samples & runtime for APL 4.2219.0
Notes
samples & runtime for APL 4.2217.0
Notes
samples & runtime for APL 4.2215.0
Notes
Data, sample codes & runtimes associated to APL 2211.0
Notes
Data, sample codes & runtimes associated to APL 2209.0
Details
Sources
Sources are graph entities: the same page may back several entries, and an unreachable source flags every row that rests on it.
Compatibility and provenance
Contributors
History in the atlas
- First seen.
For your agent
- Ref
artifact:sap-samples-hana-apl-apis-runtimes- JSON
- /artifacts/sap-samples-hana-apl-apis-runtimes.json
- MCP
- Connecting an agent