Basic Data Miner Workflow
Basic Data Miner Workflow
June 2019
Agenda
• What is Data Miner?
• How to install it?
• How to connect to ICA?
• Demo: Install and connect
• Workflows
• Template workflow
• Demo: Template workflow
• Exercises
What is Data Miner?
• A GUI to the Data Mining capabilities in the DB
• Data Mining is about discovering patterns in the data,
using statistics and machine learning
• More on this in the Advanced course
• Also a GUI to standard SQL functionality
• Read from and write to tables
• Filters
• Joins
• Aggregation
• etc
How to install it?
• Part of SQL*Developer
• Download from ICC Software Catalogue (version 17.3)
How to connect to ICA?
• Create a DB connection to your ORE_xxx user or the
ICAcc super user in ICA
• Add the DB connection in Data Miner
Install and connect
Data Miner to ICA
Demo
Workflows
• A workflow is a ”job” in Data Miner, that can also be
scheduled
• Consists of the functionality described earlier, shown as
connected building blocks
• You can build tables in your schema that contains
results of the workflow
• Will show this using a template workflow
Template workflow (1)
• Input:
• Data Model
• Data Dictionary
Template workflow (3)
Template workflow (4)
16
Exercise 2 (1)
• Task: Modify the TRANSACTION_PROFILE_DATA
workflow like this:
• Make sure that the enrolment date for the card
used in each purchase is not older than two years
from now.
• Hint: Use a filter. The function ADD_MONTHS(a,b)
returns the date a+b, where a is a date and b is the
number of months to add (can also be negative). The
function SYSDATE returns the current date.
17
Exercise 2 (2)
1. Create the table TRANSACTION_PROFILE_NEW
as:
CREATE TABLE transaction_profile_new
(zip_cd_base VARCHAR2(40 BYTE),
bu_code VARCHAR2(5 BYTE),
purch_amt_sum NUMBER,
purch_qty_sum NUMBER,
insert_date DATE DEFAULT SYSDATE
);
2. Import the Transaction_profile_simple workflow
as Transaction_profile_simple_ex.
18
Exercise 2 (3)
3. Do the work!
4. Run the workflow to get the results in
TRANSACTION_PROFILE_NEW. When looking in
the table, order by descending amount.
19