SlideShare una empresa de Scribd logo
1 de 35
PP:31
Data Mining Primitives, Languages, and
System Architectures
Introduction
•

Popular Misconception about Data Mining
– Systems can autonomously dig out all valuable knowledge without human
intervention

•
•
•
•

Would uncover a overwhelmingly large set of patterns
Its like letting loose a data mining “monster”
Most of the patterns would be irrelevant to the analysis task of the
user
Many of them although relevant would be difficult to understand or
lack validity.
Introduction (2)
•

More realistic
– Users communicating with the system to make the process efficient and
gain some useful knowledge
– User directing the mining process
– Design primitives for the user interaction
– Design a query language to incorporate these primitives
– Design a good architecture for these data mining systems
Primitives
•
•
•
•
•

Task Relevant Data
Kinds of knowledge to be mined
Background knowledge
Interestingness measure
Presentation and visualization of discovered patterns
Task Relevant Data (1)
•
•
•
•
•
•

Database portion to be investigated
(Canadian example)
Can also specify the attributes to be investigated
Collect a set of task relevant data using relational queries –
SubTask
Initial Data Relation – Can be ordered, grouped, transformed
according to the conditions before applying the analysis
Minable view
example
•
•

Buying trends of customers in Canada , say items bought by
customers with respect to age and annual income
Task relevant data
–
–
–
–

Database name
Tables (Item, Customer, purchase, item sold)
Conditions for selecting data (purchases in Canada during the current year)
Relevant attributes (Item name, item price, age and annual income)
Task Relevant Data (3)
• If Data is in a Data Cube
– Data filtering (Slicing)
– Dicing

• Conditions can be specified in a higher concept level
• Concept type = “Home Entertainment” can represent lower level
concepts
{“TV”,”CD Player”,”VCR”}

• Specification of relevant attributes can be difficult
especially when they have strong semantic links to
them.
• Sales of certain items might be linked to festival times

• Techniques that search for links between attributes can
be used to enhance the Initial Data Set
Kind of Knowledge to be Mined (1)
• Determines the data mining function to be performed
• Kinds of Knowledge
–
–
–
–
–
–

•
•

Concept description (Characterization and discrimination)
Association
Classification
Clustering
Prediction
Evolution Analysis

User may also provide pattern templates (metapatterns or metarules
or metaqueries) that the discovered patterns must match
Examples:
–

Age(X, “30..39”)^income(X, “40K..49K”) => buys(X, “VCR)

–

Occupation(X, “Student”)^age(X, “30..39”) => buys(X, “computer”)

[2.2%, 60%]
[1.4%, 70%]
Background Knowledge (1)
•
•

It is the information about the domain to be mined
Concept Hierarchies (focused in this chapter)
–
–
–
–

Schema hierarchies
Set grouping hierarchies
Operation-derived hierarchies
Rule based hierarchies
Concept Hierarchies (1)
•
•
•
•

Defines a sequence of mappings from a set of low-level concepts to
higher-level (more general) concepts
Allow data to be mined at multiple levels of abstraction.
These allow users to view data from different perspectives, allowing
further insight into the relationships.
Example of locations (figure)
Example
•
•
•

Represented as set of nodes organized in a tree
Each node represents a concept
All (represents the root). Most generalized value

•

Consists of levels. Levels numbered top to bottom, with level 0 for
all node

.
Concept Hierarchies (2)
• Rolling Up - Generalization of data
–
–
–
–

Allows to view data at more meaningful and explicit abstractions.
Makes it easier to understand
Compresses the data
Would require fewer i/o operations

• Drilling Down – Specialization of data
•

• Concept values replaced by lower level concepts
May have more than concept hierarchy for a given attribute or
dimension based on different user viewpoints
Regional manager may prefer the one in the fig but marketing manager might prefer
to see location with respect to linguistic lines.
Concept Hierarchies (3)
•

Schema Hierarchies
–
–
–
–

Total or partial order among attributes
May express existing semantic relationships between attributes
Provides metadata information.
Eg. Location schema hierarchy
Street < city < province_or_state < country
Concept Hierarchies (4)
• Set Grouping Hierarchies
– Organizes values for a given attribute into groups or sets or
range of values
– Total or partial order can be defined among groups
– Used to refine or enrich schema-defined hierarchies
– Typically used for small sets of object relationships
– Eg. Set grouping hierarchy for age
{young, middle_aged, senior} c all(age)
{20…39} c young
{40…59} c middle_aged
{60…89} c senior
Concept Hierarchies (5)
•

Operation-derived
– Based on operations specified.
– Operations may include
• Decoding of information-encoded strings
• Information extraction from complex data objects
• Data clustering

– Eg. Email or url contains hierarchy information
• abc@cs.iitb.in gives login-name < dept. < university < country
Concept Hierarchies (6)
•

Rule-based
– Occurs when while or portion of a concept hierarchy is defined as a set
of rules and is evaluated dynamically based on current database data
and rule definition
– Low_profit(X) <= price(X,P1) ^ cost(X,P2) ^ ((P1-P2) < $50)
Interestingness Measure (1)
•

Based on the structure of patterns and statistics underlying them

•

Associate a threshold which can be controlled

•

Rules not meeting the threshold are not presented to the user

•

Forms of measures
–
–
–
–

Simplicity
Certainty
Utility
Novelty
Interestingness.. (2)
•

Simplicity
– The more the simpler the rule is the more easier it is to understand to a
user
– Eg. Rule length is a simplicity measure

•

Certainty (confidence)
– Assesses the validity or trustworthiness of a pattern
– Confidence is a certainty measure
– Defined as:
# of tuples containing both A & B
# of tuples containing A
Interestingness (3)
•

Utility (Support)
– Usefulness of the pattern
– Defined as:
# of tuples containing both A & B
Total # of tuples

•

Strong Association Rules
• Rules satisfy the threshold for Support
• Rules satisfy the threshold for Confidence

•
•

Rules with low support likely represent noise or rare or exceptional
cases
Novelty
– Patterns contributing new information to the given pattern set are called
novel patterns (eg. Data exception)
– Used to remove redundant patterns
Presentation and Visualization
•

Should be able to display results in multiple forms like rules, tables,
crosstabs, pie or bar charts, decision trees, cubes
Data Mining Query Language (DMQL)
•

Motivation
– A DMQL can provide the ability to support ad-hoc and interactive data
mining
– By providing a standardized language like SQL
• Hope to achieve a similar effect like that SQL has on relational database
• Foundation for system development and evolution
• Facilitate information exchange, technology transfer, commercialization and
wide acceptance

•
•

Adopts a SQL like syntax
Defined in BNF grammar
– [ ] represents 0 or one occurrence
– { } represents 0 or more occurrences
– Words in sans serif represent keywords
Syntax for Task Relevant Data
Specification
• use database database_name, or use data warehouse
data_warehouse_name

• from relation(s)/cube(s) [where condition]
• in relevance to att_or_dim_list
• order by order_list
• group by grouping_list
• having condition
Example
Syntax for Kind of Knowledge to be Mined
•

Characterization :
Mine_Knowledge_Specification ::=
mine characteristics [as pattern_name]
analyze measure(s)

• Analyze clause specifies aggregate measures
• mine characteristics as customerPurchasing
analyze count%

•

Discrimination:
Mine_Knowledge_Specification  ::=
mine comparison [ as pattern_name]
for target_class  where target_condition 
{ versus contrast_class_i  where contrast_condition_i} 
analyze measure(s)
• Compare a given target class of objects with one or more other
contrasting classes
• Mine comparison as purchaseGroups
for bigspenders where avg(I.price) >= $100
versus budgetspenders where avg(I.price) < $100
analyze count
Syntax for Kind of Knowledge to be Mined
•

Association
Mine_Knowledge_Specification ::=
mine associations [as pattern_name]
[matching metapattern]

• User can provide templates for matching thereby enforcing
additional syntactic constraints for the mining task.
• Mine associations as buyingHabits
matching P(X: customer, W) ^ Q(X,Y) => buys (X,Z)

•

Classification
Mine_Knowledge_Specification  ::=
mine classification [as pattern_name]
analyze classifying_attribute_or_dimension

• Specifies that classification is performed according to the values of
classifying_attribute_or_dimension
• Mine classification as classifyCustomerCreditRating
analyze credit_rating
Syntax for Concept Hierarchy Specification
•

Can have more than one concept hierarchy per attribute

•

Use hierarchy hierarchy_name for attribute_or_dimension

•

Defining Hierarchies:
– Schema (ordering is important)
• Define hierarchy location_hierarchy on address as
[street,city,province_or_state,country]

– Set-Grouping
• define hierarchy age_hierarchy for age on customer as
level1: {young, middle_aged, senior} < level0: all
level2: {20, ..., 39} < level1: young
level2: {40, ..., 59} < level1: middle_aged
level2: {60, ..., 89} < level1: senior
Syntax for Concept Hierarchy Specification
•

Defining Hierarchies : (contd..)
– operation-derived hierarchies
• define hierarchy age_hierarchy for age on customer as
{age_category(1), ..., age_category(5)} := cluster(default, age, 5) < all(age)

– rule-based hierarchies
• define hierarchy profit_margin_hierarchy on item as
level_1: low_profit_margin < level_0: all
if (price - cost)< $50
level_1: medium-profit_margin < level_0: all
if ((price - cost) > $50) and ((price - cost) <= $250))
level_1: high_profit_margin < level_0: all
if (price - cost) > $250
Syntax for Interestingness Measure
•

with [interest_measure_name] threshold = threshold_value

•
•

with support threshold = 5%
with confidence threshold = 70%
Syntax for pattern presentation and
visualization specification
•

display as result_form

•

To facilitate interactive viewing at different concept level, the
following syntax is defined:
Multilevel_Manipulation  ::=   roll up on attribute_or_dimension
| drill down on attribute_or_dimension
| add attribute_or_dimension
| drop attribute_or_dimension
Putting it all together
use database AllElectronics_db
use hierarchy location_hierarchy for B.address
mine characteristics as customerPurchasing
analyze count%
in relevance to C.age, I.type, I.place_made
from customer C, item I, purchases P, items_sold S, works_at W,
branch B

where I.item_ID = S.item_ID

and S.trans_ID = P.trans_ID

and P.cust_ID = C.cust_ID and P.method_paid = ``AmEx''
and P.empl_ID = W.empl_ID and W.branch_ID = B.branch_ID and
B.address = ``Canada" and I.price >= 100

with noise threshold = 5%
display as table
Other Data Mining Languages and
Standardization of Primitives
• MSQL (Imielinski & Virmani’99) - uses SQL-like syntax and SQL
primitives including sorting and group-by.

• MineRule (Meo Psaila and Ceri’96) -

follows SQL-like syntax and
serves as rule generation queries for mining association rules.

• Query flocks based on Datalog syntax (Tsur, Ullman etc. ’98)
• OLEDB for DM (Microsoft’2000)
• Based on OLE, OLE DB, OLE DB for OLAP
• Integrating DBMS, data warehouse and data mining

• CRISP-DM (CRoss-Industry Standard Process for Data Mining)
• Providing a platform and process structure for effective data mining
• Emphasizing on deploying data mining technology to solve business
problems
Designing GUIs based on DMQL
•

Why do we need a good GUI?
– Syntax difficult to remember and can be confusing

•

Functional Components of a Data Mining GUI
– Data collection and data mining query composition (specify task relevant
data and compose queries. Similar to relational queries)

– Presentation of discovered patterns (display in various forms)
– Hierarchy specification and manipulation (specify and modify concept
hierarchies)

– Manipulation of data mining primitives (thresholds & modification of previous
queries or conditions)

– Interactive multilevel mining (roll-up and drill down)
– Other miscellaneous information (online-help manuals, indexed search,
debugging, other graphical features)
Architecture for Data Mining Systems
• What will a good system architecture facilitate
–
–
–
–
–

Make best use of the software environment
Accomplish data mining tasks in an efficient and timely manner
Interoperate and exchange information with other systems
Be adaptable to user’s diverse needs
Evolve with time

• Question?
– Should we couple or integrate a data mining system with a
database and/or data warehouse system?
Architecture of Data Mining Systems
• Coupling data mining system with DB/DW system
– No coupling (flat file processing, not recommended)
– Loose coupling
• Fetching data from DB/DW
• Storing results in either flat file or database/data warehouse
– Semi-tight coupling (enhanced DM performance)
• Provide efficient implement a few data mining primitives in a
DB/DW system, e.g., sorting, indexing, aggregation,
histogram analysis, multiway join, precomputation of some
stat functions
– Tight coupling (A uniform information processing environment)
• DM is smoothly integrated into a DB/DW system, mining
query is optimized based on mining query, indexing, query
processing methods, etc.
Summary
• Five primitives for specification of a data mining task
–
–
–
–
–

task-relevant data
kind of knowledge to be mined
background knowledge
interestingness measures
knowledge presentation and visualization techniques to be used
for displaying the discovered patterns

• Data mining query languages
– DMQL, MS/OLEDB for DM, etc.
• Data mining system architecture
–
–
–
–

No coupling
loose coupling
semi-tight coupling
tight coupling

Más contenido relacionado

La actualidad más candente

Text Analytics Presentation
Text Analytics PresentationText Analytics Presentation
Text Analytics PresentationSkylar Ritchie
 
3.5 model based clustering
3.5 model based clustering3.5 model based clustering
3.5 model based clusteringKrish_ver2
 
Data Mining: clustering and analysis
Data Mining: clustering and analysisData Mining: clustering and analysis
Data Mining: clustering and analysisDataminingTools Inc
 
Data mining technique (decision tree)
Data mining technique (decision tree)Data mining technique (decision tree)
Data mining technique (decision tree)Shweta Ghate
 
Deep Learning Frameworks slides
Deep Learning Frameworks slides Deep Learning Frameworks slides
Deep Learning Frameworks slides Sheamus McGovern
 
3.2 partitioning methods
3.2 partitioning methods3.2 partitioning methods
3.2 partitioning methodsKrish_ver2
 
Frequent itemset mining methods
Frequent itemset mining methodsFrequent itemset mining methods
Frequent itemset mining methodsProf.Nilesh Magar
 
Association rule mining and Apriori algorithm
Association rule mining and Apriori algorithmAssociation rule mining and Apriori algorithm
Association rule mining and Apriori algorithmhina firdaus
 
Introduction to text classification using naive bayes
Introduction to text classification using naive bayesIntroduction to text classification using naive bayes
Introduction to text classification using naive bayesDhwaj Raj
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSKathirvel Ayyaswamy
 
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...Gyanmanjari Institute Of Technology
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptronomaraldabash
 
Classification with Naive Bayes
Classification with Naive BayesClassification with Naive Bayes
Classification with Naive BayesJosh Patterson
 
Introdution and designing a learning system
Introdution and designing a learning systemIntrodution and designing a learning system
Introdution and designing a learning systemswapnac12
 

La actualidad más candente (20)

Text Analytics Presentation
Text Analytics PresentationText Analytics Presentation
Text Analytics Presentation
 
Data Preprocessing
Data PreprocessingData Preprocessing
Data Preprocessing
 
3.5 model based clustering
3.5 model based clustering3.5 model based clustering
3.5 model based clustering
 
Clustering in Data Mining
Clustering in Data MiningClustering in Data Mining
Clustering in Data Mining
 
Data Mining: clustering and analysis
Data Mining: clustering and analysisData Mining: clustering and analysis
Data Mining: clustering and analysis
 
Data mining technique (decision tree)
Data mining technique (decision tree)Data mining technique (decision tree)
Data mining technique (decision tree)
 
Data Mining: Association Rules Basics
Data Mining: Association Rules BasicsData Mining: Association Rules Basics
Data Mining: Association Rules Basics
 
Deep Learning Frameworks slides
Deep Learning Frameworks slides Deep Learning Frameworks slides
Deep Learning Frameworks slides
 
3.2 partitioning methods
3.2 partitioning methods3.2 partitioning methods
3.2 partitioning methods
 
K means Clustering Algorithm
K means Clustering AlgorithmK means Clustering Algorithm
K means Clustering Algorithm
 
Frequent itemset mining methods
Frequent itemset mining methodsFrequent itemset mining methods
Frequent itemset mining methods
 
Machine learning clustering
Machine learning clusteringMachine learning clustering
Machine learning clustering
 
Association rule mining and Apriori algorithm
Association rule mining and Apriori algorithmAssociation rule mining and Apriori algorithm
Association rule mining and Apriori algorithm
 
Introduction to text classification using naive bayes
Introduction to text classification using naive bayesIntroduction to text classification using naive bayes
Introduction to text classification using naive bayes
 
CS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMSCS9222 ADVANCED OPERATING SYSTEMS
CS9222 ADVANCED OPERATING SYSTEMS
 
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
Distributed DBMS - Unit 8 - Distributed Transaction Management & Concurrency ...
 
Multilayer perceptron
Multilayer perceptronMultilayer perceptron
Multilayer perceptron
 
Classification with Naive Bayes
Classification with Naive BayesClassification with Naive Bayes
Classification with Naive Bayes
 
Association rules apriori algorithm
Association rules   apriori algorithmAssociation rules   apriori algorithm
Association rules apriori algorithm
 
Introdution and designing a learning system
Introdution and designing a learning systemIntrodution and designing a learning system
Introdution and designing a learning system
 

Destacado

Data mining query languages
Data mining query languagesData mining query languages
Data mining query languagesMarcy Morales
 
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data miningSlideshare
 
ARIADNE: Final Report on Data Mining
ARIADNE: Final Report on Data MiningARIADNE: Final Report on Data Mining
ARIADNE: Final Report on Data Miningariadnenetwork
 
Mca i unit part 501 dm
Mca i unit part 501 dmMca i unit part 501 dm
Mca i unit part 501 dmneeraj365
 
Data mining platform
Data mining platformData mining platform
Data mining platformchanson zhang
 
Data preprocessing ppt1
Data preprocessing ppt1Data preprocessing ppt1
Data preprocessing ppt1meenas06
 
Seminar Association Rules
Seminar Association RulesSeminar Association Rules
Seminar Association Rulesalrazgi
 
9 Data Mining Challenges From Data Scientists Like You
9 Data Mining Challenges From Data Scientists Like You9 Data Mining Challenges From Data Scientists Like You
9 Data Mining Challenges From Data Scientists Like YouSalford Systems
 
Introduction to Data Mining with R and Data Import/Export in R
Introduction to Data Mining with R and Data Import/Export in RIntroduction to Data Mining with R and Data Import/Export in R
Introduction to Data Mining with R and Data Import/Export in RYanchang Zhao
 
An Introduction to Data Mining with R
An Introduction to Data Mining with RAn Introduction to Data Mining with R
An Introduction to Data Mining with RYanchang Zhao
 
Clustering
ClusteringClustering
ClusteringMeme Hei
 
Introduction to R for Data Mining (Feb 2013)
Introduction to R for Data Mining (Feb 2013)Introduction to R for Data Mining (Feb 2013)
Introduction to R for Data Mining (Feb 2013)Revolution Analytics
 

Destacado (20)

Data mining
Data miningData mining
Data mining
 
Data mining query languages
Data mining query languagesData mining query languages
Data mining query languages
 
Major issues in data mining
Major issues in data miningMajor issues in data mining
Major issues in data mining
 
ARIADNE: Final Report on Data Mining
ARIADNE: Final Report on Data MiningARIADNE: Final Report on Data Mining
ARIADNE: Final Report on Data Mining
 
Mca i unit part 501 dm
Mca i unit part 501 dmMca i unit part 501 dm
Mca i unit part 501 dm
 
Data mining platform
Data mining platformData mining platform
Data mining platform
 
Dbms vs dsms
Dbms vs dsmsDbms vs dsms
Dbms vs dsms
 
Birch
BirchBirch
Birch
 
Data preprocessing ppt1
Data preprocessing ppt1Data preprocessing ppt1
Data preprocessing ppt1
 
Seminar Association Rules
Seminar Association RulesSeminar Association Rules
Seminar Association Rules
 
Associative Learning
Associative LearningAssociative Learning
Associative Learning
 
9 Data Mining Challenges From Data Scientists Like You
9 Data Mining Challenges From Data Scientists Like You9 Data Mining Challenges From Data Scientists Like You
9 Data Mining Challenges From Data Scientists Like You
 
Data discretization
Data discretizationData discretization
Data discretization
 
Apriori
AprioriApriori
Apriori
 
Introduction to Data Mining with R and Data Import/Export in R
Introduction to Data Mining with R and Data Import/Export in RIntroduction to Data Mining with R and Data Import/Export in R
Introduction to Data Mining with R and Data Import/Export in R
 
Apriori algorithm
Apriori algorithmApriori algorithm
Apriori algorithm
 
An Introduction to Data Mining with R
An Introduction to Data Mining with RAn Introduction to Data Mining with R
An Introduction to Data Mining with R
 
Apriori algorithm
Apriori algorithmApriori algorithm
Apriori algorithm
 
Clustering
ClusteringClustering
Clustering
 
Introduction to R for Data Mining (Feb 2013)
Introduction to R for Data Mining (Feb 2013)Introduction to R for Data Mining (Feb 2013)
Introduction to R for Data Mining (Feb 2013)
 

Similar a Data mining-primitives-languages-and-system-architectures2641

Data Mining Presentation on Science Day 2023
Data Mining Presentation on Science Day 2023Data Mining Presentation on Science Day 2023
Data Mining Presentation on Science Day 2023SakshiTiwari490123
 
Data mining-2
Data mining-2Data mining-2
Data mining-2Nit Hik
 
Data mining query language
Data mining query languageData mining query language
Data mining query languageGowriLatha1
 
Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)Lakshya Gupta
 
Data Mining- Unit-I PPT (1).ppt
Data Mining- Unit-I PPT (1).pptData Mining- Unit-I PPT (1).ppt
Data Mining- Unit-I PPT (1).pptAravindReddy565690
 
Salesforce Analytics Cloud - Explained
Salesforce Analytics Cloud - ExplainedSalesforce Analytics Cloud - Explained
Salesforce Analytics Cloud - ExplainedCarl Brundage
 
Big Data Real Time Training in Chennai
Big Data Real Time Training in ChennaiBig Data Real Time Training in Chennai
Big Data Real Time Training in ChennaiVijay Susheedran C G
 
Big Data 101 - An introduction
Big Data 101 - An introductionBig Data 101 - An introduction
Big Data 101 - An introductionNeeraj Tewari
 
Recommendation Systems : Selection vs Fulfillment
Recommendation Systems : Selection vs FulfillmentRecommendation Systems : Selection vs Fulfillment
Recommendation Systems : Selection vs FulfillmentAkansha Kumar, Ph.D.
 
20IT501_DWDM_PPT_Unit_II.ppt
20IT501_DWDM_PPT_Unit_II.ppt20IT501_DWDM_PPT_Unit_II.ppt
20IT501_DWDM_PPT_Unit_II.pptPalaniKumarR2
 
20IT501_DWDM_PPT_Unit_II.ppt
20IT501_DWDM_PPT_Unit_II.ppt20IT501_DWDM_PPT_Unit_II.ppt
20IT501_DWDM_PPT_Unit_II.pptSamPrem3
 
01 Introduction to Data Mining
01 Introduction to Data Mining01 Introduction to Data Mining
01 Introduction to Data MiningValerii Klymchuk
 

Similar a Data mining-primitives-languages-and-system-architectures2641 (20)

unit 1.pptx
unit 1.pptxunit 1.pptx
unit 1.pptx
 
Data mining-2
Data mining-2Data mining-2
Data mining-2
 
Data Mining-2023 (2).ppt
Data Mining-2023 (2).pptData Mining-2023 (2).ppt
Data Mining-2023 (2).ppt
 
Data Mining Presentation on Science Day 2023
Data Mining Presentation on Science Day 2023Data Mining Presentation on Science Day 2023
Data Mining Presentation on Science Day 2023
 
Data_Science.ppt
Data_Science.pptData_Science.ppt
Data_Science.ppt
 
Data mining-2
Data mining-2Data mining-2
Data mining-2
 
Data-Mining-2.ppt
Data-Mining-2.pptData-Mining-2.ppt
Data-Mining-2.ppt
 
Unit 3 part i Data mining
Unit 3 part i Data miningUnit 3 part i Data mining
Unit 3 part i Data mining
 
Data mining query language
Data mining query languageData mining query language
Data mining query language
 
Data Mining
Data MiningData Mining
Data Mining
 
Dma unit 1
Dma unit   1Dma unit   1
Dma unit 1
 
Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)Expert system (unit 1 &amp; 2)
Expert system (unit 1 &amp; 2)
 
Data Mining- Unit-I PPT (1).ppt
Data Mining- Unit-I PPT (1).pptData Mining- Unit-I PPT (1).ppt
Data Mining- Unit-I PPT (1).ppt
 
Salesforce Analytics Cloud - Explained
Salesforce Analytics Cloud - ExplainedSalesforce Analytics Cloud - Explained
Salesforce Analytics Cloud - Explained
 
Big Data Real Time Training in Chennai
Big Data Real Time Training in ChennaiBig Data Real Time Training in Chennai
Big Data Real Time Training in Chennai
 
Big Data 101 - An introduction
Big Data 101 - An introductionBig Data 101 - An introduction
Big Data 101 - An introduction
 
Recommendation Systems : Selection vs Fulfillment
Recommendation Systems : Selection vs FulfillmentRecommendation Systems : Selection vs Fulfillment
Recommendation Systems : Selection vs Fulfillment
 
20IT501_DWDM_PPT_Unit_II.ppt
20IT501_DWDM_PPT_Unit_II.ppt20IT501_DWDM_PPT_Unit_II.ppt
20IT501_DWDM_PPT_Unit_II.ppt
 
20IT501_DWDM_PPT_Unit_II.ppt
20IT501_DWDM_PPT_Unit_II.ppt20IT501_DWDM_PPT_Unit_II.ppt
20IT501_DWDM_PPT_Unit_II.ppt
 
01 Introduction to Data Mining
01 Introduction to Data Mining01 Introduction to Data Mining
01 Introduction to Data Mining
 

Último

Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...panagenda
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Alkin Tezuysal
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality AssuranceInflectra
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPathCommunity
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...AliaaTarek5
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 

Último (20)

Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptxPasskey Providers and Enabling Portability: FIDO Paris Seminar.pptx
Passkey Providers and Enabling Portability: FIDO Paris Seminar.pptx
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
Why device, WIFI, and ISP insights are crucial to supporting remote Microsoft...
 
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
Unleashing Real-time Insights with ClickHouse_ Navigating the Landscape in 20...
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance[Webinar] SpiraTest - Setting New Standards in Quality Assurance
[Webinar] SpiraTest - Setting New Standards in Quality Assurance
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
UiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to HeroUiPath Community: Communication Mining from Zero to Hero
UiPath Community: Communication Mining from Zero to Hero
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
(How to Program) Paul Deitel, Harvey Deitel-Java How to Program, Early Object...
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 

Data mining-primitives-languages-and-system-architectures2641

  • 1. PP:31 Data Mining Primitives, Languages, and System Architectures
  • 2. Introduction • Popular Misconception about Data Mining – Systems can autonomously dig out all valuable knowledge without human intervention • • • • Would uncover a overwhelmingly large set of patterns Its like letting loose a data mining “monster” Most of the patterns would be irrelevant to the analysis task of the user Many of them although relevant would be difficult to understand or lack validity.
  • 3. Introduction (2) • More realistic – Users communicating with the system to make the process efficient and gain some useful knowledge – User directing the mining process – Design primitives for the user interaction – Design a query language to incorporate these primitives – Design a good architecture for these data mining systems
  • 4. Primitives • • • • • Task Relevant Data Kinds of knowledge to be mined Background knowledge Interestingness measure Presentation and visualization of discovered patterns
  • 5. Task Relevant Data (1) • • • • • • Database portion to be investigated (Canadian example) Can also specify the attributes to be investigated Collect a set of task relevant data using relational queries – SubTask Initial Data Relation – Can be ordered, grouped, transformed according to the conditions before applying the analysis Minable view
  • 6. example • • Buying trends of customers in Canada , say items bought by customers with respect to age and annual income Task relevant data – – – – Database name Tables (Item, Customer, purchase, item sold) Conditions for selecting data (purchases in Canada during the current year) Relevant attributes (Item name, item price, age and annual income)
  • 7. Task Relevant Data (3) • If Data is in a Data Cube – Data filtering (Slicing) – Dicing • Conditions can be specified in a higher concept level • Concept type = “Home Entertainment” can represent lower level concepts {“TV”,”CD Player”,”VCR”} • Specification of relevant attributes can be difficult especially when they have strong semantic links to them. • Sales of certain items might be linked to festival times • Techniques that search for links between attributes can be used to enhance the Initial Data Set
  • 8. Kind of Knowledge to be Mined (1) • Determines the data mining function to be performed • Kinds of Knowledge – – – – – – • • Concept description (Characterization and discrimination) Association Classification Clustering Prediction Evolution Analysis User may also provide pattern templates (metapatterns or metarules or metaqueries) that the discovered patterns must match Examples: – Age(X, “30..39”)^income(X, “40K..49K”) => buys(X, “VCR) – Occupation(X, “Student”)^age(X, “30..39”) => buys(X, “computer”) [2.2%, 60%] [1.4%, 70%]
  • 9. Background Knowledge (1) • • It is the information about the domain to be mined Concept Hierarchies (focused in this chapter) – – – – Schema hierarchies Set grouping hierarchies Operation-derived hierarchies Rule based hierarchies
  • 10. Concept Hierarchies (1) • • • • Defines a sequence of mappings from a set of low-level concepts to higher-level (more general) concepts Allow data to be mined at multiple levels of abstraction. These allow users to view data from different perspectives, allowing further insight into the relationships. Example of locations (figure)
  • 11. Example • • • Represented as set of nodes organized in a tree Each node represents a concept All (represents the root). Most generalized value • Consists of levels. Levels numbered top to bottom, with level 0 for all node .
  • 12. Concept Hierarchies (2) • Rolling Up - Generalization of data – – – – Allows to view data at more meaningful and explicit abstractions. Makes it easier to understand Compresses the data Would require fewer i/o operations • Drilling Down – Specialization of data • • Concept values replaced by lower level concepts May have more than concept hierarchy for a given attribute or dimension based on different user viewpoints Regional manager may prefer the one in the fig but marketing manager might prefer to see location with respect to linguistic lines.
  • 13. Concept Hierarchies (3) • Schema Hierarchies – – – – Total or partial order among attributes May express existing semantic relationships between attributes Provides metadata information. Eg. Location schema hierarchy Street < city < province_or_state < country
  • 14. Concept Hierarchies (4) • Set Grouping Hierarchies – Organizes values for a given attribute into groups or sets or range of values – Total or partial order can be defined among groups – Used to refine or enrich schema-defined hierarchies – Typically used for small sets of object relationships – Eg. Set grouping hierarchy for age {young, middle_aged, senior} c all(age) {20…39} c young {40…59} c middle_aged {60…89} c senior
  • 15. Concept Hierarchies (5) • Operation-derived – Based on operations specified. – Operations may include • Decoding of information-encoded strings • Information extraction from complex data objects • Data clustering – Eg. Email or url contains hierarchy information • abc@cs.iitb.in gives login-name < dept. < university < country
  • 16. Concept Hierarchies (6) • Rule-based – Occurs when while or portion of a concept hierarchy is defined as a set of rules and is evaluated dynamically based on current database data and rule definition – Low_profit(X) <= price(X,P1) ^ cost(X,P2) ^ ((P1-P2) < $50)
  • 17. Interestingness Measure (1) • Based on the structure of patterns and statistics underlying them • Associate a threshold which can be controlled • Rules not meeting the threshold are not presented to the user • Forms of measures – – – – Simplicity Certainty Utility Novelty
  • 18. Interestingness.. (2) • Simplicity – The more the simpler the rule is the more easier it is to understand to a user – Eg. Rule length is a simplicity measure • Certainty (confidence) – Assesses the validity or trustworthiness of a pattern – Confidence is a certainty measure – Defined as: # of tuples containing both A & B # of tuples containing A
  • 19. Interestingness (3) • Utility (Support) – Usefulness of the pattern – Defined as: # of tuples containing both A & B Total # of tuples • Strong Association Rules • Rules satisfy the threshold for Support • Rules satisfy the threshold for Confidence • • Rules with low support likely represent noise or rare or exceptional cases Novelty – Patterns contributing new information to the given pattern set are called novel patterns (eg. Data exception) – Used to remove redundant patterns
  • 20. Presentation and Visualization • Should be able to display results in multiple forms like rules, tables, crosstabs, pie or bar charts, decision trees, cubes
  • 21. Data Mining Query Language (DMQL) • Motivation – A DMQL can provide the ability to support ad-hoc and interactive data mining – By providing a standardized language like SQL • Hope to achieve a similar effect like that SQL has on relational database • Foundation for system development and evolution • Facilitate information exchange, technology transfer, commercialization and wide acceptance • • Adopts a SQL like syntax Defined in BNF grammar – [ ] represents 0 or one occurrence – { } represents 0 or more occurrences – Words in sans serif represent keywords
  • 22. Syntax for Task Relevant Data Specification • use database database_name, or use data warehouse data_warehouse_name • from relation(s)/cube(s) [where condition] • in relevance to att_or_dim_list • order by order_list • group by grouping_list • having condition
  • 24. Syntax for Kind of Knowledge to be Mined • Characterization : Mine_Knowledge_Specification ::= mine characteristics [as pattern_name] analyze measure(s) • Analyze clause specifies aggregate measures • mine characteristics as customerPurchasing analyze count% • Discrimination: Mine_Knowledge_Specification  ::= mine comparison [ as pattern_name] for target_class  where target_condition  { versus contrast_class_i  where contrast_condition_i}  analyze measure(s) • Compare a given target class of objects with one or more other contrasting classes • Mine comparison as purchaseGroups for bigspenders where avg(I.price) >= $100 versus budgetspenders where avg(I.price) < $100 analyze count
  • 25. Syntax for Kind of Knowledge to be Mined • Association Mine_Knowledge_Specification ::= mine associations [as pattern_name] [matching metapattern] • User can provide templates for matching thereby enforcing additional syntactic constraints for the mining task. • Mine associations as buyingHabits matching P(X: customer, W) ^ Q(X,Y) => buys (X,Z) • Classification Mine_Knowledge_Specification  ::= mine classification [as pattern_name] analyze classifying_attribute_or_dimension • Specifies that classification is performed according to the values of classifying_attribute_or_dimension • Mine classification as classifyCustomerCreditRating analyze credit_rating
  • 26. Syntax for Concept Hierarchy Specification • Can have more than one concept hierarchy per attribute • Use hierarchy hierarchy_name for attribute_or_dimension • Defining Hierarchies: – Schema (ordering is important) • Define hierarchy location_hierarchy on address as [street,city,province_or_state,country] – Set-Grouping • define hierarchy age_hierarchy for age on customer as level1: {young, middle_aged, senior} < level0: all level2: {20, ..., 39} < level1: young level2: {40, ..., 59} < level1: middle_aged level2: {60, ..., 89} < level1: senior
  • 27. Syntax for Concept Hierarchy Specification • Defining Hierarchies : (contd..) – operation-derived hierarchies • define hierarchy age_hierarchy for age on customer as {age_category(1), ..., age_category(5)} := cluster(default, age, 5) < all(age) – rule-based hierarchies • define hierarchy profit_margin_hierarchy on item as level_1: low_profit_margin < level_0: all if (price - cost)< $50 level_1: medium-profit_margin < level_0: all if ((price - cost) > $50) and ((price - cost) <= $250)) level_1: high_profit_margin < level_0: all if (price - cost) > $250
  • 28. Syntax for Interestingness Measure • with [interest_measure_name] threshold = threshold_value • • with support threshold = 5% with confidence threshold = 70%
  • 29. Syntax for pattern presentation and visualization specification • display as result_form • To facilitate interactive viewing at different concept level, the following syntax is defined: Multilevel_Manipulation  ::=   roll up on attribute_or_dimension | drill down on attribute_or_dimension | add attribute_or_dimension | drop attribute_or_dimension
  • 30. Putting it all together use database AllElectronics_db use hierarchy location_hierarchy for B.address mine characteristics as customerPurchasing analyze count% in relevance to C.age, I.type, I.place_made from customer C, item I, purchases P, items_sold S, works_at W, branch B where I.item_ID = S.item_ID and S.trans_ID = P.trans_ID and P.cust_ID = C.cust_ID and P.method_paid = ``AmEx'' and P.empl_ID = W.empl_ID and W.branch_ID = B.branch_ID and B.address = ``Canada" and I.price >= 100 with noise threshold = 5% display as table
  • 31. Other Data Mining Languages and Standardization of Primitives • MSQL (Imielinski & Virmani’99) - uses SQL-like syntax and SQL primitives including sorting and group-by. • MineRule (Meo Psaila and Ceri’96) - follows SQL-like syntax and serves as rule generation queries for mining association rules. • Query flocks based on Datalog syntax (Tsur, Ullman etc. ’98) • OLEDB for DM (Microsoft’2000) • Based on OLE, OLE DB, OLE DB for OLAP • Integrating DBMS, data warehouse and data mining • CRISP-DM (CRoss-Industry Standard Process for Data Mining) • Providing a platform and process structure for effective data mining • Emphasizing on deploying data mining technology to solve business problems
  • 32. Designing GUIs based on DMQL • Why do we need a good GUI? – Syntax difficult to remember and can be confusing • Functional Components of a Data Mining GUI – Data collection and data mining query composition (specify task relevant data and compose queries. Similar to relational queries) – Presentation of discovered patterns (display in various forms) – Hierarchy specification and manipulation (specify and modify concept hierarchies) – Manipulation of data mining primitives (thresholds & modification of previous queries or conditions) – Interactive multilevel mining (roll-up and drill down) – Other miscellaneous information (online-help manuals, indexed search, debugging, other graphical features)
  • 33. Architecture for Data Mining Systems • What will a good system architecture facilitate – – – – – Make best use of the software environment Accomplish data mining tasks in an efficient and timely manner Interoperate and exchange information with other systems Be adaptable to user’s diverse needs Evolve with time • Question? – Should we couple or integrate a data mining system with a database and/or data warehouse system?
  • 34. Architecture of Data Mining Systems • Coupling data mining system with DB/DW system – No coupling (flat file processing, not recommended) – Loose coupling • Fetching data from DB/DW • Storing results in either flat file or database/data warehouse – Semi-tight coupling (enhanced DM performance) • Provide efficient implement a few data mining primitives in a DB/DW system, e.g., sorting, indexing, aggregation, histogram analysis, multiway join, precomputation of some stat functions – Tight coupling (A uniform information processing environment) • DM is smoothly integrated into a DB/DW system, mining query is optimized based on mining query, indexing, query processing methods, etc.
  • 35. Summary • Five primitives for specification of a data mining task – – – – – task-relevant data kind of knowledge to be mined background knowledge interestingness measures knowledge presentation and visualization techniques to be used for displaying the discovered patterns • Data mining query languages – DMQL, MS/OLEDB for DM, etc. • Data mining system architecture – – – – No coupling loose coupling semi-tight coupling tight coupling