Quantcast
Channel: SCN : Popular Discussions - SAP Predictive Analytics
Viewing all 1741 articles
Browse latest View live

Cannot grant system.afl_wrapper_generator rights

$
0
0

I am trying to use SAP Predictive analisys tools on prod. AFL has been installed with PRODPULL (REv74).

So, according to http://help.sap.com/hana/SAP_HANA_Predictive_Analysis_Library_PAL_en.pdf, Checking PAL Installation:

 

SELECT * FROM "SYS"."AFL_FUNCTIONS" WHERE AREA_NAME = 'AFLPAL';

 

returns unemtpy set (58 functions, but less that what I have expected from the documentation)

 

My user has AFL__SYS_AFL_ALFPAL_EXECUTE and AFL__SYS_AFL_ALFPAL_EXECUTE_WITH_GRANT_OPTION roles.

Next, I have to grant rights for AFL wrapper generator. Executing (from another p-user)

 

GRANTEXECUTEONsystem.afl_wrapper_generatorto<MYUSER>

 

 

Could not execute 'GRANT EXECUTE ON system.afl_wrapper_generator to <MYUSER>' in 53 ms 536 µs .

SAP DBTech JDBC: [397] (at 24): invalid object name: AFL_WRAPPER_GENERATOR: line 1 col 25 (at pos 24)


 

So, if I try to execute some function, like

(from the examples in http://help.sap.com/hana/SAP_HANA_Predictive_Analysis_Library_PAL_en.pdf)

CALL"_SYS_AFL".PAL_KMEANS_PROC(PAL_KMEANS_DATA_TBL, #PAL_CONTROL_TBL,

PAL_KMEANS_ASSIGNED_TBL, PAL_KMEANS_CENTERS_TBL) with OVERVIEW;

 

Could not execute 'CALL "_SYS_AFL".PAL_KMEANS_PROC(PAL_KMEANS_DATA_TBL, #PAL_CONTROL_TBL, PAL_KMEANS_ASSIGNED_TBL, ...'

SAP DBTech JDBC: [328]: invalid name of function or procedure: PAL_KMEANS_PROC: line 1 col 17 (at pos 16)

 

So, _SYS_AFL can not be found, it is the same with wrappers and generations.

Why cant I (or another user)  grant me these rights ?

 

Kind regards, Peter


30-Day Trial of SAP Predictive Analysis - keycode invalid

$
0
0

Hi,

 

I downloaded the trail version of SAP Predictive Analysis. However, the keycode sent via email isnt working and popping up error " Keycode invalid". I wanted to know how to proceed?

Predictive Analytics books

Request of a Product key for SAP Predictive Analysis 1.15 32-bit

$
0
0

Please provide a product key for SAP Predictive Analysis 1.15 32-bit.  My current key has expired.

Thank you,

Apriori Algorith Association Chart issue

$
0
0

Hello experts,

 

I'm just beginning with PA and need some help.

 

I'm applying the APriori algorithm in SAP PA with a datasource of CSV with 200 observations. The algorithm execution status is "Analysis successfully executed, results are available for visualization, switch to results view" I click OK and all the rules are displayed in the Data grid. But when I click on Association chart, it throws up an error saying "No rules are available to render the chart" even though the settings shows Support value, Confidence value and lift value is mentioned in respective dropdown.

 

Can Anyone please help?

 

Shrirama

Not able to create Universe Document in SAP Predictive Analysis 1.17

$
0
0


Hi,

 

We have installed SAP Predictive Analysis 1.17. I am not able to create Universe document using it.

I am getting the error as "Connectio Failed: Could not connect to Central Management Server" while creating the universe document.

All the ports are open. Using same credentials I am able to open BI launchpad, so no issue of credentials.

Please provide me the solution.

 

 

Thanks and Regards,

Bhagyashri

Shell Script Question re: Cut Training Policy

$
0
0

My shop uses KXEN version 5.1.3, and I've inherited an older shell script that defines the CutTrainingPolicy as "random". Here is a piece of the code:

 

createModel Kxen.SimpleModel newmodel
newmodel.getParameter ""
newmodel.changeParameter Parameters/CutTrainingPolicy "random"
newmodel.validateParameter

newmodel.pushTransformInProtocol Default Kxen.RobustRegression
newmodel.pushTransformInProtocol Default Kxen.ConsistentCoder

newmodel.openNewStore Kxen.FileStore c:/temp
newmodel.newDataSet Training train.txt

 

etc.

 

A user has requested that I test a custom cutting strategy without test, so I set it up in the GUI and exported the script. It now looks like:

#GENERATED_BY_KXEN
# KXEN Shell Script
# generated on 2014-08-13 17:16:07
# by KXEN version 5.1.3

default STORE_USER ""
default STORE_PWD ""
default DESC_USER ""
default DESC_PWD ""


#Declaring the 'ESTIMATION' store and space
default ESTIMATION_STORE_TYPE "Kxen.FileStore"
default ESTIMATION_STORE_NAME "D:\DATA/199710"
default ESTIMATION_STORE_USER $STORE_USER
default ESTIMATION_STORE_PWD $STORE_PWD
default ESTIMATION_STORE_ALIAS myEstimationStore
default ESTIMATION_SPACE "model219.txt"

 

#Declaring the 'VALIDATION' store and space
default VALIDATION_STORE_TYPE "Kxen.FileStore"
default VALIDATION_STORE_NAME "D:\DATA/199710"
default VALIDATION_STORE_USER $STORE_USER
default VALIDATION_STORE_PWD $STORE_PWD
default VALIDATION_STORE_ALIAS myValidationStore
default VALIDATION_SPACE "model219.txt"

 

default MODEL_SAVE_STORE_TYPE "Kxen.FileStore"
default MODEL_SAVE_STORE_NAME "."
default MODEL_SAVE_STORE_USER ""
default MODEL_SAVE_STORE_PWD ""
default MODEL_SAVE_NAME "target_model219.bigtrain"
default MODEL_SAVE_SPACE "target_model219.kxen"
default MODEL_SAVE_COMMENT "The model 'target_model219.bigtrain' has been saved"


createModel Kxen.SimpleModel m
m.getParameter ""
m.changeParameter Parameters/CutTrainingPolicy "random"
m.setName "target_model219.bigtrain"
m.validateParameter

etc


I can see that the ESTIMATION and VALIDATION data sets are now defined, but the policy still says "random". Does this matter? Should I override the value? I can't find anything in the API docs.

 

Thank you,

Scott

Exporting Triple Exponential Smoothing Model

$
0
0

Does anyone know if there is a way to export a Triple Exponential Smoothing model?

 

In Online Mode, I was not able to get HANA Triple Exponential Smoothing to allow me to save the model, which normally means I can export it to PMML or a stored procedure in HANA. I was not able to try, yet, HANA R-Triple Exponential Smoothing due to not having Rserve installed (any quick guides would be appreciated).

 

In Offline Mode, I am able to successfully run Triple Exponential Smoothing, but I get an error when I click "Save as Model". The error, which follows, seems to indicate that export this model is not supported (...then why is it an option...?):

 

offline-mode-hana-triple-exponential-smoothing-save-as-model-error.png

R-Triple Exponential Smoothing works in Offline Mode as well, but there is no "Save as Model" option at all available.

 

So, I have one option left to try, but I figured it would be best to just ask the community if I am missing something or if this is just not possible in Predictive Analysis with this algorithm?



Duplicated Column names when creating PAL procedure with AFL_WRAPPER_GENERATOR

$
0
0

Hi all,

 

I am trying to create a simple PAL procedure, described in this thread:

http://scn.sap.com/thread/3374278

and each time I try to do this I get this error:

 

 

Could not execute 'CALL SYSTEM.AFL_WRAPPER_GENERATOR ('PAL_TS_S', 'AFLPAL', 'SINGLESMOOTH', PAL_TS_SIGNATURE)' in 254 ms 967 µs .

SAP DBTech JDBC: [423]: liveCache error:  [423] SYSTEM.AFL_WRAPPER_GENERATOR: line 34 col 1 (at pos 1717): liveCache error exception: liveCache error: registration finished with errors, see indexserver trace

 

 

when I see the index server trace file I find that the origin of this error is the following:

 

2013-06-13 05:29:44.021650 e AFLPM_SQL AFLPM_SQLDriverObj.cpp(04529) : Registration of AFL wrapper my_proc_14_20_13_06_2013 failed at "CREATE TYPE _SYS_AFL.PAL_TS_S__TT_P1 AS TABLE ( "CALENDAR_ID" INTEGER, "CALENDAR_ID" INTEGER, "CALENDAR_ID" INTEGER, "CALENDAR_ID" INTEGER, "CALENDAR_ID" INTEGER, "SALES_AMOUNT" DOUBLE, "SALES_AMOUNT" DOUBLE, "SALES_AMOUNT" DOUBLE, "SALES_AMOUNT" DOUBLE, "SALES_AMOUNT" DOUBLE )" with error 272: "duplicate column name - CALENDAR_ID: line 1 col 65 (at pos 64)"!

[81119]{218365}[148861656]

 

where you can see clearly that the column names for the TYPE TABLE  PAL_TS_S__TT_P1 are duplicated. The problem is that this code is automatically generated by the AFL_WRAPPER_GENERATOR file. Do you know what can be causing this problem, and what to do to solve this problem?

 

Please, if you any ideas, feel free to share.

 

Thanks & Regards

Mohamed Ali

PA: Issues with DATE

$
0
0

Hi guys,

 

I just tried to use the R-triple exponential smoothing algorithm to create a forecast. I´m using a dataset of 2007 and 2008 and I want to forecast quarter 1,2,3 and 4 of 2009. Unfortunately PA (SP10) has some issues taking the right year. Instead PA is counting the years like shown in the jpeg attached.

 

1.PNG

 

2.PNG

 

 

Any thoughts? Regards, Christoph.

Installtion Issue in SAP predictive Analytics

$
0
0

Hi,

 

Any one know how to get license key for SAP perdtive Analytics?

 

I am SAP Employee.

 

Thanks

 

Sandip

 

+65 93214515

Fail in Forecast Smoothing

$
0
0

Hi,

 

as I listened to the Video about Forecast Smoothing this should be only available to SPS7.

The Video: http://www.saphana.com/docs/DOC-4326

 

Looking into the Table SYS:AFL_FUNCTIONS_ I find the Entry "FORECASTSMOOTHING" in the Table. So I guess the Forecast Smoothing is available to me.

In HANA Studio - Help - About ... I see Version: 1.0.7000 / Build id: 386119

 

 

But running my Example of Forecast Smoothing gives me the Error:

Could not execute 'CALL _SYS_AFL.PAL_TS (V_TS_DATA, #TS_PARAMS, TS_OPTIMAL_PARAMS, TS_RESULTS) WITH OVERVIEW' in 176 ms 111 µs .

SAP DBTech JDBC: [2048]: column store error: search table error:  [2620] _SYS_AFL.AFLPAL:FORECASTSMOOTHING: [135] (range 2) AFLFunctionFatal exception: PAL error[73001502]:Ahead exception throw out, Check trace for details

 

My Params are:

INSERT INTO #TS_PARAMS VALUES ('THREAD_NUMBER', 2, null, null);

INSERT INTO #TS_PARAMS VALUES ('FORECAST_MODEL_NAME', null, null, 'TESM'); SESM: Single, DESM: Double, TESM: Triple

INSERT INTO #TS_PARAMS VALUES ('FORECAST_NUM', 30, null, null);

INSERT INTO #TS_PARAMS VALUES ('STARTTIME', 0, null, null);

INSERT INTO #TS_PARAMS VALUES ('CYCLE', 90, null, null);

INSERT INTO #TS_PARAMS VALUES ('FORECAST_AUTOMATIC', 0, null, null);

INSERT INTO #TS_PARAMS VALUES ('ALPHA', null, 0.1, null); 0-1 for smoothing weight

INSERT INTO #TS_PARAMS VALUES ('BETA', null, 0.1, null); 0-1 for trend (DESM & TESM)

INSERT INTO #TS_PARAMS VALUES ('GAMMA', null, 0.1, null); 0-1 for seasonality (TESM)

 

I try also without the FORECAST_AUTOMATIC, ALPHA, BETA, GAMMA but then I read in the Indexserver-Alert that the Param FORECAST_AUTOMATIC is missing.

 

 

As I know:

- The Data has no gaps

- The Base Example in the Documentation fails with the same error

 

Any suggestion?

How I can check if the Forecast SMoothing is available in my Version?

 

Regards,

Mansur

Version 1.16 & HANA Ver 70 ETA?

$
0
0

Does anyone know an expected timeframe for the release of PA version 1.16?  And if it will support HANA version 70? 

How I can Monitor(hrly) traffic using SAP Predictive Analysis

$
0
0

Hi ,

 

I want to monitor traffic using this software. Basically i have data as shown below.

 

Let say we have 5 operator where we send traffic. I have generated a report based on date/hr,dayname,operator , # of message send in that hrs.

 

I have generated report this way because i have notice # of traffic send to operator  depends on hrs and dayname. Ex Sat /Sun i have notice volume is low but on weekdays it high.Some particular hrs have 0 records.Some hrs have high traffic. Note this data are all dummy data.

 

 

Now what i want to do this suppose a job will be run at hh:05 hrs and it will check hh-1 hrs data mean last hrs data. If #of traffic send =0 then it will analysize data( all prev days/hrs may be last 50 days or more) and can send alert .

 

Currently we do some cron job.But logic is simple,hrly job run at hh:55 hrs. It check if hh hrs have=0 msg and prev hrs(hh-1) have >50 and prev day(current date-1) hh hrs have >50 records and 7 days early hh hrs also have >50 records then we send alert.

 

Some time alert doest fire if one of the condition fail. So operation try to adjust >50 to 25 and do some trail and error which i dont like.

 

That why i want use this software to predict traffic for  better monitoring.

 

Which alogorithm will be best to use?

 

Thanks and regards

 

Sandip

 

 

 

date-hrDaynameoperator# of msg send
2014-01-01 00WednesdayOpr-124
2014-01-01 00WednesdayOpr-25
2014-01-01 00WednesdayOpr-378
2014-01-01 00WednesdayOpr-40
2014-01-01 00WednesdayOpr-545
2014-01-01 01WednesdayOpr-189
2014-01-01 01WednesdayOpr-223
2014-01-01 01WednesdayOpr-343
2014-01-01 01WednesdayOpr-43
2014-01-01 01WednesdayOpr-54
contd…
2014-01-01 23ThusrdayOpr-189
2014-01-01 23ThusrdayOpr-223
2014-01-01 23ThusrdayOpr-343
2014-01-01 23ThusrdayOpr-43
2014-01-01 23ThusrdayOpr-54
and so on upto
  18 Feb current hrs

Error 314: numeric overflow: search table error: 6499 error executing physical plan: exception 6499

$
0
0

Hello all, I'm having several troubles with PA recently and one of then, is the error below.

It happens after I execute the APRIORI algorithm, and try to visualize the results. So then appears this window:

1.png

 

Does anyone knows what might be happening?

 

 

Regards!


Predictive Analytics books

PAL and managing System Copies,

$
0
0

Hello Team,  I am  trying to get some clarification on the role of the Script Server if customer chooses to deploy Predictive Analytical Libraries (PAL) and impact on database copies or refreshes.  My assumption is that  script server has nothing to do with database consistency and when a customer creates a copy of the database from a PRD to QA then consistency and configuration of Script server would be retained on target system.   All the SCRIPT Server does is communicate to INDEX Server to insure database consistency.

 

Let me know if you know of someone that I can validate this, but with my lack of PAL experience I am only assuming I am accurate.

Thanks for any response.

All options are not enabled in SAP InfiniteInsight trial version

$
0
0

Hi Experts,

 

I have downloaded SAP InfiniteInsight trail version and installed it into my machine, it's working fine but the issue we are facing with the trial version are:

 

Only few options are available to use and the rest are disabled.

 

I want to test my data with all the options available/shown in SAP InfiniteInsight.

 

Can anybody suggest what could be the possible solution.

 

I appreciate the help in this regard.

 

 

 

 

 

Thanks,

Shambhu Nath

30-Day Trial of SAP Predictive Analysis - keycode invalid

$
0
0

Hi,

 

I downloaded the trail version of SAP Predictive Analysis. However, the keycode sent via email isnt working and popping up error " Keycode invalid". I wanted to know how to proceed?

Error while executing the query using R algorithms.

$
0
0

Hi gurus - I have installed PA and configured R packages. I have a .csv data source and trying to do some analysis using R-K means. I have defined the R_Km means properties and running the analysis.

 

When I run the analysis I get the following error

 

A critical error occurred : An error occurred while executing the query ./ Error details :

[Sybase ] [ ODBC Driver][Sybase IQ] Large Objects Management functionality is not licensed on this server .

--(db_catalog.cxx 5905)

 

Any suggestions or help on this would be appreciated.

 

 

Cheers,

 

Sanjeev

Viewing all 1741 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>