SampleSampletypeA worked example you read or clone. Evidence: it demonstrates, it never provides.See every one →What this type is →by SAPby SAPoriginPublished by SAP itself. A visible facet, never an input to a reading — a dormant official plugin reads exactly like a dormant independent one.See every one →Reference

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

Last pushLicenceApache-2.0

Where it sits

Lives in
Demonstrates
Predictive modelsBTPPredictive modelscapabilityTraining, deploying and calling a model that predicts a value from tabular business data: a classification, a regression, a forecast. Distinct from [LLM integration](capability:llm-integration), where a language model generates text, even where both run on the same service.

Who is behind it

SAP SamplesSAP SamplesOrganisationMaintains this
In the atlas: maintains 222
@SAP-samples
maintaineracharroux-sapPersonContributes to this
In the atlas: contributes to 1
@acharroux-sap
Ajinkya PatilPersonContributes to this
In the atlas: contributes to 112
@ajinkyapatil8190
b-vialPersonContributes to this
In the atlas: contributes to 1
@b-vial
Brian BernardPersonContributes to this
In the atlas: contributes to 64
@btbernard
4 contributors

What it declares

Every artifact

Type
Sample
Origin
By SAP
Use as
A reference

As a sample

Form
Code snippets

Connections1

hana-apl-apis-runtimes connectionshana-apl-apis-runtimesPROVIDES→ demonstrates1demonstrates authoredPredictive models

README

quoted from SAP-samples/hana-apl-apis-runtimes under Apache-2.0, read
SAP-samples/hana-apl-apis-runtimes/README.mdOn GitHub

SAP HANA Automated Predictive Library - Samples and Runtimes

REUSE status

Contributor Covenant

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:

  1. SQL sample code of APL APIs.
  2. 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.
  3. 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.

Apache-2.0, read

History

Latest

v4.2622.0

Notes

samples & runtime for APL v4.2622.0

  1. v4.2620.0

    Notes

    samples & runtime for APL v4.2620.0

  2. v4.2616.0

    Notes

    samples & runtime for APL v4.2616.0

  3. v4.2614.1

    Notes

    samples & runtime for APL v4.2614.1

  4. v4.2614.0

    Notes

    samples & runtime for APL v4.2614.0

  5. v4.2612.0

    Notes

    samples & runtime for APL v4.2612.0

  6. v4.2610.0

    Notes

    samples & runtime for APL v4.2610.0

  7. v4.2608.0

    Notes

    samples & runtime for APL v4.2608.0

  8. v4.2606.0

    Notes

    samples & runtime for APL v4.2606.0

  9. v4.2604.0

    Notes

    samples & runtime for APL v4.2604.0

  10. v4.2602.0

    Notes

    samples & runtime for APL v4.2602.0

  11. v4.2524.0

    Notes

    samples & runtime for APL v4.2524.0

  12. v4.2522.0

    Notes

    samples & runtime for APL v4.2522.0

  13. v4.2520.0

    Notes

    samples & runtime for APL v4.2520.0

  14. v4.2516.0

    Notes

    samples & runtime for APL v4.2516.0

  15. v4.2514.0

    Notes

    samples & runtime for APL v4.2514.0

  16. v4.2512.0

    Notes

    samples & runtime for APL v4.2512.0

  17. v4.2508.0

    Notes

    samples & runtime for APL v4.2508.0

  18. v4.2506.0

    Notes

    samples & runtime for APL v4.2506.0

  19. v4.2504.0

    Notes

    samples & runtime for APL v4.2504.0

  20. v4.2502.0

    Notes

    samples & runtime for APL v4.2502.0

  21. v4.2425.0

    Notes

    samples & runtime for APL v4.2425.0

  22. v4.2423.0

    Notes

    samples & runtime for APL v4.2423.0

  23. v4.2421.0

    Notes

    samples & runtime for APL v4.2421.0

  24. v4.2419.0

    Notes

    samples & runtime for APL v4.2419.0

  25. v4.2415.0

    Notes

    samples & runtime for APL v4.2415.0

  26. v4.2413.0

    Notes

    samples & runtime for APL v4.2413.0

  27. v4.2411.0

    Notes

    samples & runtime for APL v4.2411.0

  28. v4.2409.0

    Notes

    samples & runtime for APL v4.2409.0

  29. v4.2405.0

    Notes

    samples & runtime for APL v4.2405.0

  30. v4.2403.0

    Notes

    samples & runtime for APL v4.2403.0

  31. v4.2402.0

    Notes

    samples & runtime for APL v4.2402.0

  32. v4.2325.1

    Notes

    samples & runtime for APL v4.2325.1

  33. v4.2325.0

    Notes

    samples & runtime for APL v4.2325.0

  34. v4.2323.0

    Notes

    samples & runtime for APL v4.2323.0

  35. v4.2321.0

    Notes

    samples & runtime for APL v4.2321.0

  36. v4.2317.0

    Notes

    samples & runtime for APL v4.2317.0

  37. v4.2313.1

    Notes

    samples & runtime for APL v4.2313.1

  38. v4.2313.0

    Notes

    samples & runtime for APL v4.2313.0

  39. v4.2311.0

    Notes

    samples & runtime for APL v4.2311.0

  40. v4.2309.0

    Notes

    samples & runtime for APL v4.2309.0

  41. v4.2307.0

    Notes

    samples & runtime for APL v4.2307.0

  42. v4.2305.0

    Notes

    samples & runtime for APL v4.2305.0

  43. v4.2303.0

    Notes

    samples & runtime for APL v4.2303.0

  44. v4.2225.0

    Notes

    samples & runtime for APL v4.2225.0

  45. v4.2223.0

    Notes

    samples & runtime for APL v4.2223.0

  46. v4.2221.0

    Notes

    samples & runtime for APL v4.2221.0

  47. v4.2219.0

    Notes

    samples & runtime for APL 4.2219.0

  48. v4.2217.0

    Notes

    samples & runtime for APL 4.2217.0

  49. v4.2215.0

    Notes

    samples & runtime for APL 4.2215.0

  50. v4.2213.0

  51. v4.2211.0

    Notes

    Data, sample codes & runtimes associated to APL 2211.0

  52. v4.2209.0

    Notes

    Data, sample codes & runtimes associated to APL 2209.0

Details

Sources3
Added by handdiscovered herechecked
github.com/SAP-samples/hana-apl-apis-runtimestree, pushes, contributors, CIchecked
README.mdquoted, and what the entry declareschecked

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
discovered viaAdded by hand
first seen in the atlas
ecosystem and domainbtp, ai-and-agents
Contributors4

From the repository’s contributor list, .

History in the atlas1
  1. 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