You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/dmx/alter-mining-structure-dmx.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ USING <algorithm> [(<parameter list>)]
50
50
The name of a data mining algorithm, as defined by the provider.
51
51
52
52
> [!NOTE]
53
-
> A list of the algorithms supported by the current provider can be retrieved by using [DMSCHEMA_MINING_SERVICES Rowset](https://docs.microsoft.com/previous-versions/sql/sql-server-2012/ms126251(v=sql.110)). To view the algorithms supported in the current instance of [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)], see [Data Mining Properties](https://docs.microsoft.com/analysis-services/server-properties/data-mining-properties).
53
+
> A list of the algorithms supported by the current provider can be retrieved by using [DMSCHEMA_MINING_SERVICES Rowset](/previous-versions/sql/sql-server-2012/ms126251(v=sql.110)). To view the algorithms supported in the current instance of [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)], see [Data Mining Properties](/analysis-services/server-properties/data-mining-properties).
54
54
55
55
*parameter list*
56
56
Optional. A comma-separated list of provider-defined parameters for the algorithm.
@@ -91,7 +91,7 @@ USING <algorithm> [(<parameter list>)]
91
91
```
92
92
93
93
### Column Name and Alias
94
-
The column name that you use in the column definition list must be the name of the column as it is used in the mining structure. However, you can optionally define an alias to represent the structure column in the mining model. You can also create multiple column definitions for the same structure column, and assign a different alias and prediction usage to each copy of the column. By default, the structure column name is used if you do not define an alias. For more information, see [Create an Alias for a Model Column](https://docs.microsoft.com/analysis-services/data-mining/create-an-alias-for-a-model-column).
94
+
The column name that you use in the column definition list must be the name of the column as it is used in the mining structure. However, you can optionally define an alias to represent the structure column in the mining model. You can also create multiple column definitions for the same structure column, and assign a different alias and prediction usage to each copy of the column. By default, the structure column name is used if you do not define an alias. For more information, see [Create an Alias for a Model Column](/analysis-services/data-mining/create-an-alias-for-a-model-column).
95
95
96
96
For nested table columns, you specify the name of the nested table, specify the data type as **TABLE**, and then provide the list of nested columns to include in the model, enclosed in parentheses.
97
97
@@ -123,15 +123,15 @@ USING <algorithm> [(<parameter list>)]
123
123
124
124
Filter criteria expressions are simplified DMX predicates, similar to a WHERE clause. Filter expressions are restricted to formulas that use basic mathematical operators, scalars, and column names. The exception is the EXISTS operator; it evaluates to true if at least one row is returned for the subquery. Predicates can be combined by using the common logical operators: AND, OR, and NOT.
125
125
126
-
For more information about filters used with mining models, see [Filters for Mining Models (Analysis Services - Data Mining)](https://docs.microsoft.com/analysis-services/data-mining/filters-for-mining-models-analysis-services-data-mining).
126
+
For more information about filters used with mining models, see [Filters for Mining Models (Analysis Services - Data Mining)](/analysis-services/data-mining/filters-for-mining-models-analysis-services-data-mining).
127
127
128
128
> [!NOTE]
129
129
> Columns in a filter must be mining structure columns. You cannot create a filter on a model column or an aliased column.
130
130
131
-
For more information about DMX operators and syntax, see [Mining Model Columns](https://docs.microsoft.com/analysis-services/data-mining/mining-model-columns).
131
+
For more information about DMX operators and syntax, see [Mining Model Columns](/analysis-services/data-mining/mining-model-columns).
132
132
133
133
## Parameter Definition List
134
-
You can adjust the performance and functionality of a model by adding algorithm parameters to the parameter list. The parameters that you can use depend on the algorithm that you specify in the USING clause. For a list of parameters that are associated with each algorithm, see [Data Mining Algorithms (Analysis Services - Data Mining)](https://docs.microsoft.com/analysis-services/data-mining/data-mining-algorithms-analysis-services-data-mining).
134
+
You can adjust the performance and functionality of a model by adding algorithm parameters to the parameter list. The parameters that you can use depend on the algorithm that you specify in the USING clause. For a list of parameters that are associated with each algorithm, see [Data Mining Algorithms (Analysis Services - Data Mining)](/analysis-services/data-mining/data-mining-algorithms-analysis-services-data-mining).
135
135
136
136
The syntax of the parameter list is as follows:
137
137
@@ -199,4 +199,3 @@ USING Microsoft_Decision Trees
199
199
[Data Mining Extensions (DMX) Data Manipulation Statements](../dmx/dmx-statements-data-manipulation.md)
The value that is supplied by the \<rank expression> argument determines the increasing order of rank for the rows that are supplied in the \<table expression> argument, and the number of bottom-most rows that is specified in the \<count> argument is returned.
33
33
34
34
## Examples
35
-
The following example creates a prediction query against the Association model that you build by using the [Basic Data Mining Tutorial](https://msdn.microsoft.com/library/6602edb6-d160-43fb-83c8-9df5dddfeb9c).
35
+
The following example creates a prediction query against the Association model that you build by using the [Basic Data Mining Tutorial](/previous-versions/sql/sql-server-2016/ms167167(v=sql.130)).
36
36
37
37
To understand how BottomCount works, it might be helpful to first execute a prediction query that returns only the nested table.
38
38
@@ -45,7 +45,7 @@ SELECT (SELECT 'Women''s Mountain Shorts' as [Model]) AS [v Assoc Seq Line Items
45
45
```
46
46
47
47
> [!NOTE]
48
-
> In this example, the value supplied as input contains a single quotation mark, and therefore must be escaped by prefacing it with another single quotation mark. If you are not sure of the syntax for inserting an escape character, you can use the Prediction Query Builder to create the query. When you select the value from the dropdown list, the required escape character is inserted for you. For more information, see [Create a Singleton Query in the Data Mining Designer](https://docs.microsoft.com/analysis-services/data-mining/create-a-singleton-query-in-the-data-mining-designer).
48
+
> In this example, the value supplied as input contains a single quotation mark, and therefore must be escaped by prefacing it with another single quotation mark. If you are not sure of the syntax for inserting an escape character, you can use the Prediction Query Builder to create the query. When you select the value from the dropdown list, the required escape character is inserted for you. For more information, see [Create a Singleton Query in the Data Mining Designer](/analysis-services/data-mining/create-a-singleton-query-in-the-data-mining-designer).
The **BottomPercent** function returns the bottom-most rows in increasing order of rank. The rank is based on the evaluated value of the \<rank expression> argument for each row, such that the sum of the \<rank expression> values is at least the given percentage that is specified by the \<percent> argument. **BottomPercent** returns the smallest number of elements possible while still meeting the specified percent value.
40
40
41
41
## Examples
42
-
The following example creates a prediction query against the Association model that you built in the [Basic Data Mining Tutorial](https://msdn.microsoft.com/library/6602edb6-d160-43fb-83c8-9df5dddfeb9c).
42
+
The following example creates a prediction query against the Association model that you built in the [Basic Data Mining Tutorial](/previous-versions/sql/sql-server-2016/ms167167(v=sql.130)).
43
43
44
44
To understand how BottomPercent works, it may be helpful to first execute a prediction query that returns only the nested table.
45
45
@@ -52,7 +52,7 @@ SELECT (SELECT 'Women''s Mountain Shorts' as [Model]) AS [v Assoc Seq Line Items
52
52
```
53
53
54
54
> [!NOTE]
55
-
> In this example, the value supplied as input contains a single quotation mark, and therefore must be escaped by prefacing it with another single quotation mark. If you are not sure of the syntax for inserting an escape character, you can use the Prediction Query Builder to create the query. When you select the value from the dropdown list, the required escape character is inserted for you. For more information, see [Create a Singleton Query in the Data Mining Designer](https://docs.microsoft.com/analysis-services/data-mining/create-a-singleton-query-in-the-data-mining-designer).
55
+
> In this example, the value supplied as input contains a single quotation mark, and therefore must be escaped by prefacing it with another single quotation mark. If you are not sure of the syntax for inserting an escape character, you can use the Prediction Query Builder to create the query. When you select the value from the dropdown list, the required escape character is inserted for you. For more information, see [Create a Singleton Query in the Data Mining Designer](/analysis-services/data-mining/create-a-singleton-query-in-the-data-mining-designer).
56
56
57
57
Example results:
58
58
@@ -111,4 +111,3 @@ NATURAL PREDICTION JOIN
111
111
[Data Mining Extensions (DMX) Function Reference](../dmx/data-mining-extensions-dmx-function-reference.md)
The **BottomSum** function returns the bottom-most rows in increasing order of rank. The rank is based on the evaluated value of the \<rank expression> argument for each row, such that the sum of the \<rank expression> values is at least the given total that is specified by the \<sum> argument. **BottomSum** returns the smallest number of elements possible while still meeting the specified sum value.
33
33
34
34
## Examples
35
-
The following example creates a prediction query against the Association model that you build by using the [Basic Data Mining Tutorial](https://msdn.microsoft.com/library/6602edb6-d160-43fb-83c8-9df5dddfeb9c).
35
+
The following example creates a prediction query against the Association model that you build by using the [Basic Data Mining Tutorial](/previous-versions/sql/sql-server-2016/ms167167(v=sql.130)).
36
36
37
37
To understand how BottomSum works, it might be helpful to first execute a prediction query that returns only the nested table.
38
38
@@ -45,7 +45,7 @@ SELECT (SELECT 'Women''s Mountain Shorts' as [Model]) AS [v Assoc Seq Line Items
45
45
```
46
46
47
47
> [!NOTE]
48
-
> In this example, the value supplied as input contains a single quotation mark, and therefore must be escaped by prefacing it with another single quotation mark. If you are not sure of the syntax for inserting an escape character, you can use the Prediction Query Builder to create the query. When you select the value from the dropdown list, the required escape character is inserted for you. For more information, see [Create a Singleton Query in the Data Mining Designer](https://docs.microsoft.com/analysis-services/data-mining/create-a-singleton-query-in-the-data-mining-designer).
48
+
> In this example, the value supplied as input contains a single quotation mark, and therefore must be escaped by prefacing it with another single quotation mark. If you are not sure of the syntax for inserting an escape character, you can use the Prediction Query Builder to create the query. When you select the value from the dropdown list, the required escape character is inserted for you. For more information, see [Create a Singleton Query in the Data Mining Designer](/analysis-services/data-mining/create-a-singleton-query-in-the-data-mining-designer).
The **ClusterDistance** function returns the distance between the input case and the cluster that has the highest probability for that input case.
33
33
34
-
In case of K-Means clustering, since any case can belong to only one cluster, with a membership weight of 1.0, the cluster distance is always 0. However, in K-Means, each cluster is assumed to have a centroid. You can obtain the value of the centroid by querying or browsing the NODE_DISTRIBUTION nested table in the mining model content. For more information, see [Mining Model Content for Clustering Models (Analysis Services - Data Mining)](https://docs.microsoft.com/analysis-services/data-mining/mining-model-content-for-clustering-models-analysis-services-data-mining).
34
+
In case of K-Means clustering, since any case can belong to only one cluster, with a membership weight of 1.0, the cluster distance is always 0. However, in K-Means, each cluster is assumed to have a centroid. You can obtain the value of the centroid by querying or browsing the NODE_DISTRIBUTION nested table in the mining model content. For more information, see [Mining Model Content for Clustering Models (Analysis Services - Data Mining)](/analysis-services/data-mining/mining-model-content-for-clustering-models-analysis-services-data-mining).
35
35
36
36
In the case of the default EM clustering method, all the points inside the cluster are considered equally likely; therefore, by design there is no centroid for the cluster. The value of **ClusterDistance** between a particular case and a particular cluster *N* is calculated as follows:
37
37
@@ -123,6 +123,5 @@ NATURAL PREDICTION JOIN
123
123
[Cluster (DMX)](../dmx/cluster-dmx.md)
124
124
[Data Mining Extensions (DMX) Function Reference](../dmx/data-mining-extensions-dmx-function-reference.md)
[Mining Model Content for Clustering Models (Analysis Services - Data Mining)](https://docs.microsoft.com/analysis-services/data-mining/mining-model-content-for-clustering-models-analysis-services-data-mining)
127
-
126
+
[Mining Model Content for Clustering Models (Analysis Services - Data Mining)](/analysis-services/data-mining/mining-model-content-for-clustering-models-analysis-services-data-mining)
For more information about using this syntax, see [SELECT FROM <model>.CONTENT (DMX)](../dmx/select-from-model-content-dmx.md). For more information about the mining model content schema rowset, see [DMSCHEMA_MINING_MODEL_CONTENT Rowset](https://docs.microsoft.com/previous-versions/sql/sql-server-2012/ms126267(v=sql.110)).
38
+
For more information about using this syntax, see [SELECT FROM <model>.CONTENT (DMX)](../dmx/select-from-model-content-dmx.md). For more information about the mining model content schema rowset, see [DMSCHEMA_MINING_MODEL_CONTENT Rowset](/previous-versions/sql/sql-server-2012/ms126267(v=sql.110)).
39
39
40
40
If a \<node caption> is not specified, the function returns the probability that the input cases belong to the most likely cluster. Use the **Cluster** function to return the most likely cluster.
Copy file name to clipboardExpand all lines: docs/dmx/content-types-dmx.md
+2-3Lines changed: 2 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,10 @@ author: minewiskan
17
17
18
18
Each algorithm supports specific content types. For example, the [!INCLUDE[msCoName](../includes/msconame-md.md)] Naive Bayes algorithm cannot use continuous columns. To use a continuous column in a [!INCLUDE[msCoName](../includes/msconame-md.md)] Naive Bayes model, you must discretize the data in the column. Some algorithms require certain content types in order to function correctly. For example, the [!INCLUDE[msCoName](../includes/msconame-md.md)] Time Series algorithm requires a key time column to identify the time over which the data was collected.
19
19
20
-
For a complete description of the content types that [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] supports, see [Content Types (Data Mining)](https://docs.microsoft.com/analysis-services/data-mining/content-types-data-mining).
20
+
For a complete description of the content types that [!INCLUDE[ssASnoversion](../includes/ssasnoversion-md.md)] supports, see [Content Types (Data Mining)](/analysis-services/data-mining/content-types-data-mining).
21
21
22
22
## See Also
23
-
[Data Mining Algorithms (Analysis Services - Data Mining)](https://docs.microsoft.com/analysis-services/data-mining/data-mining-algorithms-analysis-services-data-mining)
23
+
[Data Mining Algorithms (Analysis Services - Data Mining)](/analysis-services/data-mining/data-mining-algorithms-analysis-services-data-mining)
0 commit comments