Download A Data Mining Query Language

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Nonlinear dimensionality reduction wikipedia , lookup

Transcript
A Data Mining Query Language
• The Language adopts an SQL- like syntax, so that it can easily be integrated with the
relational query language SQL.
• The syntax of DMQL is defined is an extended BNF grammar where “[ ]” represents 0
or one occurrence, “{ }” represents 0 or more occurrences, and words in sans serif font
represent keywords.
Syntax for Task – Relevant Data Specification:
.DMQL provides clauses for the specification of such information
Syntax:
Use database <database-name> / use data ware house <data warehouse-name>
In relevance to <attribute-or-dimension list>
From <relation(s) / cube (s) >
[where <condition>]
[order by <order-list>]
[group by <grouping-list>]
[having <condition> ] //Condition by which groups of data are considered relevant.
Examples:
Use database All Electronics-database
In relevance to I.name, I.price, C.income, C.age
From customer C, iter I, purchase P, items-sold S
Where I.iterm-ID = S.item-ID and S.trans-ID = P.trans-ID and P.cust-ID = C.cust-ID
and C.country = “canada”
Group by P.data.
Syntax for specifying the kind of knowledge to be mined:
• Specifying the kind of the knowledge to be mined determines the data mining function
to be performed.
Characterization
<Mine-Knowledge-Specification>: : =
mine characteristics [as <pattern-name> ] analyze <measure(s)>
specifies that characteristic descriptions are to be mined.
Examples : mine characteristics as customerPurchasing analyze count %
Discrimination:
<Mine-Knowledge-Specification> : : =
mine comparison [as <pattern-names>]
for <target-class> where <target-condition>
{ versus <contrast-class-i> where <contrast-condition_i > }
analyze <measure(s)>
specifies that discriminant descriptions are to be mined
Syntax for Association:
<mine-knowledge-specification> : : =
mine association [as <pattern-name>]
[matching <meta pattern> ]
Specify the mining pattern of association
Syntax for Classification:
<mine-knowledge-specification> : : =
mine classification [as <pattern –name> ]
analyze <classifying-attribute-or-dimension>
Specifies that patterns for data classification are to be mined