25.10.2016 Views

SAP HANA Predictive Analysis Library (PAL)

sap_hana_predictive_analysis_library_pal_en

sap_hana_predictive_analysis_library_pal_en

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DROP TABLE <strong>PAL</strong>_ENET_LOGISTICR_RESULTS_TBL;<br />

CREATE COLUMN TABLE <strong>PAL</strong>_ENET_LOGISTICR_RESULTS_TBL LIKE<br />

<strong>PAL</strong>_ENET_LOGISTICR_RESULT_T;<br />

DROP TABLE <strong>PAL</strong>_ENET_LOGISTICR_STAT_TBL;<br />

CREATE COLUMN TABLE <strong>PAL</strong>_ENET_LOGISTICR_STAT_TBL LIKE <strong>PAL</strong>_ENET_LOGISTICR_STAT_T;<br />

DROP TABLE <strong>PAL</strong>_ENET_LOGISTICR_PMMLMODEL_TBL;<br />

CREATE COLUMN TABLE <strong>PAL</strong>_ENET_LOGISTICR_PMMLMODEL_TBL LIKE<br />

<strong>PAL</strong>_ENET_LOGISTICR_PMMLMODEL_T;<br />

CALL DM_<strong>PAL</strong>.<strong>PAL</strong>_ENET_LOGISTICR_PROC(<strong>PAL</strong>_ENET_LOGISTICR_DATA_TBL,<br />

"#<strong>PAL</strong>_CONTROL_TBL", <strong>PAL</strong>_ENET_LOGISTICR_RESULTS_TBL, <strong>PAL</strong>_ENET_LOGISTICR_STAT_TBL,<br />

<strong>PAL</strong>_ENET_LOGISTICR_PMMLMODEL_TBL) WITH OVERVIEW;<br />

SELECT * FROM <strong>PAL</strong>_ENET_LOGISTICR_RESULTS_TBL;<br />

SELECT * FROM <strong>PAL</strong>_ENET_LOGISTICR_STAT_TBL;<br />

SELECT * FROM <strong>PAL</strong>_ENET_LOGISTICR_PMMLMODEL_TBL;<br />

Expected Results<br />

<strong>PAL</strong>_ENET_LOGISTICR_RESULTS_TBL:<br />

<strong>PAL</strong>_ENET_LOGISTICR_STAT_TBL:<br />

<strong>PAL</strong>_ENET_LOGISTICR_PMMLMODEL_TBL:<br />

FORECASTWITHLOGISTICR<br />

This function performs predication with logistic regression result.<br />

174 P U B L I C<br />

<strong>SAP</strong> <strong>HANA</strong> <strong>Predictive</strong> <strong>Analysis</strong> <strong>Library</strong> (<strong>PAL</strong>)<br />

<strong>PAL</strong> Functions

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!