2010.11.04- SLIDE 1IS 257 – Fall 2010 Data Mining and the Weka Toolkit University of California, Berkeley School of Information IS 257: Database Management.

Slides:



Advertisements
Similar presentations
OLAP Tuning. Outline OLAP 101 – Data warehouse architecture – ROLAP, MOLAP and HOLAP Data Cube – Star Schema and operations – The CUBE operator – Tuning.
Advertisements

Data Mining of Very Large Data
Data Analysis. Overview Traditional database systems are tuned to many, small, simple queries. Some applications use fewer, more time-consuming, analytic.
Data Mining, Frequent-Itemset Mining
SLIDE 1IS 257 – Fall 2009 Data Mining and the Weka Toolkit University of California, Berkeley School of Information IS 257: Database Management.
2/10/05Salman Azhar: Database Systems1 On-Line Analytical Processing Salman Azhar Warehousing Data Cubes Data Mining These slides use some figures, definitions,
OLAP. Overview Traditional database systems are tuned to many, small, simple queries. Some new applications use fewer, more time-consuming, analytic queries.
Lecture 1: Data Warehousing Based on the slides by Jeffrey D. Ullman and Hector Garcia-Molina at Stanford University 1.
Winter 2002Arthur Keller – CS 1809–1 Schedule Today: Jan. 31 (TH) u Constraints. u Read Sections , Project Part 3 due. Feb. 5 (T) u Triggers,
SLIDE 1IS 257 – Fall 2011 Data Mining and the Weka Toolkit University of California, Berkeley School of Information IS 257: Database Management.
Asssociation Rules Prof. Sin-Min Lee Department of Computer Science.
Advanced Querying OLAP Part 2. Context OLAP systems for supporting decision making. Components: –Dimensions with hierarchies, –Measures, –Aggregation.
1 On-Line Application Processing Warehousing Data Cubes Data Mining.
SLIDE 1IS 257 – Fall 2008 Data Mining and the Weka Toolkit University of California, Berkeley School of Information IS 257: Database Management.
SLIDE 1IS 257 – Fall 2012 Data Mining and the Weka Toolkit and Intro for Big Data University of California, Berkeley School of Information.
On-Line Application Processing Warehousing Data Cubes Data Mining 1.
Online Analytical Processing (OLAP) Hweichao Lu CS157B-02 Spring 2007.
Business Intelligence. Topics Chart Online Analytical Process, OLAP – Excel’s Pivot table – Data visualization with dashboard Data warehousing Data Mining.
Data Warehouse to BI 1. Agenda  Review  Preparing the DW for Analysis  Microsoft BI Platform Overview  Building a Cube in SSAS 2.
On-Line Analytic Processing Chetan Meshram Class Id:221.
SLIDE 1IS 257 – Fall 2014 Data Mining and Introduction to Big Data University of California, Berkeley School of Information IS 257: Database.
Databases 2 Storage optimization: functional dependencies, normal forms, data ware houses.
OnLine Analytical Processing (OLAP)
SLIDE 1IS 257 – Fall 2012 Data Mining and the Weka Toolkit and Intro for Big Data University of California, Berkeley School of Information.
ASSOCIATION RULE DISCOVERY (MARKET BASKET-ANALYSIS) MIS2502 Data Analytics Adapted from Tan, Steinbach, and Kumar (2004). Introduction to Data Mining.
1 On-Line Application Processing Warehousing Data Cubes Data Mining.
SLIDE 1IS 257 – Fall 2012 Data Mining and OLAP University of California, Berkeley School of Information IS 257: Database Management.
Constraints on Relations Foreign Keys Local and Global Constraints Triggers Following lecture slides are modified from Jeff Ullman’s slides
Data Warehousing.
BUSINESS ANALYTICS AND DATA VISUALIZATION
6.1 © 2010 by Prentice Hall 6 Chapter Foundations of Business Intelligence: Databases and Information Management.
13 1 Chapter 13 The Data Warehouse Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
New Developments in Business Intelligence ( Decision Support Systems) BUS 782.
Winter 2006Winter 2002 Keller, Ullman, CushingJudy Cushing 19–1 Warehousing The most common form of information integration: copy sources into a single.
Ayyat IT Group Murad Faridi Roll NO#2492 Muhammad Waqas Roll NO#2803 Salman Raza Roll NO#2473 Junaid Pervaiz Roll NO#2468 Instructor :- “ Madam Sana Saeed”
1 On-Line Analytic Processing Warehousing Data Cubes.
On-Line Application Processing Warehousing Data Cubes (Data Mining) (slides borrowed from Stanford)
Business Intelligence - 2 BUS 782. Topics Data warehousing Data Mining.
Business Intelligence. Topics Chart Online Analytical Process, OLAP – Excel’s Pivot table – Data visualization with dashboard Scenario Management Data.
Business Intelligence Transparencies 1. ©Pearson Education 2009 Objectives What business intelligence (BI) represents. The technologies associated with.
Pooja Sharma Shanti Ragathi Vaishnavi Kasala. BUSINESS BACKGROUND Lowe's started as a single hardware store in North Carolina in 1946 and since then has.
Himanshu GuptaCSE 532-SQL-1 SQL. Himanshu GuptaCSE 532-SQL-2 Why SQL? SQL is a very-high-level language, in which the programmer is able to avoid specifying.
What is OLAP?.
CSE 5331/7331 F'071 CSE 5331/7331 Fall 2007 Dimensional Modeling Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist University.
Data Warehousing.
Information Systems in Organizations
The Data Warehouse Chapter Operational Databases = transactional database  designed to process individual transaction quickly and efficiently.
SLIDE 1IS 257 – Fall 2015 Introduction to Big Data University of California, Berkeley School of Information IS 257: Database Management.
SLIDE 1IS 257 – Fall 2015 Data Mining and Introduction to Big Data University of California, Berkeley School of Information IS 257: Database.
1 Database Systems, 8 th Edition Star Schema Data modeling technique –Maps multidimensional decision support data into relational database Creates.
Introduction to OLAP and Data Warehouse Assoc. Professor Bela Stantic September 2014 Database Systems.
Data Warehouses and OLAP 1.  Review Questions ◦ Question 1: OLAP ◦ Question 2: Data Warehouses ◦ Question 3: Various Terms and Definitions ◦ Question.
Databases 2 On-Line Application Processing: Warehousing, Data Cubes, Data Mining.
Data Warehousing and OLAP Outline u Models & operations u Implementing a warehouse u Future directions.
Data Resource Management MGMT 4170 Lally School of Management Data Structures in Organizations.
CPSC-310 Database Systems
On-Line Application Processing
Slides are reused by the approval of Jeffrey Ullman’s
Module III: Business Analytics
Data Warehousing CIS 4301 Lecture Notes 4/20/2006.
CPSC-310 Database Systems
Data Warehouse.
On-Line Analytic Processing
On-Line Analytic Processing
On-Line Analytical Processing (OLAP)
CPSC-310 Database Systems
Introduction of Week 9 Return assignment 5-2
On-Line Application Processing
Instructor: Zhe He Department of Computer Science
Presentation transcript:

SLIDE 1IS 257 – Fall 2010 Data Mining and the Weka Toolkit University of California, Berkeley School of Information IS 257: Database Management

SLIDE 2IS 257 – Fall 2010 Lecture Outline Final Reports and Presentations Review –OLAP (ROLAP, MOLAP) Data Mining with the WEKA toolkit

SLIDE 3IS 257 – Fall 2010 Final project Final project is the completed version of your personal project with an enhanced version of Assignment 4 AND an in-class presentation on the database design and interface Detailed description and elements to be considered in grading are available by following the links on the Assignments page or the main page of the class site

SLIDE 4IS 257 – Fall 2010 Related Fields Statistics Machine Learning Databases Visualization Data Mining and Knowledge Discovery Source: Gregory Piatetsky-Shapiro

SLIDE 5IS 257 – Fall 2010 The Hype Curve for Data Mining and Knowledge Discovery Over-inflated expectations Disappointment Growing acceptance and mainstreaming rising expectations Source: Gregory Piatetsky-Shapiro

SLIDE 6IS 257 – Fall 2010 OLAP Online Line Analytical Processing –Intended to provide multidimensional views of the data –I.e., the “Data Cube” –The PivotTables in MS Excel are examples of OLAP tools

SLIDE 7IS 257 – Fall 2010 Data Cube

SLIDE 8IS 257 – Fall 2010 Visualization – Star Schema Dimension Table (Beers)Dimension Table (etc.) Dimension Table (Drinkers)Dimension Table (Bars) Fact Table - Sales Dimension Attrs.Dependent Attrs. From anonymous “olap.ppt” found on Google

SLIDE 9IS 257 – Fall 2010 Typical OLAP Queries Often, OLAP queries begin with a “star join”: the natural join of the fact table with all or most of the dimension tables. Example: SELECT * FROM Sales, Bars, Beers, Drinkers WHERE Sales.bar = Bars.bar AND Sales.beer = Beers.beer AND Sales.drinker = Drinkers.drinker; From anonymous “olap.ppt” found on Google

SLIDE 10IS 257 – Fall 2010 Example: In SQL SELECT bar, beer, SUM(price) FROM Sales NATURAL JOIN Bars NATURAL JOIN Beers WHERE addr = ’Palo Alto’ AND manf = ’Anheuser-Busch’ GROUP BY bar, beer; From anonymous “olap.ppt” found on Google

SLIDE 11IS 257 – Fall 2010 Example: Materialized View Which views could help with our query? Key issues: 1.It must join Sales, Bars, and Beers, at least. 2.It must group by at least bar and beer. 3.It must not select out Palo-Alto bars or Anheuser-Busch beers. 4.It must not project out addr or manf. From anonymous “olap.ppt” found on Google

SLIDE 12IS 257 – Fall 2010 Example --- Continued Here is a materialized view that could help: CREATE VIEW BABMS(bar, addr, beer, manf, sales) AS SELECT bar, addr, beer, manf, SUM(price) sales FROM Sales NATURAL JOIN Bars NATURAL JOIN Beers GROUP BY bar, addr, beer, manf; Since bar -> addr and beer -> manf, there is no real grouping. We need addr and manf in the SELECT. From anonymous “olap.ppt” found on Google

SLIDE 13IS 257 – Fall 2010 Example --- Concluded Here’s our query using the materialized view BABMS: SELECT bar, beer, sales FROM BABMS WHERE addr = ’Palo Alto’ AND manf = ’Anheuser-Busch’; From anonymous “olap.ppt” found on Google

SLIDE 14IS 257 – Fall 2010 Example: Market Baskets If people often buy hamburger and ketchup together, the store can: 1.Put hamburger and ketchup near each other and put potato chips between. 2.Run a sale on hamburger and raise the price of ketchup. From anonymous “olap.ppt” found on Google

SLIDE 15IS 257 – Fall 2010 Finding Frequent Pairs The simplest case is when we only want to find “frequent pairs” of items. Assume data is in a relation Baskets(basket, item). The support threshold s is the minimum number of baskets in which a pair appears before we are interested. From anonymous “olap.ppt” found on Google

SLIDE 16IS 257 – Fall 2010 Frequent Pairs in SQL SELECT b1.item, b2.item FROM Baskets b1, Baskets b2 WHERE b1.basket = b2.basket AND b1.item < b2.item GROUP BY b1.item, b2.item HAVING COUNT(*) >= s; Look for two Basket tuples with the same basket and different items. First item must precede second, so we don’t count the same pair twice. Create a group for each pair of items that appears in at least one basket. Throw away pairs of items that do not appear at least s times. From anonymous “olap.ppt” found on Google

SLIDE 17IS 257 – Fall 2010 More on Data Mining using Weka Slides from Eibe Frank, Waikato Univ. NZ