20.11.2015 Views

Data Mining Extensions - DMX - Reference

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

parameter list<br />

Optional. A comma-separated list of provider-defined parameters for the algorithm.<br />

filter criteria<br />

A filter expression that is applied to the columns in the case table.<br />

Remarks<br />

If the mining structure contains composite keys, the mining model must include all the<br />

key columns that are defined in the structure.<br />

If the model does not require a predictable column, for example, models that are built by<br />

using the Microsoft Clustering and Microsoft Sequence Clustering algorithms, you do<br />

not have to include a column definition in the statement. All the attributes in the<br />

resulting model will be treated as inputs.<br />

In the WITH clause that applies to the case table, you can specify options for both<br />

filtering and drillthrough:<br />

• Add the FILTER keyword and a filter condition. The filter applies to the cases in the<br />

mining model.<br />

• Add the DRILLTHROUGH keyword to enable users of the mining model to drill<br />

down from model results to the case data. In <strong>Data</strong> <strong>Mining</strong> <strong>Extensions</strong> (<strong>DMX</strong>),<br />

drillthrough can be enabled only when you create the model.<br />

To use both case filtering and drillthrough, you combine the keywords in a single WITH<br />

clause by using the syntax shown in the following example:<br />

WITH DRILLTHROUGH, FILTER(Gender = 'Male')<br />

Column Definition List<br />

You define the structure of a model by specifying a column definition list that includes<br />

the following information for each column:<br />

• Name (mandatory)<br />

• Alias (optional)<br />

• Modeling flags<br />

• Prediction request, which indicates to the algorithm whether the column contains a<br />

predictable value, indicated by the PREDICT or PREDICT_ONLY clause<br />

Use the following syntax for the column definition list to define a single column:<br />

[AS ] []<br />

[]<br />

Column Name and Alias<br />

The column name that you use in the column definition list must be the name of the<br />

column as it is used in the mining structure. However, you can optionally define an alias<br />

to represent the structure column in the mining model. You can also create multiple<br />

column definitions for the same structure column, and assign a different alias and<br />

prediction usage to each copy of the column. By default, the structure column name is<br />

43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!