What do I need to use Predictive service?
Is APL needed?
Yes APL is needed because Predictive Services are implemented above APL. The version of APL has been validated with the services.
Predictive service :
- provide a REST Web Service architecture,
- hide the complexity of using APL and
- provide a business approach of strong and robust predictive analytics features.
The version of APL has been validated with the services.
How can I install Predictive service?
Refer to section “To Deploy the predictive services” of the online help. This section explains how to install APL on the SAP HANA box of your SAP Cloud Platform account and how to deploy services
What should I do if there are problems during the installation?
Create a CSS ticket with a description of the steps you have done and the problem you have.
Is there an order for the installation?
No there is not. You can install APL and then predictive services or in the reverse order.
How can I add users (developers) to allow them to use Predictive service?
The administrator of the SAP Cloud Platform account has to go into the Members section of the SAP Cloud Platform cockpit and add users and assign them a role. There are 4 roles: Administrator, Developer, Support User and Application User Admin. Refer to this SAP Cloud Platform help page to get more details.
I have deployed Predictive service but I cannot access to the SAP HANA database. How can I do that?
Before starting Predictive service and use them into your application, it is necessary to create a binding to a SAP HANA schema and assign the application role to users. Refer to section “To Bind the Data Source and Assign Roles” of online help.
How my application can access to my data stored in the SAP HANA database?
Predictive services are using JDBC connectivity API to access to data but this is transparent for you.This is for internal mechanism. For the developer point of view, to use a dataset stored in the HANA schema, you need to register with the Dataset service. This will provide you a datasetID. The datasetID must be provided when using the other services.
My application fails to call a Predictive service. What can I do?
It may be due to the following reasons:
How do I get started to develop an application on SAP Cloud Platform?
On your computer, you have to:
- download and unzip SAP Cloud Platform SDK
- download and install Eclipse IDE for Java EE Developers
- Install the SAP Cloud Platform Tools
For complete description, refer to the SAP Cloud Platform online documentation (https://help.hana.ondemand.com/).
Where can I find documentation on Predictive Services?
Online functional documentation is available here and technical documentation here.
How to call a Predictive service from the application I develop?
Predictive service is exposed via REST (Representational State Transfer) interfaces which is commonly used to develop Web applications. This style is easy to learn and uses small messages based on: a verb and a URI (Unique Resource Identifier). Predictive services are using verbs:
- Get : used to retrieve information
- Post: to trigger an action
- Delete: to suppress link with data and result of services
Examples of URI with their verb:
- POST /api/analytics/keyinfluencer To create a key influencer job
- GET /api/analytics/keyinfluencer/1353 To get status of a key influencer job
- DELETE /api/analytics/dataset/156 To delete the reference to dataset ID 156
For a complete description, refer to the API documentation from the online help of SAP SAP Cloud Platform Predictive service: https://help.hana.ondemand.com/c4pa/api/aa-cloud-services.html.
In the Automated Analytics user interface of SAP Predictive Analytics 2.4, there are a lot of parameters to control the dataset and the way models are built. Do we have the same parameters in predictive services?
Can I store models for later reuse?
No you cannot. Models generated by Predictive service are not persistent.
What kinds of datasets can be used by the services?
The Dataset service directly references a HANA table or view in the schema of the HANA database of the SAP Cloud Platform account. For this, the Predictive service must be granted with select right of this HANA table.
Can predictive services delete data?
Datasets uploaded via the predictive services Dataset Service can be deleted via the unregistering service. Any other datasets are read only, not updated nor deleted.
I have encountered an error but I don’t know how to fix it. Where can I find documentation on potential causes?
If a request is unsuccessful, the call to the Predictive Service returns a message in the JSON format. Refer to the online help in section “Error messages”.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
32 | |
13 | |
11 | |
10 | |
9 | |
9 | |
9 | |
9 | |
8 | |
8 |