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.

Content<br />

1 What is <strong>PAL</strong>?. .............................................................. 5<br />

2 Getting Started with <strong>PAL</strong>. .....................................................7<br />

2.1 Prerequisites. ...............................................................7<br />

2.2 Application Function <strong>Library</strong> (AFL). ................................................7<br />

2.3 Security. ...................................................................8<br />

2.4 Checking <strong>PAL</strong> Installation. ......................................................8<br />

2.5 Calling <strong>PAL</strong> Functions. .........................................................9<br />

Parameter Table Structure. ..................................................11<br />

Exception Handling. ....................................................... 12<br />

2.6 Using <strong>PAL</strong> in <strong>SAP</strong> <strong>HANA</strong> AFM. ...................................................13<br />

3 <strong>PAL</strong> Functions. .............................................................16<br />

3.1 Clustering Algorithms. ........................................................20<br />

Affinity Propagation. .......................................................20<br />

Agglomerate Hierarchical Clustering. ...........................................25<br />

Anomaly Detection. ....................................................... 32<br />

Cluster Assignment. .......................................................38<br />

DBSCAN. ...............................................................47<br />

Gaussian Mixture Model (GMM). ..............................................53<br />

K-Means. ...............................................................63<br />

K-Medians. ..............................................................77<br />

K-Medoids. ............................................................. 83<br />

LDA Estimation and Inference. ............................................... 90<br />

Self-Organizing Maps. .....................................................103<br />

Slight Silhouette. .........................................................113<br />

Incremental Clustering on <strong>SAP</strong> <strong>HANA</strong> Smart Data Streaming. .........................117<br />

3.2 Classification Algorithms. .....................................................118<br />

Area Under Curve (AUC). ...................................................118<br />

Back Propagation Neural Network. ............................................125<br />

C4.5 Decision Tree. .......................................................138<br />

CART Decision Tree. ......................................................144<br />

CHAID Decision Tree. .....................................................150<br />

Confusion Matrix. ........................................................157<br />

KNN. ................................................................. 161<br />

Logistic Regression (with Elastic Net Regularization). ...............................165<br />

Multi-Class Logistic Regression. ..............................................179<br />

2 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 />

Content

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

Saved successfully!

Ooh no, something went wrong!