Wikipedia

Data Mining Extensions

Also found in: Acronyms.

Data Mining Extensions (DMX) is a query language for data mining models supported by Microsoft'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 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 (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  [Loan Seeker],  PredictProbability([Loan Seeker]) FROM  [Decision Tree] NATURAL PREDICTION JOIN (SELECT  35 AS [Age],  'Y' AS [House Owner],  'M' AS [Marital Status],  'F' AS [Gender],  2 AS [Number Cars Owned],  2 AS [Total Children],  18 AS [Total Years of Education] ) 

See also

External links

This article is copied from an article on Wikipedia® - the free encyclopedia created and edited by its online user community. The text was not checked or edited by anyone on our staff. Although the vast majority of Wikipedia® encyclopedia articles provide accurate and timely information, please do not assume the accuracy of any particular article. This article is distributed under the terms of GNU Free Documentation License.

Copyright © 2003-2025 Farlex, Inc Disclaimer
All content on this website, including dictionary, thesaurus, literature, geography, and other reference data is for informational purposes only. This information should not be considered complete, up to date, and is not intended to be used in place of a visit, consultation, or advice of a legal, medical, or any other professional.