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
The query also returns a single row of null values, to represent missing values.
95
92
96
93
## Discretized Column Example
97
-
The following code sample returns the midpoint, maximum, and minimum values for each bucket that has been created by the algorithm for the column, [`Yearly Income]`. To reproduce the results for this example, you must create a new mining structure that is the same as `[Targeted Mailing]`. In the wizard, change the content type of the `Yearly Income` column from **Continuous** to **Discretized**.
94
+
The following code sample returns the midpoint, maximum, and minimum values for each bucket that has been created by the algorithm for the column, `[Yearly Income]`. To reproduce the results for this example, you must create a new mining structure that is the same as `[Targeted Mailing]`. In the wizard, change the content type of the `Yearly Income` column from **Continuous** to **Discretized**.
98
95
99
96
> [!NOTE]
100
-
> You can also change the mining model created in the Basic Mining Tutorial to discretize the mining structure column, [`Yearly Income]`. For information about how to do this, see [Change the Discretization of a Column in a Mining Model](/analysis-services/data-mining/change-the-discretization-of-a-column-in-a-mining-model). However, when you change the discretization of the column, it will force the mining structure to be reprocessed, which will change the results of other models that you have built using that structure.
97
+
> You can also change the mining model created in the Basic Mining Tutorial to discretize the mining structure column, `[Yearly Income]`. For information about how to do this, see [Change the Discretization of a Column in a Mining Model](/analysis-services/data-mining/change-the-discretization-of-a-column-in-a-mining-model). However, when you change the discretization of the column, it will force the mining structure to be reprocessed, which will change the results of other models that you have built using that structure.
101
98
102
99
```
103
100
SELECT DISTINCT [Yearly Income] AS [Bucket Average],
You can see that the values of the [Yearly Income] column have been discretized into five buckets, plus an additional row of null values, to represent missing values.
116
+
You can see that the values of the `[Yearly Income]` column have been discretized into five buckets, plus an additional row of null values, to represent missing values.
121
117
122
118
The number of decimal places in the results depends on the client that you use for querying. Here they have been rounded to two decimal places, both for simplicity and to reflect the values that are displayed in [!INCLUDE[ssBIDevStudioFull](../includes/ssbidevstudiofull-md.md)].
0 commit comments