1 ORACLE Data Mining  Included with ORACLE 10g  Freely available for UVic and for personal unlimited evaluation use. Choose the enterprise version!

Slides:



Advertisements
Similar presentations
T2 PowerPark and SCT Banner
Advertisements

Reagan/Clinton Compare/Contrast Essay. I. Reagan and Clinton both argue... but... A.Reagan argues B.Clinton argues.
Tux2 Database The Architecture of Our System © Juhani Välimäki 2005.
ORACLE Lecture 1: Oracle 11g Introduction & Installation.
Database Administration ISQA 436 Fall 2006 Mark Freeman
System Administration Accounts privileges, users and roles
MC365 JDBC in Servlets. Today We Will Cover: DBVisualizer Using JDBC in servlets Using properties files.
15 1 Chapter 15 Database Administration Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Compe 341 Oracle Installation Procedure. Oracle From Click.
Administering User Security
Data Consistency Verification with Veridata
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
Getting Started with Oracle11g Abeer bin humaid. Create database user You should create at least one database user that you will use to create database.
Seminar #3 CM036: Advanced Databases1 Seminar 4: Relational Algebra and its Simulation using SQL Purpose To understand how the relational operations are.
1 CSC 440 Database Management Systems JDBC This presentation uses slides and lecture notes available from
CSCI 6962: Server-side Design and Programming
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
CHAPTER 6 Users and Basic Security. Progression of Steps for Creating a Database Environment 1. Install Oracle database binaries (Chapter 1) 2. Create.
9 Copyright © 2005, Oracle. All rights reserved. Administering User Security.
HISTORY OF ORACLE BY SANTHOSH G. HISTORY Oracle was founded in August 1977 by Larry Ellison, Bob Miner, Ed Oates and Bruce Scott, Oracle was initially.
Copyright (c) by CNAPTICS Corporation. All rights reserved.1 INFO Oracle Database 11g: Administration II Presented By: Marc S. Paller,
IS 221: DATABASE ADMINISTRATION Lecture 6:Create Users & Manage Users. Information Systems Department 1.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC End User Management – Lecture 3 Copyright System Managers LLC 2007 all rights reserved.
7 Copyright © 2004, Oracle. All rights reserved. Administering Users.
DCL/1 Data Control Language Objectives –To learn about the security mechanisms implemented in an RDBMS and how to use them Contents –Identifying Users.
What is a schema ? Schema is a collection of Database Objects. Schema Objects are logical structures created by users to contain, or reference, their data.
Database Design and Management CPTG /23/2015Chapter 12 of 38 Functions of a Database Store data Store data School: student records, class schedules,
DECISION MAKING Ken Brodzinski Teacher Page>> By.
CAREER OPPORTUNITIES OFFER. MANAGEMENT LEVELS General Manager i) Corporate Communication ii) Research Centre iii) Treasury & Corporate Finance Senior.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
Managing users and security Akhtar Ali. Aims Understand and manage profiles Understand and manage users Understand and manage privileges Understand and.
Introduction to Oracle. Oracle History 1979 Oracle Release client/server relational database 1989 Oracle Oracle 8 (object relational) 1999.
DATABASE TOOLS CS 260 Database Systems. Overview  Database accounts  Oracle SQL Developer  MySQL Workbench.
2. SQL Security Objectives –Learn SQL Server 2000 components Contents –Understanding the Authentication Process –Understanding the Authorization Process.
Database Security. Multi-user database systems like Oracle include security to control how the database is accessed and used for example security Mechanisms:
TrainingRegister® Training Management Software Maintain Permanent Training Records for Each Individual Monitor and Track Required Training Know Who Needs.
Enterprise manager Using the Enterprise manager. Purpose of the Enterprise Manager To design tables To populate / update tables To draw diagrams of tables.
IST 318 Database Administration Lecture 9 Database Security.
13 Copyright © Oracle Corporation, All rights reserved. Controlling User Access.
Database Security. Multi-user database systems like Oracle include security to control how the database is accessed and used for example security Mechanisms:
Learning Objectives Entrepreneurship 05/17/13  Today WE will:  Do a quick lesson on formatting documents.  Today YOU will:  Compile your business plan.
7 Copyright © 2007, Oracle. All rights reserved. Administering User Security.
E Copyright © 2007, Oracle. All rights reserved. Using JDeveloper.
Seminar #6 CG096 Advanced Database Technologies1 Advanced Databases Seminar 6: Implementing Relational Algebra Data Model using SQL.
6 Copyright © 2007, Oracle. All rights reserved. Managing Security and Metadata.
Introduction to Oracle  Oracle Database XE, APEX and Oracle SQL Developer.
Data Warehouses and OLAP 1.  Review Questions ◦ Question 1: OLAP ◦ Question 2: Data Warehouses ◦ Question 3: Various Terms and Definitions ◦ Question.
Eurostat Mapping Assistant May 2016 Eurostat, Unit B3 – IT solutions for statistical production Jean-Francois LEBLANC Christian SEBASTIAN 1.
Database Systems Slide 1 Database Systems Lecture 4 Database Security - Concept Manual : Chapter 20 - Database Security Manual : Chapters 5,10 - SQL Reference.
E Copyright © 2006, Oracle. All rights reserved. Using SQL Developer.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
C Copyright © 2009, Oracle. All rights reserved. Using SQL Developer.
ПОРТФОЛИО профессиональной деятельности Белово 2015 Таюшовой Натальи Борисовны Преподавателя дисциплин «Химия», «Биология»
15 Copyright © Oracle Corporation, All rights reserved. Managing Users.
IS232 Lab 9. CREATE USER Purpose: Use the CREATE USER statement to create and configure a database user, which is an account through which you can log.
6 Copyright © 2005, Oracle. All rights reserved. Administering User Security.
SAP Business One 9.0 integration for SAP NetWeaver Installation and Technical Configuration 2013 March.
Fundamental of Databases
Market Basket Analysis
Managing Privileges.
Managing Privileges.
1Z0-071 Exam : Oracle Database 12c SQL
Database Security.
Database Security.
Database Security OER- Unit 1-Authentication
ArcGIS Workflow Manager Getting Started with Out-of-the-Box Templates
RAC Performance Lab.
Managing Privileges.
Database Administration
8 Core Steps of success: I.Step:1 : DREAM SETTING: II. Step: 2 : LIST MAKING : IV. Step: 4 : SHOW THE PLAN: III. Step: 3 : INVITATION: V. Step: 5 : FOLLOW.
Presentation transcript:

1 ORACLE Data Mining  Included with ORACLE 10g  Freely available for UVic and for personal unlimited evaluation use. Choose the enterprise version!

2 Creating a data mining user  A data mining user is a canonical user, but with a few more privileges than usual.  As ‘system’ create a canonical user: CREATE USER dmuser1 IDENTIFIED BY dmpsw DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp QUOTA UNLIMITED on users;  Then, grant privileges to this user:  GRANT create procedure to DMUSER1;  GRANT create session to DMUSER1;  GRANT create table to DMUSER1;  GRANT create sequence to DMUSER1;  GRANT create view to DMUSER1;  GRANT create job to DMUSER1;  GRANT create type to DMUSER1;  GRANT create synonym to DMUSER1;  GRANT execute on ctxsys.ctx_ddl to DMUSER1; Now, DMUSER1 is ready to perform data mining tasks.

3 ‘sh’ user  To use the examples you have to activate the sh user.  There are the example data  Created during ORACLE installation.  However, it’s not active.  To activate: Open Oracle Enterprise Manager. Login as ‘system’. Go to ‘administration’ tab, then click on users, find the ‘sh’ user and activate it.

4 Using the data of ‘sh’  Connect (login) as sh and grant SELECT privilege to dmuser1 for these tables:  COUNTRIES  CUSTOMERS  PRODUCTS  SUPPLEMENTARY_DEMOGRAPHICS  SALES  In other words execute:  GRANT SELECT ON customers TO dmuser1;  GRANT SELECT ON sales TO dmuser1;  GRANT SELECT ON products TO dmuser1;  GRANT SELECT ON supplementary_demographics TO dmuser1;  GRANT SELECT ON countries TO dmuser1;  Now, dmuser1 is able to execute SELECT on these tables, and create views on them.

5 DMUSER1: Creating views on ‘sh’ data CREATE VIEW mining_data_build_v AS SELECT a.CUST_ID, a.CUST_GENDER, 2003-a.CUST_YEAR_OF_BIRTH AGE, a.CUST_MARITAL_STATUS, c.COUNTRY_NAME, a.CUST_INCOME_LEVEL, b.EDUCATION, b.OCCUPATION, b.HOUSEHOLD_SIZE, b.YRS_RESIDENCE, b.AFFINITY_CARD, b.BULK_PACK_DISKETTES, b.FLAT_PANEL_MONITOR, b.HOME_THEATER_PACKAGE, b.BOOKKEEPING_APPLICATION, b.PRINTER_SUPPLIES, b.Y_BOX_GAMES, b.OS_DOC_SET_KANJI FROM sh.customers a, sh.supplementary_demographics b, sh.countries c WHERE a.CUST_ID = b.CUST_ID AND a.country_id = c.country_id AND a.cust_id between and ;  You can find other view creation statements in dmsh.sql that will be in the web.

6 Oracle Data Miner GUI  It’s a Java application. Connects through JDBC to the ORACLE database.  Installed in SENG Windows lab.  Can also be freely downloaded from Oracle.

7 Connecting

8  An electronics store chain wants to distribute a discount card to its customers, but only to those customers who are expected to increase their buying (and thus the company’s revenue) because of this card.  A test campaign was run on a sample of customers and the results were compiled into a table containing the customer demographics, purchasing patterns, and a measure of revenue produced by each customer. The Problem

9 Structure

10 A fragment of data

11 Getting a feeling about the data

12 Build a classifier I

13 Build a classifier II

14 Build a classifier III

15 Build a classifier IV I am selecting this

16 Build a classifier V

17 Build a classifier VI

18 Build a classifier VII

19 Build a classifier VIII P(A=1|…) will be used for sorting tuples, as opposed to P(A=0|…).

20 Build a classifier IX

21 Build a classifier X