Quantcast
Channel: SCN : All Content - SAP BusinessObjects Predictive Analytics
Viewing all articles
Browse latest Browse all 836

Hands-On Tutorial for creating Custom R Components in SAP Predictive Analysis

$
0
0

This Hands-on tutorial gives an introduction to creating Custom R Components in SAP Predictive Analysis.

 

SAP_PA_and_Custom_R_Components_Tutorial.zip 

https://sapmats-us.sap-ag.de/download/download.cgi?id=MLHGP78MV6SA6FISL9EXW7UHTFC9AV4NW0KIY8ESFXDB2VMMY4

 

An expert-user creates new components which can leverage the thousands of algorithms from the R libraries. The casual-user can then easily and graphically embed these components into his own data flows. The creation of such components is slowly introduced with different examples that become more complex. The dataset is part of the download so that it is easier to follow the tutorial.

 

Eventually you will have created a new custom component with the following capabilities
•The end user can select at runtime what fields to pass into the component.
•A linear regression will be executed.
•A new charting type will be displayed that is not available with SAP Predictive Analysis.
•A trained model can be saved and applied on additional datasets.


To help focus on the programming concept, a simple linear regression is used within the component. Once you have understood this concept, you are ready to implement your own components with the thousands of R-functions at your disposal.

 

It is assumed the reader has a fair understanding of both SAP Predictive Analysis and R-scripting.

 

Have fun!

Andreas

 

screenshot.PNG


Viewing all articles
Browse latest Browse all 836

Trending Articles



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