SAP Predictive Analysis - Installation and Configuration (1).pdf

23
SAP Predictive Analysis Installation & Configuration Scott Leaver, Solution Management, SAP Predictive Analysis Charles Gadalla, Solution Management, SAP July 2012

Transcript of SAP Predictive Analysis - Installation and Configuration (1).pdf

Page 1: SAP Predictive Analysis - Installation and Configuration (1).pdf

SAP Predictive Analysis –

Installation & Configuration

Scott Leaver, Solution Management, SAP Predictive Analysis Charles Gadalla, Solution Management, SAP July 2012

Page 2: SAP Predictive Analysis - Installation and Configuration (1).pdf

SAP Predictive Analysis: Pre-requisites

Page 3: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 3 Confidential

SAP Predictive Analysis (SAP PA): Pre-requisites

• Version 1.0

• ENGLISH ONLY • Microsoft Window 7 (32-bit and 64-bit) • JRE 1.6 or above

• For Support of R

• Supported version of R: • 2.11.1

• R Packages • AMORE • arules • RJDBC • XML • RODBC • caret (version 4.85 or above) • DBI • monmlp • PMML • rJava

• NOTE:

• For a 32-bit OS: MUST install SAP Predictive Analysis 32-bit, JRE 32-bit and 32-bit R environment • For 64-bit OS: MUST install SAP Predictive Analysis 64-bit, JRE 64-bit and 64-bit R environment

Page 4: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 4 Confidential

R install

Page 5: SAP Predictive Analysis - Installation and Configuration (1).pdf

SAP PA: Installation / Configuration / R

Page 6: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 6 Confidential

SAP PA: Installation

• Run Setup

• Installer will Check for JRE Version

Page 7: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 7 Confidential

End-User License Agreement: EULA

• Accept the EULA

Page 8: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 8 Confidential

User Information

• Enter Valid User Information

Page 9: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 9 Confidential

Destination Folder

• Provide Installation

Destination Folder:

Page 10: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 10 Confidential

Repository Selection

• Select the repository to

configure:

• You can choose to install a new Sybase SQL Anywhere Database OR

• Use an existing database server • Sybase SQL Anywhere • MySQL 5.1 & 5.5 • SAP HANA 1.0 SP3

Page 11: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 11 Confidential

New Repository Installation

• Install a New Sybase SQL

Anywhere database

Page 12: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 12 Confidential

Repository Configuration

• Set parameters as required

Page 13: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 13 Confidential

Algorithm Configuration

• Select “R Algorithms” if you

use R and want to consume R

algorithms in SAP PA

Page 14: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 14 Confidential

R Algorithm Configuration

• Select the Database

Connection Type

• Select the Folder where R has

been installed

Page 15: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 15 Confidential

Install Confirmation

• Summary of Install before

starting the Install

Page 16: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 16 Confidential

Installation

• Installation Progress

Page 17: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 17 Confidential

Installation Complete

• Installation Complete

• Select a desktop Icon if needed

Page 18: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 18 Confidential

SAP PA: Repository Contents – 4 Core Items

1. List of Supported Components

• Data Reader, Data Preparation, Algorithms & Data Writer components

2. Default Folder

• Name of the folder: Predictive Analysis

3. Image icons and .jar files

• Required for starting Predictive Analysis

4. User created content

• Analyses • Folders • Saved Models • HANA Connections

Page 19: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 19 Confidential

Table Name Description OBJECT_MASTER Stores the unique ID for each object inserted into the MDR.

OBJECT_TO_OBJECT_MAPPING Stores the relations between any 2 objects.

PROPERTY_COLLECTION_MASTER Stores the unique ID for each property collection inserted into the MDR.

CONTENT_MASTER Stores the unique ID for each content (BLOB) inserted into the MDR

PROP_COL_TO_PROP_COL_MAP Stores the mapping between 2 property collections. This is used to identify the property collections present under any property collection.

OBJ_OBJ_MAP_TO_PROP_COL_MAP Stores the mapping between a relation and a property collection. This is used to identify the property collections present under a relation.

OBJ_OBJ_MAP_TO_CONTENT_MAP Stores the mapping between a relation and a content. This is used to identify the contents present under a relation.

OBJ_TO_PROP_COL_MAPPING Stores the mapping between an object and a property collection. This is used to identify the property collections present under an object.

PROPERTY_MASTER Stores the unique ID for each property inserted into the MDR.

PROP_COL_TO_PROP_MAPPING Stores the mapping between a property collection and a property. This is used to identify the properties present under an property collection.

OBJECT_TO_CONTENT_MAPPING Stores the mapping between an object and a content. This is used to identify the contents present under an object.

SAP PA: Repository Tables

Page 20: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 20 Confidential

R - installation and Configuration – Read carefully

LOAD required packages per documentation as per below

but see slide notes for recommended order!

Open source R is free software governed under the standard

General Public License (GPL)

Page 21: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 21 Confidential

Resources – Install & Config

https://tdwiki.pgdev.sap.corp/display/PAS/SAP+Predictive+Analysis

Page 22: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2011 SAP AG. All rights reserved. 22 Confidential

What is open source R?

An open source software language and environment for statistical computing and graphics with over 3000 add-on packages. http://www.r-project.org/

The packages cover a wide range topics -

Cluster Analysis & Finite Mixture Models Probability Distributions Computational Econometrics Empirical Finance Statistical Genetics Graphic Displays, Dynamic Graphics, Graphic Devices &

Visualisation Machine Learning & Statistical Learning Medical Image Analysis Multivariate Statistics Natural Language Processing Statistics for the Social Sciences Time Series Analysis

Page 23: SAP Predictive Analysis - Installation and Configuration (1).pdf

© 2012 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Some software products marketed by SAP AG and its distributors contain proprietary software components of other software vendors. Microsoft, Windows, Excel, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. IBM, DB2, DB2 Universal Database, System i, System i5, System p, System p5, System x, System z, System z10, System z9, z10, z9, iSeries, pSeries, xSeries, zSeries, eServer, z/VM, z/OS, i5/OS, S/390, OS/390, OS/400, AS/400, S/390 Parallel Enterprise Server, PowerVM, Power Architecture, POWER6+, POWER6, POWER5+, POWER5, POWER, OpenPower, PowerPC, BatchPipes, BladeCenter, System Storage, GPFS, HACMP, RETAIN, DB2 Connect, RACF, Redbooks, OS/2, Parallel Sysplex, MVS/ESA, AIX, Intelligent Miner, WebSphere, Netfinity, Tivoli and Informix are trademarks or registered trademarks of IBM Corporation. Linux is the registered trademark of Linus Torvalds in the U.S. and other countries. Adobe, the Adobe logo, Acrobat, PostScript, and Reader are either trademarks or registered trademarks of Adobe Systems Incorporated in the United States and/or other countries. Oracle and Java are registered trademarks of Oracle and/or its affiliates. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C®, World Wide Web Consortium, Massachusetts Institute of Technology.

© 2012 SAP AG. All rights reserved.

SAP, R/3, SAP NetWeaver, Duet, PartnerEdge, ByDesign, SAP BusinessObjects Explorer, StreamWork, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and other countries.

Business Objects and the Business Objects logo, BusinessObjects, Crystal Reports, Crystal Decisions, Web Intelligence, Xcelsius, and other Business Objects products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Business Objects Software Ltd. Business Objects is an SAP company.

Sybase and Adaptive Server, iAnywhere, Sybase 365, SQL Anywhere, and other Sybase products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of Sybase, Inc. Sybase is an SAP company.

All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

The information in this document is proprietary to SAP. No part of this document may be reproduced, copied, or transmitted in any form or for any purpose without the express prior written permission of SAP AG.