Practical DMX Queries for Microsoft SQL Server Analysis Services 2008
SQL_2008 / Practical DMX Queries for Microsoft SQL Server Analysis Services 2008 / Art Tennick /866-0 / Chapter 1
ases are the relational database records (or cube attributes and measures) usedto initially populate a data mining structure. These cases are then available totrain (and, optionally, later test) the data mining models within the miningstructure. This is your source data. This chapter explores ways of viewing the cases within structures and models. A good knowledge and understanding of the cases willhelp you achieve more accurate and meaningful data mining results. We use DMX Cases queries to look at the cases.
Mining structure cases, mining model cases, nested case tables,training and testing (hold out) cases, drill-through, subqueries
Select, Distinct, Top, Flattened, From, Where, Order By, .cases,.sample_cases, IsInNode(), IsTrainingCase(), IsTestCase(), StructureColumn()
Examining Source Data
The source data is the data originally used to populate a mining structure. This data (ora subset) is then used to train the mining models within the structure. You can optionally store a copy of the source data permanently inside the mining structure—this is now independent of the initial relational or multidimensional source. To examine this storedcopy of the original source, you will need a DMX Cases query on the mining structure.
-- select all cases from structure-- this is a comment as is the line aboveselect * from mining structure [customer mining].cases;
ch01.indd 26/17/10 5:04:05 PM