OLAP and Data Mining. Data Warehousing and End-User Access Tools. Introducing OLAP. Introducing OLAP



Similar documents
OLAP. Business Intelligence OLAP definition & application Multidimensional data representation

14. Data Warehousing & Data Mining

An Overview of Database management System, Data warehousing and Data Mining

Copyright 2007 Ramez Elmasri and Shamkant B. Navathe. Slide 29-1

CS2032 Data warehousing and Data Mining Unit II Page 1

DATA WAREHOUSING AND OLAP TECHNOLOGY

Data Warehouses & OLAP

Fluency With Information Technology CSE100/IMT100

BUSINESS ANALYTICS AND DATA VISUALIZATION. ITM-761 Business Intelligence ดร. สล ล บ ญพราหมณ

Learning Objectives. Definition of OLAP Data cubes OLAP operations MDX OLAP servers

Data Warehouse: Introduction

1. OLAP is an acronym for a. Online Analytical Processing b. Online Analysis Process c. Online Arithmetic Processing d. Object Linking and Processing

DATA WAREHOUSING - OLAP

Week 3 lecture slides

Data Mining. Vera Goebel. Department of Informatics, University of Oslo

DATA WAREHOUSE E KNOWLEDGE DISCOVERY

OLAP and OLTP. AMIT KUMAR BINDAL Associate Professor M M U MULLANA

Data Mining as Part of Knowledge Discovery in Databases (KDD)

BUILDING BLOCKS OF DATAWAREHOUSE. G.Lakshmi Priya & Razia Sultana.A Assistant Professor/IT

Data Warehousing, OLAP, and Data Mining

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Winter 2009 Lecture 15 - Data Warehousing: Cubes

Chapter 5. Warehousing, Data Acquisition, Data. Visualization

Chapter 5 Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization

Course DSS. Business Intelligence: Data Warehousing, Data Acquisition, Data Mining, Business Analytics, and Visualization

B.Sc (Computer Science) Database Management Systems UNIT-V

A Technical Review on On-Line Analytical Processing (OLAP)

CSE 544 Principles of Database Management Systems. Magdalena Balazinska Fall 2007 Lecture 16 - Data Warehousing

2074 : Designing and Implementing OLAP Solutions Using Microsoft SQL Server 2000

Data W a Ware r house house and and OLAP II Week 6 1

Data Mining for Successful Healthcare Organizations

Data Warehousing and OLAP Technology for Knowledge Discovery

OLAP & DATA MINING CS561-SPRING 2012 WPI, MOHAMED ELTABAKH

Data Warehousing and Data Mining in Business Applications

Oracle9i Data Warehouse Review. Robert F. Edwards Dulcian, Inc.

Distance Learning and Examining Systems

Foundations of Business Intelligence: Databases and Information Management

Mario Guarracino. Data warehousing

University of Gaziantep, Department of Business Administration

Data Warehousing. Outline. From OLTP to the Data Warehouse. Overview of data warehousing Dimensional Modeling Online Analytical Processing

Vendor briefing Business Intelligence and Analytics Platforms Gartner 15 capabilities

Business Intelligence, Analytics & Reporting: Glossary of Terms

When to consider OLAP?

Building Data Cubes and Mining Them. Jelena Jovanovic

Week 13: Data Warehousing. Warehousing

Framework for Data warehouse architectural components

Data Warehousing. Read chapter 13 of Riguzzi et al Sistemi Informativi. Slides derived from those by Hector Garcia-Molina

DATA MINING AND WAREHOUSING CONCEPTS

Introduction to Data Mining

Data Mining Algorithms Part 1. Dejan Sarka

UNIT-3 OLAP in Data Warehouse

CHAPTER 4 Data Warehouse Architecture

Data Mining + Business Intelligence. Integration, Design and Implementation

Data Mining Solutions for the Business Environment

Unit -3. Learning Objective. Demand for Online analytical processing Major features and functions OLAP models and implementation considerations

Data Warehouse design

The Benefits of Data Modeling in Business Intelligence

Part 22. Data Warehousing

Database Marketing, Business Intelligence and Knowledge Discovery

New Approach of Computing Data Cubes in Data Warehousing

European Archival Records and Knowledge Preservation Database Archiving in the E-ARK Project

M Designing and Implementing OLAP Solutions Using Microsoft SQL Server Day Course

LITERATURE SURVEY ON DATA WAREHOUSE AND ITS TECHNIQUES

Data Mining: Concepts and Techniques. Jiawei Han. Micheline Kamber. Simon Fräser University К MORGAN KAUFMANN PUBLISHERS. AN IMPRINT OF Elsevier

Concepts of Database Management Seventh Edition. Chapter 9 Database Management Approaches

PowerDesigner WarehouseArchitect The Model for Data Warehousing Solutions. A Technical Whitepaper from Sybase, Inc.

BUILDING OLAP TOOLS OVER LARGE DATABASES

Data Warehousing Systems: Foundations and Architectures

How To Model Data For Business Intelligence (Bi)

Customer Analytics. Turn Big Data into Big Value

DATA MINING TECHNIQUES SUPPORT TO KNOWLEGDE OF BUSINESS INTELLIGENT SYSTEM

Hybrid Support Systems: a Business Intelligence Approach

Foundations of Business Intelligence: Databases and Information Management

Data Mining Jargon. Bob Muenchen The Statistical Consulting Center

OLAP Theory-English version

Chapter 2 Literature Review

Introduction to Data Mining and Machine Learning Techniques. Iza Moise, Evangelos Pournaras, Dirk Helbing

OLAP and Data Warehousing! Introduction!

IST722 Data Warehousing

1. What are the uses of statistics in data mining? Statistics is used to Estimate the complexity of a data mining problem. Suggest which data mining

Datawarehousing and Business Intelligence

Data Mining Analytics for Business Intelligence and Decision Support

<Insert Picture Here> Enhancing the Performance and Analytic Content of the Data Warehouse Using Oracle OLAP Option

ORACLE OLAP. Oracle OLAP is embedded in the Oracle Database kernel and runs in the same database process

III JORNADAS DE DATA MINING

Data Warehousing and Data Mining. A.A Datawarehousing & Datamining 1

IAF Business Intelligence Solutions Make the Most of Your Business Intelligence. White Paper November 2002

Data Mining is sometimes referred to as KDD and DM and KDD tend to be used as synonyms

Overview. Data Warehousing and Decision Support. Introduction. Three Complementary Trends. Data Warehousing. An Example: The Store (e.g.

Anwendersoftware Anwendungssoftwares a. Data-Warehouse-, Data-Mining- and OLAP-Technologies. Online Analytic Processing

DATA CUBES E Jayant Haritsa Computer Science and Automation Indian Institute of Science. JAN 2014 Slide 1 DATA CUBES

Web Data Mining: A Case Study. Abstract. Introduction

Data Warehousing and Data Mining

FEATURES TO CONSIDER IN A DATA WAREHOUSING SYSTEM

Data Warehousing and OLAP

Data Warehousing Concepts

Lecture Data Warehouse Systems

Delivering Business Intelligence With Microsoft SQL Server 2005 or 2008 HDT922 Five Days

Chapter 6 FOUNDATIONS OF BUSINESS INTELLIGENCE: DATABASES AND INFORMATION MANAGEMENT Learning Objectives

This tutorial will help computer science graduates to understand the basic-toadvanced concepts related to data warehousing.

The Benefits of Data Modeling in Business Intelligence.

Transcription:

Data Warehousing and End-User Access Tools OLAP and Data Mining Accompanying growth in data warehouses is increasing demands for more powerful access tools providing advanced analytical capabilities. Key developments include: Online analytical processing (OLAP). SQL extensions for complex data analysis. Data mining tools. 1 2 Introducing OLAP The dynamic synthesis, analysis, and consolidation of large volumes of multidimensional data, Codd (1993). Describes a technology that uses a multidimensional view of aggregate data to provide quick access to strategic information for purposes of advanced analysis. Introducing OLAP Enables users to gain a deeper understanding and knowledge about various aspects of their corporate data through fast, consistent, interactive access to a wide variety of possible views of the data. Allows users to view corporate data in such a way that it is a better model of the true dimensionality of the enterprise. 3 4

Introducing OLAP Examples of OLAP Applications in Various Functional Areas Can easily answer who? and what? questions, however, ability to answer what if? and why? type questions distinguishes OLAP from general-purpose query tools. Types of analysis ranges from basic navigation and browsing (slicing and dicing) to calculations, to more complex analyses such as time series and complex modeling. 5 6 OLAP Applications Although OLAP applications are found in widely divergent functional areas, all have following key features: multi-dimensional views of data; support for complex calculations; time intelligence. OLAP Applications - Multi-Dimensional Views of Data Core requirement of building a realistic business model. Provides basis for analytical processing through flexible access to corporate data. The underlying database design that provides the multi-dimensional view of data should treat all dimensions equally. 7 8

OLAP Applications - Support for Complex Calculations Must provide a range of powerful computational methods such as that required by sales forecasting, which uses trend algorithms such as moving averages and percentage growth. Mechanisms for implementing computational methods should be clear and non-procedural. OLAP Applications Time Intelligence Key feature of almost any analytical application as performance is almost always judged over time. Time hierarchy is not always used in same manner as other hierarchies. Concepts such as year-to-date and period-overperiod comparisons should be easily defined. 9 10 OLAP Benefits Increased productivity of end-users. Reduced backlog of applications development for IT staff. Retention of organizational control over the integrity of corporate data. Reduced query drag and network traffic on OLTP systems or on the data warehouse. Improved potential revenue and profitability. Representing Multi-Dimensional Data Example of two-dimensional query. What is the total revenue generated by property sales in each city, in each quarter of 1997? Choice of representation is based on types of queries end-user may ask. Compare representation - three-field relational table versus two-dimensional matrix. 11 12

Multi-Dimensional Data as Three-Field Table versus Two-Dimensional Matrix Representing Multi-Dimensional Data Example of three-dimensional query. What is the total revenue generated by property sales for each type of property (Flat or House) in each city, in each quarter of 1997? Compare representation - four-field relational table versus three-dimensional cube. 13 14 Multi-Dimensional Data as Four-Field Table versus Three-Dimensional Cube Representing Multi-Dimensional Data Cube represents data as cells in an array. Relational table only represents multidimensional data in two dimensions. 15 16

Multi-Dimensional OLAP Servers Use multi-dimensional structures to store data and relationships between data. Multi-dimensional structures are best visualized as cubes of data, and cubes within cubes of data. Each side of cube is a dimension. A cube can be expanded to include other dimensions. Multi-Dimensional OLAP Servers A cube supports matrix arithmetic. Multi-dimensional query response time depends on how many cells have to be added on the fly. As number of dimensions increases, number of the cube s cells increases exponentially. 17 18 Multi-Dimensional OLAP Servers However, majority of multi-dimensional queries use summarized, high-level data. Solution is to pre-aggregate (consolidate) all logical subtotals and totals along all dimensions. Pre-aggregation is valuable, as typical dimensions are hierarchical in nature. (e.g. Time dimension hierarchy - years, quarters, months, weeks, and days) Multi-Dimensional OLAP Servers Predefined hierarchy allows logical preaggregation and, conversely, allows for a logical drill-down. Supports common analytical operations Consolidation. Drill-down. Slicing and dicing. 19 20

Multi-Dimensional OLAP Servers Consolidation - aggregation of data such as simple roll-ups or complex expressions involving inter-related data. Drill-Down - is reverse of consolidation and involves displaying the detailed data that comprises the consolidated data. Slicing and Dicing - (also called pivoting) refers to the ability to look at the data from different viewpoints. Multi-Dimensional OLAP servers Can store data in a compressed form by dynamically selecting physical storage organizations and compression techniques that maximize space utilization. Dense data (i.e., data that exists for high percentage of cells) can be stored separately from sparse data (i.e., significant percentage of cells are empty). 21 22 Multi-Dimensional OLAP Servers Ability to omit empty or repetitive cells can greatly reduce the size of the cube and the amount of processing. Allows analysis of exceptionally large amounts of data. Multi-Dimensional OLAP Servers In summary, pre-aggregation, dimensional hierarchy, and sparse data management can significantly reduce the size of the cube and the need to calculate values on-the-fly. Removes need for multi-table joins and provides quick and direct access to arrays of data, thus significantly speeding up execution of multi-dimensional queries. 23 24

Codd s Rules for OLAP Systems In 1993, E.F. Codd formulated twelve rules as the basis for selecting OLAP tools. Multi-dimensional conceptual view Transparency Accessibility Consistent reporting performance Client-server architecture Generic dimensionality Codd s Rules for OLAP Dynamic sparse matrix handling Multi-user support Unrestricted cross-dimensional operations Intuitive data manipulation Flexible reporting Unlimited dimensions and aggregation levels. 25 26 Codd s Rules for OLAP Systems There are proposals to re-define or extend the rules. For example, to also include: Comprehensive database management tools. Ability to drill down to detail (source record) level. Incremental database refresh. SQL interface to the existing enterprise environment. Categories of OLAP Tools OLAP tools are categorized according to the architecture of the underlying database. Three main categories of OLAP tools include Multi-dimensional OLAP (MOLAP or MD-OLAP) Relational OLAP (ROLAP), also called multirelational OLAP Managed query environment (MQE) 27 28

Multi-Dimensional OLAP (MOLAP) Uses specialized data structures and multidimensional Database Management Systems (MDDBMSs) to organize, navigate, and analyze data. Multi-Dimensional OLAP (MOLAP) Use array technology and efficient storage techniques that minimize the disk space requirements through sparse data management. Data is typically aggregated and stored according to predicted usage to enhance query performance. Provides excellent performance when data is used as designed, and the focus is on data for a specific decision-support application. 29 30 Multi-Dimensional OLAP (MOLAP) Typical Architecture for MOLAP Tools Traditionally, require a tight coupling with the application layer and presentation layer. Recent trends segregate the OLAP from the data structures through the use of published application programming interfaces (APIs). 31 32

MOLAP Tools - Development Issues Underlying data structures are limited in their ability to support multiple subject areas and to provide access to detailed data. Navigation and analysis of data is limited because the data is designed according to previously determined requirements. MOLAP Tools - Development Issues MOLAP products require a different set of skills and tools to build and maintain the database, thus increasing the cost and complexity of support. 33 34 Relational OLAP (ROLAP) Fastest growing style of OLAP technology. Supports RDBMS products using a metadata layer - avoids need to create a static multidimensional data structure - facilitates the creation of multiple multi-dimensional views of the two-dimensional relation. Relational OLAP (ROLAP) To improve performance, some products use SQL engines to support complexity of multidimensional analysis, while others recommend, or require, the use of highly denormalized database designs such as the star schema. 35 36

Typical Architecture for ROLAP Tools ROLAP Tools - Development Issues Middleware to facilitate the development of multi-dimensional applications. (Software that converts the two-dimensional relation into a multi-dimensional structure). Development of an option to create persistent, multi-dimensional structures with facilities to assist in the administration of these structures. 37 38 Managed Query Environment (MQE) Relatively new development. Provide limited analysis capability, either directly against RDBMS products, or by using an intermediate MOLAP server. Managed Query Environment (MQE) Deliver selected data directly from DBMS or via a MOLAP server to desktop (or local server) in form of a datacube, where it is stored, analyzed, and maintained locally. Promoted as being relatively simple to install and administer with reduced cost and maintenance. 39 40

Typical Architecture for MQE Tools MQE Tools - Development Issues Architecture results in significant data redundancy and may cause problems for networks that support many users. Ability of each user to build a custom datacube may cause a lack of data consistency among users. Only a limited amount of data can be efficiently maintained. 41 42 Data Mining The process of extracting valid, previously unknown, comprehensible, and actionable information from large databases and using it to make crucial business decisions (Simoudis, 1996). Involves analysis of data and use of software techniques for finding hidden and unexpected patterns and relationships in sets of data. Data Mining Reveals information that is hidden and unexpected, as little value in finding patterns and relationships that are already intuitive. Patterns and relationships are identified by examining the underlying rules and features in the data. Tends to work from the data up and most accurate results normally require large volumes of data to deliver reliable conclusions. 43 44

Data Mining Starts by developing an optimal representation of structure of sample data, during which time knowledge is acquired and extended to larger sets of data. Data mining can provide huge paybacks for companies who have made a significant investment in data warehousing. Examples of Applications of Data Mining Retail / Marketing Identifying buying patterns of customers. Finding associations among customer demographic characteristics. Predicting response to mailing campaigns. Market basket analysis. Relatively new technology, however already used in a number of industries. 45 46 Examples of Applications of Data Mining Banking Detecting patterns of fraudulent credit card use. Identifying loyal customers. Predicting customers likely to change their credit card affiliation. Determining credit card spending by customer groups. Examples of Applications of Data Mining Insurance Claims analysis. Predicting which customers will buy new policies. Medicine Characterizing patient behavior to predict surgery visits. Identifying successful medical therapies for different illnesses. 47 48

Data Mining Operations Four main operations include: Predictive modeling. Database segmentation. Link analysis. Deviation detection. There are recognized associations between the applications and the corresponding operations. e.g. Direct marketing strategies use database segmentation. Data Mining Techniques Techniques are specific implementations of the data mining operations. Each operation has its own strengths and weaknesses. Data mining tools sometimes offer a choice of operations to implement a technique. 49 50 Data Mining Techniques Data Mining Operations and Associated Techniques Criteria for selection of tool includes Suitability for certain input data types. Transparency of the mining output. Tolerance of missing variable values. Level of accuracy possible. Ability to handle large volumes of data. 51 52

Predictive Modeling Similar to the human learning experience uses observations to form a model of the important characteristics of some phenomenon. Uses generalizations of real world and ability to fit new data into a general framework. Can analyze a database to determine essential characteristics (model) about the data set. Predictive Modeling Model is developed using a supervised learning approach, which has two phases: training and testing. Training builds a model using a large sample of historical data called a training set. Testing involves trying out the model on new, previously unseen data to determine its accuracy and physical performance characteristics. 53 54 Predictive Modeling Applications of predictive modeling include customer retention management, credit approval, cross selling, and direct marketing. Predictive Modeling - Classification Used to establish a specific predetermined class for each record in a database from a finite set of possible class values. Two techniques associated with predictive modeling: classification and value prediction, distinguished by nature of the variable being predicted. Two specializations of classification: tree induction and neural induction. 55 56

Example of Classification using Tree Induction Example of Classification using Neural Induction 57 58 Predictive Modeling - Value Prediction Used to estimate a continuous numeric value that is associated with a database record. Uses the traditional statistical techniques of linear regression and nonlinear regression. Relatively easy to use and understand. Predictive Modeling - Value Prediction Data mining requires statistical methods that can accommodate non-linearity, outliers, and non-numeric data. Applications of value prediction include credit card fraud detection or target mailing list identification. 59 60

Database Segmentation Aim is to partition a database into an unknown number of segments, or clusters, of similar records. Uses unsupervised learning to discover homogeneous sub-populations in a database to improve the accuracy of the profiles. Database Segmentation Less precise than other operations thus less sensitive to redundant and irrelevant features. Sensitivity can be reduced by ignoring a subset of the attributes that describe each instance or by assigning a weighting factor to each variable. Applications of database segmentation include customer profiling, direct marketing, and cross selling. 61 62 Example of Database Segmentation using a Scatterplot Database Segmentation Associated with demographic or neural clustering techniques, distinguished by: Allowable data inputs. Methods used to calculate the distance between records. Presentation of the resulting segments for analysis. 63 64

Link Analysis Aims to establish links (associations) between records, or sets of records, in a database. There are three specializations Associations discovery. Sequential pattern discovery. Similar time sequence discovery. Applications include product affinity analysis, direct marketing, and stock price movement. Link Analysis - Associations Discovery Finds items that imply the presence of other items in the same event. Affinities between items are represented by association rules. e.g. When customer rents property for more than 2 years and is more than 25 years old, in 40% of cases, customer will buy a property. Association happens in 35% of all customers who rent properties. 65 66 Link Analysis - Sequential Pattern Discovery Finds patterns between events such that the presence of one set of items is followed by another set of items in a database of events over a period of time. e.g. Used to understand long-term customer buying behavior. Link Analysis - Similar Time Sequence Discovery Finds links between two sets of data that are time-dependent, and is based on the degree of similarity between the patterns that both time series demonstrate. e.g. Within three months of buying property, new home owners will purchase goods such as cookers, freezers, and washing machines. 67 68

Deviation Detection Relatively new operation in terms of commercially available data mining tools. Often a source of true discovery because it identifies outliers, which express deviation from some previously known expectation and norm. Deviation Detection Can be performed using statistics and visualization techniques or as a by-product of data mining. Applications include fraud detection in the use of credit cards and insurance claims, quality control, and defects tracing. 69 70 Example of Database Segmentation using a Visualization Data Mining Tools There are a growing number of commercial data mining tools on the marketplace. Important characteristics of data mining tools include: Data preparation facilities. Selection of data mining operations. Product scalability and performance. Facilities for visualization of results. 71 72

Data Mining and Data Warehousing Major challenge to exploit data mining is identifying suitable data to mine. Data Mining and Data Warehousing A data warehouse is well equipped for providing data for mining. Data mining requires single, separate, clean, integrated, and self-consistent source of data. Data quality and consistency is a prerequisite for mining to ensure the accuracy of the predictive models. Data warehouses are populated with clean, consistent data. 73 74 Data Mining and Data Warehousing Advantageous to mine data from multiple sources to discover as many interrelationships as possible. Data warehouses contain data from a number of sources. Data Mining and Data Warehousing Results of a data mining study are useful if there is some way to further investigate the uncovered patterns. Data warehouses provide capability to go back to the data source. Selecting relevant subsets of records and fields for data mining requires query capabilities of the data warehouse. 75 76