Beruflich Dokumente
Kultur Dokumente
Concepts and
Techniques
May 5, 2015
Appendix A: An Introduction to
Microsofts OLE OLDB for Data
Mining
Introduction
Basic components
Concluding remarks
May 5, 2015
May 5, 2015
Browse models
May 5, 2015
May 5, 2015
Overview
May 5, 2015
Data mining
applications
OLE DB OLAP/DM
Analysis Server
OLE DB
RDB engine
6
May 5, 2015
May 5, 2015
May 5, 2015
Flatterned Representation of
Caseset
Customer
s
Customer
ID
Product
Purchases
Customer ID
Gender
Product
Name
Hair Color
Quantity
Age
Product Type
Age Prob
Car
Owernershi
p
CID
Gend
Hair
Quan
Type
Car
Car
prob
Male
Black 35
100%
TV
Elec
Car
100%
Male
Black 35
100%
VCR
Elec
Car
100%
Customer ID
Male
Black 35
100%
Ham
Food
Car
100%
Car
Male
Black 35
100%
TV
Elec
Van
50%
Car Prob
Male
Black 35
100%
VCR
Elec
Van
50%
Male
Black 35
100%
Ham
Food
Van
50%
May 5, 2015
10
Gend
Hair
May 5, 2015
Male
Black 35
100%
Quan
Type
TV
Elec
VCR
Elec
Ham
Food
Car
Ownership
Car
Car
prob
Car
100%
Van
50%
11
May 5, 2015
12
May 5, 2015
13
Example
CREATE MINING MODEL [Age Prediction]
%Name of Model
(
[Customer ID]
LONG KEY,
%source column
[Gender]
TEXT
DISCRETE,
%source column
[Age]
Double DISCRETIZED() PREDICT, %prediction column
[Product Purchases]
TABLE
%source column
(
[Product Name] TEXT
KEY,
%source column
[Quantity]
DOUBLE NORMAL CONTINUOUS, %source column
[Product Type] TEXT
DISCRETE RELATED TO [Product Name]
%source column
))
USING [Decision_Trees_101]
%Mining algorithm used
May 5, 2015
14
Column Specifiers
KEY
ATTRIBUTE
RELATION (RELATED TO clause)
QUALIFIER (OF clause)
PROBABILITY: [0, 1]
VARIANCE
SUPPORT
PROBABILITY-VARIANCE
ORDER
TABLE
May 5, 2015
15
Attribute Types
DISCRETE
ORDERED
CYCLICAL
CONTINOUS
DISCRETIZED
SEQUENCE_TIME
May 5, 2015
16
Populating A DMM
May 5, 2015
17
May 5, 2015
18
Prediction join
Prediction on dataset D using DMM M
Different to equi-join
DMM: a truth table
SELECT statement associated with
PREDICTION JOIN specifies values
extracted from DMM
May 5, 2015
19
May 5, 2015
20
Browsing DMM
What is in a DMM?
Browsing DMM
Visualization
May 5, 2015
21
Concluding Remarks
May 5, 2015
22