HOME

TheInfoList



OR:

Data Mining Extensions (DMX) is a query language for data mining models supported by
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washing ...
's SQL Server Analysis Services product. Like SQL, it supports a data definition language, data manipulation language and a data query language, all three with SQL-like syntax. Whereas SQL statements operate on relational tables, DMX statements operate on data mining models. Similarly, SQL Server supports the MDX language for
OLAP Online analytical processing, or OLAP (), is an approach to answer multi-dimensional analytical (MDA) queries swiftly in computing. OLAP is part of the broader category of business intelligence, which also encompasses relational databases, repor ...
databases. DMX is used to create and train data mining models, and to browse, manage, and predict against them. DMX is composed of data definition language (DDL) statements, data manipulation language (DML) statements, and functions and operators.


Queries

DMX Queries are formulated using the SELECT statement. They can extract information from existing data mining models in various ways.


Data definition language

The data definition language (DDL) part of DMX can be used to * Create new data mining models and mining structures - CREATE MINING STRUCTURE, CREATE MINING MODEL * Delete existing data mining models and mining structures - DROP MINING STRUCTURE, DROP MINING MODEL * Export and import mining structures - EXPORT, IMPORT * Copy data from one mining model to another - SELECT INTO


Data manipulation language

The
data manipulation language A data manipulation language (DML) is a computer programming language used for adding (inserting), deleting, and modifying (updating) data in a database. A DML is often a sublanguage of a broader database language such as SQL, with the DML comp ...
(DML) part of DMX can be used to * Train mining models - INSERT INTO * Browse data in mining models - SELECT FROM * Make predictions using mining model - SELECT ... FROM PREDICTION JOIN


Example: a prediction query

This example is a singleton prediction query, which predicts for the given customer whether she will be interested in home loan products. SELECT oan Seeker PredictProbability( oan Seeker FROM ecision TreeNATURAL PREDICTION JOIN (SELECT 35 AS ge 'Y' AS ouse Owner 'M' AS arital Status 'F' AS
ender Ender may refer to: Given name * Ender Alkan, Turkish footballer * Ender Arslan, Turkish basketball player * Ender Inciarte, Venezuelan baseball player * Ender Konca, Turkish footballer Surname * Erika Ender (born 1974), Panamanian singer, s ...
2 AS umber Cars Owned 2 AS otal Children 18 AS otal Years of Education)


See also

*
XML for Analysis XML for Analysis (XMLA) is an industry standard for data access in analytical systems, such as online analytical processing (OLAP) and data mining. XMLA is based on other industry standards such as XML, SOAP and HTTP. XMLA is maintained by XMLA Cou ...


References


External links


Data Mining Extensions (DMX) Reference
(at
MSDN Microsoft Developer Network (MSDN) was the division of Microsoft responsible for managing the firm's relationship with developers and testers, such as hardware developers interested in the operating system (OS), and software developers developing ...
) {{Query languages Query languages Data mining and machine learning software