fbpx
Wikipedia

Data Mining Extensions

Data Mining Extensions (DMX) is a query language for data mining models supported by Microsoft's SQL Server Analysis Services product.[1]

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 edit

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

Data definition language edit

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 edit

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 edit

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 edit

References edit

  1. ^ "Sql server - Explain how to use DMX-the data mining query language". www.careerride.com. Retrieved 2022-08-23.

External links edit

  • Data Mining Extensions (DMX) Reference, (at MSDN)

data, mining, extensions, this, article, needs, additional, citations, verification, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, news, newspapers, books, scholar, jstor, s. This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources Data Mining Extensions news newspapers books scholar JSTOR September 2022 Learn how and when to remove this template message Data Mining Extensions DMX is a query language for data mining models supported by Microsoft s SQL Server Analysis Services product 1 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 Contents 1 Queries 2 Data definition language 3 Data manipulation language 4 Example a prediction query 5 See also 6 References 7 External linksQueries editDMX Queries are formulated using the SELECT statement They can extract information from existing data mining models in various ways Data definition language editThe 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 INTOData manipulation language editThe 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 JOINExample a prediction query editThis 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 editXML for AnalysisReferences edit Sql server Explain how to use DMX the data mining query language www careerride com Retrieved 2022 08 23 External links editData Mining Extensions DMX Reference at MSDN Retrieved from https en wikipedia org w index php title Data Mining Extensions amp oldid 1108191642, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.