Expert Analytics User Guide Content
Total Page:16
File Type:pdf, Size:1020Kb
PUBLIC SAP BusinessObjects Predictive Analytics 3.1 2016-11-22 Expert Analytics User Guide Content 1 About Expert Analytics........................................................6 1.1 Expert Analytics Overview.......................................................6 1.2 New in Expert Analytics 3.1......................................................6 1.3 Document History............................................................ 6 1.4 Documentation Resources...................................................... 7 1.5 What this Guide Contains.......................................................8 1.6 Target Audience..............................................................9 2 Getting Started with Expert Analytics........................................... 10 2.1 Basics of Expert Analytics......................................................10 2.2 Understanding Online and Agnostic Modes ..........................................11 2.3 Launching Expert Analytics.....................................................12 2.4 Installing R and the Required Packages.............................................12 2.5 Configuring R...............................................................14 2.6 Understanding Expert Analytics..................................................15 Designer View............................................................15 Results View.............................................................16 2.7 Using Expert Analytics from Start to Finish..........................................16 2.8 Configuring Advanced Features of Expert Analytics....................................17 3 Acquiring Data.............................................................19 3.1 Acquiring data.............................................................. 19 Viewing a data source connection and its associated documents........................20 Acquiring data from an Excel workbook..........................................20 Acquiring data from a text file.................................................22 Acquiring data copied to the clipboard...........................................24 Acquiring data from SAP HANA views...........................................25 Acquiring data from universes................................................ 29 Acquiring data using Query with SQL............................................31 Editing an acquired data set..................................................37 Refreshing data in a document................................................38 Renaming a data set....................................................... 38 Objects hidden from the object list.............................................38 Editing the enrichment suggestions file..........................................39 4 Preparing Data.............................................................41 4.1 Preparing data..............................................................41 Prepare room—viewing, cleaning, and manipulating data..............................41 Expert Analytics User Guide 2 PUBLIC Content Editing and cleaning data....................................................47 Creating measures and hierarchies.............................................49 Creating a calculated measure or dimension......................................54 Working with multiple data sets............................................... 70 5 Building Analyses...........................................................74 5.1 Creating an Analysis..........................................................74 Applying Preprocessing Components to Data......................................74 HANA Demand Forecasting Component Overview..................................75 Configuring the HANA Sentiment Analysis Component...............................87 Partitioning Data..........................................................88 Applying Algorithms....................................................... 88 Optional: Storing Results of Analysis............................................90 5.2 Running the Analysis......................................................... 90 5.3 Saving the Analysis...........................................................90 5.4 Deleting an Analysis from the Document............................................91 5.5 Viewing Results and Exporting an Analysis.......................................... 91 6 Creating R Extensions and PAL Components......................................92 6.1 Creating an R Extension....................................................... 92 Specifying properties with the R Extension Wizard..................................92 Creating an R Extension.....................................................95 Plotting Multiple Charts in R Extensions..........................................98 6.2 Creating a PAL Component....................................................100 Specifying Properties with the PAL Component Creation Wizard....................... 101 Creating a PAL Component..................................................103 7 Sharing and Consuming R Extensions ..........................................104 7.1 Sharing and Consuming R Extensions.............................................104 7.2 Sharing an R Extension.......................................................104 7.3 Browsing for and Consuming R Extensions.........................................106 7.4 Editing an R Extension........................................................107 8 Viewing the Results of Analysis ...............................................110 8.1 Analyzing Data............................................................. 110 8.2 Scatter Matrix Chart..........................................................111 8.3 Statistical Summary Chart.....................................................111 8.4 Parallel Coordinates..........................................................112 8.5 Decision Tree.............................................................. 113 8.6 Trend Chart............................................................... 114 8.7 Cluster Chart...............................................................115 8.8 Apriori Tag Cloud Chart.......................................................116 8.9 Confusion Matrix............................................................116 Expert Analytics User Guide Content PUBLIC 3 8.10 R Extensions Chart.......................................................... 117 9 Visualizing Data........................................................... 118 9.1 Visualize room—creating charts.................................................118 Creating charts...........................................................121 Data sorting in charts......................................................132 Filtering data in the Visualize room............................................ 133 Hierarchical data.........................................................136 Finding measures, dimensions, and data values...................................138 Measures associated with dimensions..........................................138 Aggregation types supported................................................ 139 10 Creating Stories...........................................................140 10.1 Compose room—creating stories about visualizations.................................140 Page Settings panel.......................................................140 Creating a story..........................................................144 Modifying a story.........................................................148 Saving a story...........................................................148 Refreshing data on an infographic page.........................................148 Exploring a visualization in a story.............................................148 Drilling through hierarchical data in a story.......................................149 11 Optimizing Data........................................................... 151 11.1 Optimizing Data.............................................................151 12 Working with Models........................................................153 12.1 Creating a Model............................................................153 12.2 Sharing Models via PMML.....................................................153 12.3 Sharing Models Using Spar Files.................................................154 12.4 Sharing Custom Components Using .spar Files......................................154 12.5 Importing a Model...........................................................155 12.6 Deleting a Model............................................................155 13 Comparing Models.........................................................156 13.1 Overview................................................................. 156 13.2 Comparing Two Models.......................................................160 13.3 Comparing Three or More Models................................................162 14 Exporting Models and Analyses............................................... 164 14.1 Exporting Models and Extensions................................................164 14.2 Exporting a Single SAP HANA Model as a Stored Procedure.............................165 14.3 Exporting a Single R Extension as a Stored Procedure................................. 166 14.4 Exporting an Analysis as a Stored Procedure........................................168 14.5 Exporting a Chain of Trained Models..............................................169