<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Jamie's Junk</title><link>http://blogs.msdn.com/jamiemac/default.aspx</link><description>Whatever comes to mind
"The official blog of the SQL Server Analysis Services Data Mining Architect" (tm)</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>The amazing flexibility of DMX Table Valued Parameters</title><link>http://blogs.msdn.com/jamiemac/archive/2009/09/24/the-amazing-flexibility-of-dmx-table-valued-parameters.aspx</link><pubDate>Fri, 25 Sep 2009 01:58:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9899216</guid><dc:creator>JamieMac</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9899216.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9899216</wfw:commentRss><description>When most people think of “Table Valued Parameters” they think of “ possibly the most anticipated T-SQL feature of SQL Server 2008 .”&amp;#160; However, little may you know, that the Data Mining team added table valued parameters and table valued functions...(&lt;a href="http://blogs.msdn.com/jamiemac/archive/2009/09/24/the-amazing-flexibility-of-dmx-table-valued-parameters.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9899216" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamiemac/archive/tags/DMX/default.aspx">DMX</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/ADOMD.Net/default.aspx">ADOMD.Net</category></item><item><title>More Data Mining in the Cloud?</title><link>http://blogs.msdn.com/jamiemac/archive/2009/05/12/more-data-mining-in-the-cloud.aspx</link><pubDate>Tue, 12 May 2009 22:46:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9608026</guid><dc:creator>JamieMac</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9608026.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9608026</wfw:commentRss><description>Since we released the Tech Preview of the Cloud Data Mining Addins last year, I've heard about and talked with Michael Zeller of Zementis. Zementis has been very active in shaping the PMML (Predictive Modeling Markup Language) standard for representing...(&lt;a href="http://blogs.msdn.com/jamiemac/archive/2009/05/12/more-data-mining-in-the-cloud.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9608026" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Integration+Services/default.aspx">Integration Services</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Different/default.aspx">Different</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Cloud/default.aspx">Cloud</category></item><item><title>New Cloud Data Mining Addin Usability Feature (well kind of)</title><link>http://blogs.msdn.com/jamiemac/archive/2009/05/07/new-cloud-data-mining-addin-usability-feature-well-kind-of.aspx</link><pubDate>Fri, 08 May 2009 02:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9595243</guid><dc:creator>JamieMac</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9595243.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9595243</wfw:commentRss><description>Bogdan did an awesome job putting together the modified Data Mining Addin for the cloud. We saw quite a few downloads of his new addin, but surprisingly and unfortunately, didn't see a lot of usage! Strange? Maybe. Bogdan thought about the issue for a...(&lt;a href="http://blogs.msdn.com/jamiemac/archive/2009/05/07/new-cloud-data-mining-addin-usability-feature-well-kind-of.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9595243" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Addins/default.aspx">Addins</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Cloud/default.aspx">Cloud</category></item><item><title>In Germany this April?</title><link>http://blogs.msdn.com/jamiemac/archive/2009/02/05/in-germany-this-april.aspx</link><pubDate>Thu, 05 Feb 2009 21:26:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9399431</guid><dc:creator>JamieMac</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9399431.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9399431</wfw:commentRss><description>If so – check out the European PASS Conference , if not – maybe you should be! This conference will have a great BI focus including a pre-conference session on using SQL Server BI tools to monitor SQL Server BI tools and at least two data mining sessions,...(&lt;a href="http://blogs.msdn.com/jamiemac/archive/2009/02/05/in-germany-this-april.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9399431" width="1" height="1"&gt;</description></item><item><title>Querying the Dependency Net</title><link>http://blogs.msdn.com/jamiemac/archive/2008/12/12/querying-the-dependency-net.aspx</link><pubDate>Sat, 13 Dec 2008 00:42:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9203635</guid><dc:creator>JamieMac</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9203635.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9203635</wfw:commentRss><description>OK, ok, so just yesterday I posted that it was easy to determine what queries were being used by the browsers to get the data underlying the view.&amp;#160; Of course it’s easy to get them, but without a teensy weensy bit of documentation, it’s not necessarily...(&lt;a href="http://blogs.msdn.com/jamiemac/archive/2008/12/12/querying-the-dependency-net.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9203635" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamiemac/archive/tags/DMX/default.aspx">DMX</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/ADOMD.Net/default.aspx">ADOMD.Net</category></item><item><title>Data Mining in SQL Server 2008 Book Review</title><link>http://blogs.msdn.com/jamiemac/archive/2008/12/11/data-mining-in-sql-server-2008-book-review.aspx</link><pubDate>Thu, 11 Dec 2008 21:12:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9197680</guid><dc:creator>JamieMac</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9197680.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9197680</wfw:commentRss><description>I just read a great review of our book from Richard Lees in Australia.&amp;#160; Richard is one of the early adopters of Analysis Service and Data Mining, so he has a lot of experience in this area (we actually reference some of his samples in the book!).&amp;#160;...(&lt;a href="http://blogs.msdn.com/jamiemac/archive/2008/12/11/data-mining-in-sql-server-2008-book-review.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9197680" width="1" height="1"&gt;</description></item><item><title>Querying like the Data Mining viewers do</title><link>http://blogs.msdn.com/jamiemac/archive/2008/12/10/querying-like-the-data-mining-viewers-do.aspx</link><pubDate>Thu, 11 Dec 2008 02:11:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9193096</guid><dc:creator>JamieMac</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9193096.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9193096</wfw:commentRss><description>It happens all the time.&amp;#160; You see some cool user interface trick and think “how can I do that?”&amp;#160; Or, maybe more likely, you think “gee, that’s useful, where’s that documented?”&amp;#160; In any case, if you have ever wondered about how the DM viewers...(&lt;a href="http://blogs.msdn.com/jamiemac/archive/2008/12/10/querying-like-the-data-mining-viewers-do.aspx"&gt;read more&lt;/a&gt;)&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9193096" width="1" height="1"&gt;</description></item><item><title>Those kids won't eat anything!</title><link>http://blogs.msdn.com/jamiemac/archive/2008/11/20/those-kids-won-t-eat-anything.aspx</link><pubDate>Fri, 21 Nov 2008 00:15:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9130558</guid><dc:creator>JamieMac</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9130558.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9130558</wfw:commentRss><description>&lt;p&gt;I did my BI Power Hour demo at PASS 2008 yesterday and it featured my twin boys Bowen and Logan. &lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/IMG_0450sm_2.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="184" alt="IMG_0450sm" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/IMG_0450sm_thumb.jpg" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Logan (right) has an ASD (Autism Spectrum Disorder) that limits his diet (no milk products, gluten, or soy) and Bowen has some sensory issues, but that doesn't explain their &lt;em&gt;extreme &lt;/em&gt;pickiness with food.&amp;#160; For example, I made a rice-yogurt-blueberry smoothie for Logan and he just looked at it and said &amp;quot;yucky!&amp;quot;.&amp;#160; Ugh.&lt;/p&gt;  &lt;p&gt;So, I decided to make a worksheet listing foods they these kids will eat and won't eat.&amp;#160; I used attributes of Color, Type, and Processed, along with a column indicating whether or not they will actually eat the food.&amp;#160; Of course, I had to answer to myself disturbing questions such as &amp;quot;what color are hot dogs?&amp;quot;, but I got through it.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_2.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="176" alt="image" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_thumb.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Then I used the Prediction Calculator from the new Table Analysis Tools Excel addin for SQL Server 2008.&amp;#160; The Prediction Calculator creates a little widget in Excel that allows you to enter in input values and based on your costs.&amp;#160; Running the Prediction Calculator is as simple as selecting your table, clicking the Prediction Calculator button on the Table Analyze ribbon, and then choosing the column and value you want to predict.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_4.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="79" alt="image" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_thumb_1.png" width="67" border="0" /&gt;&lt;/a&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_6.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="214" alt="image" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_thumb_2.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;There's actually a &lt;em&gt;little&lt;/em&gt; more work to do after you run the tool, and that is specifying your &lt;em&gt;costs&lt;/em&gt; and &lt;em&gt;profits&lt;/em&gt;.&amp;#160; Your costs are the cost you incur for getting the answer wrong, and a profit is the profit you make when you get the answer right.&amp;#160; The grid below is in Prediction Calculator Report that is created after running the tool.&amp;#160; In this case, I figured that if I guessed that my kids would eat some food and was wrong, it would cost me the 5 bucks for the food which would be wasted, therefore I set the &lt;strong&gt;False Positive Cost&lt;/strong&gt; to 5.&amp;#160; Furthermore, I figured that if I guessed correctly that they &lt;em&gt;wouldn't&lt;/em&gt; eat a food, I saved the money and the 5 bucks would still be in my pocket, so I set the &lt;strong&gt;True Negative Profit&lt;/strong&gt; to 5 as well.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_8.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="89" alt="image" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_thumb_3.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Doing so, gave me a profit chart that looks like below - which is a problem.&amp;#160; Basically, what a &amp;quot;always rising&amp;quot; chart says is that you should always say &amp;quot;no&amp;quot; to achieve the highest profit - which makes sense since I can only lose money by saying &amp;quot;yes&amp;quot; and only gain money by saying &amp;quot;no&amp;quot;.&amp;#160; Essentially my laptop analysis tells me that my kids are simply too picky and I should just make them starve!&amp;#160; Hah!&amp;#160; My laptop apparently has never had kids!&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_10.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="110" alt="image" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_thumb_4.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Anyway, I decided that there's some nominal value for my kids eating, so I changed the parameters a bit.&amp;#160; I figured that my kids complaining that I didn't get a food that they wanted causes me the psychological cost of 1 dollar (or maybe the real cost of going back to the store of a dollar, however you want to see it), and I set the &lt;strong&gt;False Negative Cost&lt;/strong&gt; to 1.&amp;#160; Also I decided the value of my kids not getting a sugar imbalance and (literally) bouncing off the walls is a &amp;quot;peace of mind&amp;quot; profit of a dollar, so I set the &lt;strong&gt;True Positive Profit&lt;/strong&gt; to 1 as well.&amp;#160; This gives me a better behaved profit chart with a peak like below.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_12.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="79" alt="image" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_thumb_5.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_14.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="112" alt="image" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_thumb_6.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Once I've set my costs, I can go to the Prediction Calculator sheet that was created and select my inputs and see if my kids will actually eat the food.&amp;#160; In this case, &amp;quot;Yellow, unprocessed, grains and nuts&amp;quot; doesn't exceed the threshold of 642, so the answer is no.&amp;#160; Yay!&amp;#160; I saved 5 bucks because my kids won't eat corn :(.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_16.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="90" alt="image" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_thumb_7.png" width="244" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Of course, this isn't very useful for me in this format - it's not like I'm going to lug my laptop around the grocery store plugging in values for every product I see on the shelf.&amp;#160; So to get around this I use the new, experimental &lt;a href="http://www.sqlserverdatamining.com/cloud" target="_blank"&gt;&lt;strong&gt;Cloud Data Mining Service&lt;/strong&gt;&lt;/a&gt;&lt;strong&gt;.&amp;#160; &lt;/strong&gt;The web interface contains many of the Table Analysis Tools, including the Prediction Calculator, and you can access data from CSV files, SQL Data Services, or another way which is not entirely obvious and not documented by simply pasting your data from Excel to the web.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_18.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="244" alt="image" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_thumb_8.png" width="185" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Once you've pasted your data, I run the Prediction Calculator just like I did in Excel.&amp;#160; There's one small difference, however, in the result is that I have the HTML fragment for the calculator itself.&amp;#160; Therefore I can make my own web site with the calculator embedded inside.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_20.png"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="188" alt="image" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/image_thumb_9.png" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;Once I have my website (which in this case is at&amp;#160; &lt;/p&gt;  &lt;p&gt;&lt;a href="http://www.sqlserverdatamining.com/PASS2008BIPowerHourDemo.htm"&gt;http://www.sqlserverdatamining.com/PASS2008BIPowerHourDemo.htm&lt;/a&gt;) I can access the Prediction Calculator from any web-enabled device - &lt;strong&gt;like my phone&lt;/strong&gt;, which I &lt;em&gt;can &lt;/em&gt;carry around the grocery store and determine that my kids will eat .... brown.....processed.....meat.... oh yay....&lt;/p&gt;  &lt;p&gt;&lt;a href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/Untitled%203_2.jpg"&gt;&lt;img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="184" alt="Untitled 3" src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Thosekidswonteatanything_BA64/Untitled%203_thumb.jpg" width="244" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9130558" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Talks/default.aspx">Talks</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Different/default.aspx">Different</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Addins/default.aspx">Addins</category></item><item><title>Time's running out for your free data mining book!</title><link>http://blogs.msdn.com/jamiemac/archive/2008/11/20/time-s-running-out-for-your-free-data-mining-book.aspx</link><pubDate>Thu, 20 Nov 2008 22:52:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9130192</guid><dc:creator>JamieMac</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9130192.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9130192</wfw:commentRss><description>&lt;P&gt;&lt;STRONG&gt;The survey is now closed.&amp;nbsp; Thank you.&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tomorrow is the last day you can fill out &lt;A class="" target=_blank&gt;this survey&lt;/A&gt; for a chance to win one of ten copies of &lt;A href="http://www.amazon.com/gp/product/0470277742?ie=UTF8&amp;amp;tag=sqlserverda09-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0470277742" target=_blank mce_href="http://www.amazon.com/gp/product/0470277742?ie=UTF8&amp;amp;tag=sqlserverda09-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0470277742"&gt;Data Mining with SQL Server 2008&lt;/A&gt;.&amp;nbsp; I used the the Data Exploration tool in the SQL Server 2008 Data Mining Client for Excel, and saw that it takes most people less than 15 minutes to fill it out. &lt;/P&gt;
&lt;P&gt;&lt;A href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Timesrunningoutforyourfreedataminingbook_A68B/image_2.png" mce_href="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Timesrunningoutforyourfreedataminingbook_A68B/image_2.png"&gt;&lt;IMG style="BORDER-TOP-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-RIGHT-WIDTH: 0px" height=244 alt=image src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Timesrunningoutforyourfreedataminingbook_A68B/image_thumb.png" width=223 border=0 mce_src="http://blogs.msdn.com/blogfiles/jamiemac/WindowsLiveWriter/Timesrunningoutforyourfreedataminingbook_A68B/image_thumb.png"&gt;&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;(time to take survey in seconds)&lt;/P&gt;
&lt;P&gt;Regarding the book, just today I received my sample copies and I was surprised at how much bigger it is than the 2005 book!&amp;nbsp; It rounds out at 636 pages - I remember last version we were running up against publisher defined page limits and we cut back material to make it fit.&amp;nbsp; This time, we just wrote what needed to be written and the publisher agreed to let us, the authors, make the decisions on how long the book should be.&amp;nbsp; I'm really happy about how the text turned out this time - we still don't have a review on Amazon, so hopefully the public will agree!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9130192" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Books/default.aspx">Books</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Different/default.aspx">Different</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Addins/default.aspx">Addins</category></item><item><title>See me at PASS in Seattle next week</title><link>http://blogs.msdn.com/jamiemac/archive/2008/11/13/see-me-at-pass-in-seattle-next-week.aspx</link><pubDate>Thu, 13 Nov 2008 22:14:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9067080</guid><dc:creator>JamieMac</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9067080.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9067080</wfw:commentRss><description>&lt;p&gt;I'll be at the &lt;a href="http://summit2008.sqlpass.org/" target="_blank"&gt;PASS 2008 conference&lt;/a&gt; in Seattle most of next week.&amp;#160; Currently (subject to change) I'll be presenting at the BI Power Hour on Wednesday at 1:45 and will be in the Ask the Experts area on Wednesday after the Power Hour session and Thursday from 11 to 2.&lt;/p&gt;  &lt;p&gt;Stop by if you have any questions or just want to chit-chat.&amp;#160; I'll be happy to sign any book you bring by!&amp;#160; (Even if I'm not the author!)&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9067080" width="1" height="1"&gt;</description></item><item><title>Get a FREE AUTOGRAPHED copy of Data Mining with SQL Server 2008</title><link>http://blogs.msdn.com/jamiemac/archive/2008/11/07/get-a-free-autographed-copy-of-data-mining-with-sql-server-2008.aspx</link><pubDate>Sat, 08 Nov 2008 05:44:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9053560</guid><dc:creator>JamieMac</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9053560.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9053560</wfw:commentRss><description>&lt;P&gt;&amp;nbsp;&lt;STRONG&gt;The survey is now closed.&amp;nbsp; Thank you&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;I checked on Amazon today and &lt;A href="http://www.amazon.com/gp/product/0470277742?ie=UTF8&amp;amp;tag=sqlserverda09-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0470277742" target=_blank mce_href="http://www.amazon.com/gp/product/0470277742?ie=UTF8&amp;amp;tag=sqlserverda09-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0470277742"&gt;Data Mining with SQL Server 2008&lt;/A&gt; is finally &lt;STRONG&gt;in stock!&lt;/STRONG&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;However, if you are currently using SQL Server Data Mining, before you rush out and buy a copy, please take this opportunity to win a &lt;STRONG&gt;FREE COPY AUTOGRAPHED BY BOGDAN AND ME&lt;/STRONG&gt; by filling out a &lt;A class="" target=_blank&gt;middling short survey&lt;/A&gt; on how you use the product.&amp;nbsp; I will be using the survey responses to determine the variety of creative ways customers are implementing SQL Server Data Mining solutions, and, of course, as the information churns in our brains, it means that you could have an impact on what happens in the product down the road.&amp;nbsp; So not only do you have a chance to win a book, your input could change history!&lt;/P&gt;
&lt;P&gt;In any case, I'm not giving away just one, but &lt;STRONG&gt;TEN&lt;/STRONG&gt; copies of the book to random responders by November 21.&amp;nbsp; So, if you are a SQL Server Data Mining user, please &lt;STRONG&gt;fill out the survey&lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;and get your name in the drawing.&lt;/P&gt;
&lt;P&gt;Oh, and feel free to go ahead and &lt;A href="http://www.amazon.com/gp/product/0470277742?ie=UTF8&amp;amp;tag=sqlserverda09-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0470277742" target=_blank mce_href="http://www.amazon.com/gp/product/0470277742?ie=UTF8&amp;amp;tag=sqlserverda09-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0470277742"&gt;buy the book&lt;/A&gt;, if you win, you'll have an extra loaner copy!! :) &lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9053560" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Books/default.aspx">Books</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Different/default.aspx">Different</category></item><item><title>Time Series Reporting Stored Procedure - Part 4 of 3</title><link>http://blogs.msdn.com/jamiemac/archive/2008/10/14/time-series-reporting-stored-procedure-part-4-of-3.aspx</link><pubDate>Wed, 15 Oct 2008 04:26:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9000220</guid><dc:creator>JamieMac</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/9000220.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=9000220</wfw:commentRss><description>&lt;P&gt;OK, OK, I know it's just not right to do a part 4 of a &lt;A href="http://blogs.msdn.com/jamiemac/archive/2008/08/26/time-series-reporting-stored-procedure-part-1-of-3.aspx" target=_blank mce_href="http://blogs.msdn.com/jamiemac/archive/2008/08/26/time-series-reporting-stored-procedure-part-1-of-3.aspx"&gt;three part series&lt;/A&gt;, but I've gotten enough demand to expand these stored procedures just a little bit.&amp;nbsp; I casually left out a class of time series models that contain nested tables since it made things a bit more complicated to explain, but a bunch of people reminded me ever so kindly that the only way to create Time Series models on OLAP cubes (using BIDS at least) is to use nested tables!&lt;/P&gt;
&lt;P&gt;So here I am back again into my three part series on time series reporting.&amp;nbsp; To simplify the code I just made a new function which you would call like this&lt;/P&gt;&lt;PRE class=csharpcode&gt;&lt;SPAN class=kwrd&gt;CALL&lt;/SPAN&gt; TSSprocs.TimeSeriesReportNested(&lt;SPAN class=str&gt;'Store Forecasting'&lt;/SPAN&gt;,&lt;SPAN class=str&gt;'Store Cost'&lt;/SPAN&gt;,&lt;SPAN class=str&gt;'Store 1'&lt;/SPAN&gt;,10,5)&lt;/PRE&gt;
&lt;STYLE type=text/css&gt;
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/STYLE&gt;

&lt;P&gt;With the parameters being, in order, the model name, the column to forecast, the name of the series to forecast, the number of historical points (0 -&amp;gt; all), and the number of forecasted points.&amp;nbsp; In this version it is assumed that the dimension containing the names of the series are on the case level and Time and the measures are in the nested table.&amp;nbsp; The series name is required for this version (since in the OLAP scenario it always should be there).&lt;/P&gt;
&lt;P&gt;I'm not going to go through the function line-by-line, but I will show you the queries I put together in order to fetch the historical and predicted data.&amp;nbsp; To fetch a limited amount of historical data from a nested table required a bit of a different query.&amp;nbsp; In this case, I had to use the TopCount function to retrieve the last rows and then use the same ORDER BY trick I used in the non-nested scenario to reverse the row order.&amp;nbsp; Note also the syntax required to reference the nested column in the outer select - I had to put my nested alias along with the nested column name inside the brackets for it to be properly referenced.&lt;/P&gt;&lt;PRE class=csharpcode&gt;&lt;SPAN class=kwrd&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN class=kwrd&gt;FROM&lt;/SPAN&gt; 
   (&lt;SPAN class=kwrd&gt;SELECT&lt;/SPAN&gt; FLATTENED 
       (&lt;SPAN class=kwrd&gt;SELECT&lt;/SPAN&gt; [&lt;SPAN class=kwrd&gt;Year&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;Month&lt;/SPAN&gt;],[Store Cost]
            &lt;SPAN class=kwrd&gt;FROM&lt;/SPAN&gt;  TopCount([&lt;SPAN class=kwrd&gt;Time&lt;/SPAN&gt;],[&lt;SPAN class=kwrd&gt;Year&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;Month&lt;/SPAN&gt;],5)) 
        &lt;SPAN class=kwrd&gt;AS&lt;/SPAN&gt; ex 
    &lt;SPAN class=kwrd&gt;FROM&lt;/SPAN&gt; [Store Forecasting].CASES 
    &lt;SPAN class=kwrd&gt;WHERE&lt;/SPAN&gt; [Store]=&lt;SPAN class=str&gt;'Store 1'&lt;/SPAN&gt;) &lt;SPAN class=kwrd&gt;AS&lt;/SPAN&gt; t
&lt;SPAN class=kwrd&gt;ORDER&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;BY&lt;/SPAN&gt; [ex.&lt;SPAN class=kwrd&gt;Year&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;Month&lt;/SPAN&gt;]&lt;/PRE&gt;
&lt;STYLE type=text/css&gt;
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/STYLE&gt;

&lt;P&gt;The case where you aren't selecting a subset of the data is fairly trivial, as is the actual prediction query - you just need to be aware of the subselect from the nested tables.&lt;/P&gt;&lt;PRE class=csharpcode&gt;&lt;FONT color=#008000&gt;// &lt;SPAN class=kwrd&gt;Fetch&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;all&lt;/SPAN&gt; historical &lt;SPAN class=kwrd&gt;data&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;for&lt;/SPAN&gt; a series
// &lt;SPAN class=kwrd&gt;with&lt;/SPAN&gt; nested tables&lt;/FONT&gt;
&lt;SPAN class=kwrd&gt;SELECT&lt;/SPAN&gt; FLATTENED 
  (&lt;SPAN class=kwrd&gt;SELECT&lt;/SPAN&gt; [&lt;SPAN class=kwrd&gt;Year&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;Month&lt;/SPAN&gt;],[Store Cost] &lt;SPAN class=kwrd&gt;FROM&lt;/SPAN&gt;  [&lt;SPAN class=kwrd&gt;Time&lt;/SPAN&gt;]) 
&lt;SPAN class=kwrd&gt;FROM&lt;/SPAN&gt; [Store Forecasting].CASES &lt;SPAN class=kwrd&gt;WHERE&lt;/SPAN&gt; Store=&lt;SPAN class=str&gt;'Store 1'&lt;/SPAN&gt;

&lt;FONT color=#008000&gt;// Predict a series &lt;SPAN class=kwrd&gt;with&lt;/SPAN&gt; nested tables&lt;/FONT&gt;
&lt;SPAN class=kwrd&gt;SELECT&lt;/SPAN&gt; FLATTENED 
  (&lt;SPAN class=kwrd&gt;SELECT&lt;/SPAN&gt; PredictTimeSeries([Store Cost],5) &lt;SPAN class=kwrd&gt;FROM&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;Time&lt;/SPAN&gt;) 
&lt;SPAN class=kwrd&gt;FROM&lt;/SPAN&gt; [Store Forecasting] &lt;SPAN class=kwrd&gt;WHERE&lt;/SPAN&gt; [Store] = &lt;SPAN class=str&gt;'Store 1'&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;STYLE type=text/css&gt;
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/STYLE&gt;

&lt;P&gt;In any case, the code for all of the stored procedures is attached, so you can replace the existing TSSprocs.cs with this one and start creating OLAP Mining Model Time Series reports!&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9000220" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/jamiemac/attachment/9000220.ashx" length="21342" type="text/plain" /></item><item><title>Support Vector Machines for SQL Server Data Mining</title><link>http://blogs.msdn.com/jamiemac/archive/2008/10/14/support-vector-machines-for-sql-server-data-mining.aspx</link><pubDate>Tue, 14 Oct 2008 20:43:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8999848</guid><dc:creator>JamieMac</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/8999848.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=8999848</wfw:commentRss><description>&lt;p&gt;Many have requested that we implement Support Vector Machines (SVM's) for SQL Server 2008, and for a wide variety of reasons, we just couldn't get to it.&amp;#160; Luckily the community has come to the rescue for those needing an SVM implementation today!&amp;#160; Joris Valkonet of &lt;a href="http://www.avanade.nl" target="_blank"&gt;Avanade Netherlands&lt;/a&gt; along with colleague Thanh Luc have implemented an SVM plug-in algorithm and viewer.&amp;#160; Not only that, but Joris has released the plug-in along with all of the source code at &lt;a href="http://www.codeplex.com/svmplugin" target="_blank"&gt;CodePlex&lt;/a&gt; so you can customize the algorithm for your own purposes or at least get another example of how algorithms and viewers are implemented.&lt;/p&gt;  &lt;p&gt;Below is a screenshot from the viewer showing cancer classification split across two selectable axes with green and blue indicating correctly classified benign and malignant tumors respectively and red indicating misclassifications.&lt;/p&gt;  &lt;p&gt;The plug-in and code can be found at &lt;a title="http://www.codeplex.com/svmplugin" href="http://www.codeplex.com/svmplugin"&gt;http://www.codeplex.com/svmplugin&lt;/a&gt;&lt;/p&gt;  &lt;p&gt;&lt;img height="421" alt="Viewer_WDBC.jpg" src="http://i3.codeplex.com/Project/Download/FileDownload.aspx?ProjectName=svmplugin&amp;amp;DownloadId=45974" width="377" /&gt;&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8999848" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Code/default.aspx">Code</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Algorithms/default.aspx">Algorithms</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Plug-ins/default.aspx">Plug-ins</category></item><item><title>Getting Data Mining results into SQL Tables</title><link>http://blogs.msdn.com/jamiemac/archive/2008/10/07/getting-data-mining-results-into-sql-tables.aspx</link><pubDate>Wed, 08 Oct 2008 09:35:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8990858</guid><dc:creator>JamieMac</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/8990858.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=8990858</wfw:commentRss><description>&lt;P&gt;I've been seeing lots of questions about how to get data mining results into SQL tables.&amp;nbsp; Most times the answers are "use the prediction query builder save button" or "build an SSIS package."&amp;nbsp; Both of these have issues among them being that the former is really only suited to single-use, small jobs, and the latter has a lot of overhead (not to mention that if you want to use the Data Mining Query Transform you have to have Enterprise Edition).&lt;/P&gt;
&lt;P&gt;Luckily, there happens to be a much easier way - and it's one of those "Doh!" moments when you learn about it, because it's that easy.&lt;/P&gt;
&lt;P&gt;The way to do it is to simply use linked servers.&amp;nbsp; Anyone who uses DMX knows to connect to SQL data with OPENQUERY.&amp;nbsp; There's no reason you can't simply connect to Data Mining data using the same mechanism.&lt;/P&gt;
&lt;P&gt;For example, use a query like this to establish a link to an AS server:&lt;/P&gt;&lt;PRE class=csharpcode&gt;&lt;SPAN class=kwrd&gt;EXEC&lt;/SPAN&gt; sp_addlinkedserver 
@server=&lt;SPAN class=str&gt;'LINKED_AS'&lt;/SPAN&gt;, &lt;SPAN class=rem&gt;-- local SQL name given to the linked server&lt;/SPAN&gt;
@srvproduct=&lt;SPAN class=str&gt;''&lt;/SPAN&gt;, &lt;SPAN class=rem&gt;-- not used &lt;/SPAN&gt;
@provider=&lt;SPAN class=str&gt;'MSOLAP'&lt;/SPAN&gt;, &lt;SPAN class=rem&gt;-- OLE DB provider &lt;/SPAN&gt;
@datasrc=&lt;SPAN class=str&gt;'localhost'&lt;/SPAN&gt;, &lt;SPAN class=rem&gt;-- analysis server name (machine name) &lt;/SPAN&gt;
@&lt;SPAN class=kwrd&gt;catalog&lt;/SPAN&gt;=&lt;SPAN class=str&gt;'MovieClick'&lt;/SPAN&gt; -- &lt;SPAN class=kwrd&gt;default&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;catalog&lt;/SPAN&gt;/&lt;SPAN class=kwrd&gt;database&lt;/SPAN&gt; &lt;/PRE&gt;
&lt;P&gt;
&lt;STYLE type=text/css&gt;
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/STYLE&gt;
Then you can select data using OPENQUERY like this:&lt;/P&gt;&lt;PRE class=csharpcode&gt;&lt;SPAN class=kwrd&gt;SELECT&lt;/SPAN&gt; * &lt;SPAN class=kwrd&gt;FROM&lt;/SPAN&gt; 
&lt;SPAN class=kwrd&gt;OPENQUERY&lt;/SPAN&gt;(LINKED_AS, 
  &lt;SPAN class=str&gt;'SELECT Cluster() AS [Cluster], ClusterProbability() AS [Prob] 
   FROM [Customers - Clustering]
   NATURAL PREDICTION JOIN
   OPENQUERY([Movie Click],'&lt;/SPAN&gt;&lt;SPAN class=str&gt;'SELECT * FROM Customers'&lt;/SPAN&gt;&lt;SPAN class=str&gt;') AS t'&lt;/SPAN&gt;)&lt;/PRE&gt;
&lt;STYLE type=text/css&gt;
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/STYLE&gt;

&lt;P&gt;Then, of course, you can do all kinds of manipulations on it, like finding the average cluster probability of each cluster, right?&amp;nbsp; Well, almost, the data type returned by the Cluster function is actual text or ntext or something that GROUP BY chokes on, so you have to do some casting first.&amp;nbsp; Therefore if you want to do that trick, use a query like this:&lt;/P&gt;&lt;PRE class=csharpcode&gt;&lt;SPAN class=kwrd&gt;SELECT&lt;/SPAN&gt; Cluster, &lt;SPAN class=kwrd&gt;AVG&lt;/SPAN&gt;(Prob) &lt;SPAN class=kwrd&gt;FROM&lt;/SPAN&gt;
(&lt;SPAN class=kwrd&gt;SELECT&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;CAST&lt;/SPAN&gt;(Cluster &lt;SPAN class=kwrd&gt;AS&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;Char&lt;/SPAN&gt;(30)) &lt;SPAN class=kwrd&gt;AS&lt;/SPAN&gt; Cluster, Prob &lt;SPAN class=kwrd&gt;FROM&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;OPENQUERY&lt;/SPAN&gt;(LINKED_AS, 
  &lt;SPAN class=str&gt;'SELECT Cluster() AS [Cluster], 
      ClusterProbability() AS [Prob] FROM [Customers - Clustering]
   NATURAL PREDICTION JOIN
   OPENQUERY([Movie Click],'&lt;/SPAN&gt;&lt;SPAN class=str&gt;'SELECT * FROM Customers'&lt;/SPAN&gt;&lt;SPAN class=str&gt;') AS t'&lt;/SPAN&gt;)
   ) &lt;SPAN class=kwrd&gt;AS&lt;/SPAN&gt; t
&lt;SPAN class=kwrd&gt;GROUP&lt;/SPAN&gt; &lt;SPAN class=kwrd&gt;BY&lt;/SPAN&gt; Cluster&lt;/PRE&gt;
&lt;STYLE type=text/css&gt;
.csharpcode, .csharpcode pre
{
	font-size: small;
	color: black;
	font-family: consolas, "Courier New", courier, monospace;
	background-color: #ffffff;
	/*white-space: pre;*/
}
.csharpcode pre { margin: 0em; }
.csharpcode .rem { color: #008000; }
.csharpcode .kwrd { color: #0000ff; }
.csharpcode .str { color: #006080; }
.csharpcode .op { color: #0000c0; }
.csharpcode .preproc { color: #cc6633; }
.csharpcode .asp { background-color: #ffff00; }
.csharpcode .html { color: #800000; }
.csharpcode .attr { color: #ff0000; }
.csharpcode .alt 
{
	background-color: #f4f4f4;
	width: 100%;
	margin: 0em;
}
.csharpcode .lnum { color: #606060; }&lt;/STYLE&gt;

&lt;P&gt;That will give you a nice result showing you, in a way, the affinity of each cluster based on the input set.&amp;nbsp; That is, if you ran such a query against the training data, you could say that the clusters with a higher probability are "tighter" than the ones with low probabilities.&amp;nbsp; Anyway, that's besides the point of this post.&lt;/P&gt;
&lt;P&gt;In any case, remember to double your single quotes and flatten any nested results and this technique should work just great for getting DMX into SQL.&lt;/P&gt;
&lt;P&gt;-J&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8990858" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamiemac/archive/tags/DMX/default.aspx">DMX</category><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Clustering/default.aspx">Clustering</category></item><item><title>Data Mining with SQL Server 2008</title><link>http://blogs.msdn.com/jamiemac/archive/2008/10/02/data-mining-with-sql-server-2008.aspx</link><pubDate>Thu, 02 Oct 2008 20:05:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8973954</guid><dc:creator>JamieMac</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/jamiemac/comments/8973954.aspx</comments><wfw:commentRss>http://blogs.msdn.com/jamiemac/commentrss.aspx?PostID=8973954</wfw:commentRss><description>&lt;P&gt;Last week Bogdan and I went through the final steps in completing the SQL (sic) to the wildly popular "Data Mining with SQL Server 2005", cleverly titled "Data Mining with SQL Server 2008".&amp;nbsp; We went through the final PDF's and signed off that the companion web content is good to go.&amp;nbsp; I am definitely pleased with how this book turned out.&amp;nbsp; I listened to the feedback on the first book and pressed the authors and the editors to ensure that this book has much higher "initial code quality" as you might call it.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Writing a book isn't really all that much different than writing software, particularly when the book is about software, I suppose.&amp;nbsp; The authors are the developers and the editors are the testers, and I have to say that the editors took us to task ensuring that every phrase turned correctly and no word was used wastefully.&amp;nbsp; It was great help that, unlike the first edition, we were able to have the same editors throughout, and even though at times it seemed they were being a bit picky :), they were able to catch similar phrases used differently across multiple chapters and made a huge impact on the final text.&amp;nbsp; Also, Shuvro, from the DM team here, manually verified each and every query and line of code that is included on the companion site.&amp;nbsp; (I suppose that it helps that the book was written &lt;EM&gt;after&lt;/EM&gt; the product was completed, so that API's and language constructs didn't change in flight)&lt;/P&gt;
&lt;P&gt;So, readers of the first book will probably want to know what's new and different about this one.&amp;nbsp; Overall, the book has generally the same structure as the first - so it's evolutionary rather than revolutionary.&amp;nbsp; That being said, I would guess that at over half the content is new or heavily modified.&amp;nbsp; For example, I rewrote most of the introduction, there are two new chapters covering the Data Mining Addins for Office, and the "OLE DB for Data Mining" chapter was completely reimagined and rewritten as "Data Mining Concepts and DMX."&amp;nbsp; Each of the algorithm chapters was updated with respect to new features and comments from forums and newsgroups.&amp;nbsp; Even where there were no significant changes to the algorithm between 2005 and 2008, the chapters were reorganized to focus on the practical application first and leave the technical implementation details to the latter portion of the chapter.&amp;nbsp; Also, Bogdan, borrowing from his 50-page epic whitepaper &lt;A href="http://msdn.microsoft.com/en-us/library/ms345148.aspx" target=_blank mce_href="http://msdn.microsoft.com/en-us/library/ms345148.aspx"&gt;SQL Server Data Mining Programmability&lt;/A&gt;, took over and greatly enhanced the Architecture and API chapters.&lt;/P&gt;
&lt;P&gt;According to &lt;A href="http://www.amazon.com/gp/product/0470277742?ie=UTF8&amp;amp;tag=sqlserverda09-20&amp;amp;link_code=as3&amp;amp;camp=211189&amp;amp;creative=373489&amp;amp;creativeASIN=0470277742" target=_blank mce_href="http://www.amazon.com/gp/product/0470277742?ie=UTF8&amp;amp;tag=sqlserverda09-20&amp;amp;link_code=as3&amp;amp;camp=211189&amp;amp;creative=373489&amp;amp;creativeASIN=0470277742"&gt;Amazon&lt;/A&gt;, the book will be released on November 10th and you can pre-order now.&amp;nbsp; Since the "read inside" feature isn't available yet (likely since the book is being printed as I write this), I've taken the liberty and pasted the table of contents to make this probably the longest blog post I've ever had the pleasure of pasting.&amp;nbsp; Anyway, I hope this gives you a good idea of what's coming in the book so you can &lt;A href="http://www.amazon.com/gp/product/0470277742?ie=UTF8&amp;amp;tag=sqlserverda09-20&amp;amp;link_code=as3&amp;amp;camp=211189&amp;amp;creative=373489&amp;amp;creativeASIN=0470277742" target=_blank mce_href="http://www.amazon.com/gp/product/0470277742?ie=UTF8&amp;amp;tag=sqlserverda09-20&amp;amp;link_code=as3&amp;amp;camp=211189&amp;amp;creative=373489&amp;amp;creativeASIN=0470277742"&gt;preorder&lt;/A&gt; with confidence! :)&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Foreword xxix&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Introduction xxxi&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 1 Introduction to Data Mining in SQL Server 2008 1&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Business Problems for Data Mining 4&lt;/P&gt;
&lt;P&gt;Data Mining Tasks 6&lt;/P&gt;
&lt;P&gt;Classification 6&lt;/P&gt;
&lt;P&gt;Clustering 6&lt;/P&gt;
&lt;P&gt;Association 7&lt;/P&gt;
&lt;P&gt;Regression 8&lt;/P&gt;
&lt;P&gt;Forecasting 8&lt;/P&gt;
&lt;P&gt;Sequence Analysis 9&lt;/P&gt;
&lt;P&gt;Deviation Analysis 9&lt;/P&gt;
&lt;P&gt;Data Mining Project Cycle 9&lt;/P&gt;
&lt;P&gt;Business Problem Formation 10&lt;/P&gt;
&lt;P&gt;Data Collection 10&lt;/P&gt;
&lt;P&gt;Data Cleaning and Transformation 10&lt;/P&gt;
&lt;P&gt;Model Building 12&lt;/P&gt;
&lt;P&gt;Model Assessment 12&lt;/P&gt;
&lt;P&gt;Reporting and Prediction 12&lt;/P&gt;
&lt;P&gt;Application Integration 13&lt;/P&gt;
&lt;P&gt;Model Management 13&lt;/P&gt;
&lt;P&gt;Summary 13&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 2 Applied Data Mining Using Microsoft Excel 2007 15&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Setting Up the Table Analysis Tools 16&lt;/P&gt;
&lt;P&gt;Configuring Analysis Services with Administrative Privileges 17&lt;/P&gt;
&lt;P&gt;Configuring Analysis Services without Administrative&lt;/P&gt;
&lt;P&gt;Privileges 18&lt;/P&gt;
&lt;P&gt;What the Add-Ins Expect 19&lt;/P&gt;
&lt;P&gt;What to Do If You Need Help 22&lt;/P&gt;
&lt;P&gt;The Analyze Key Influencers Tool 22&lt;/P&gt;
&lt;P&gt;The Main Influencers Report 24&lt;/P&gt;
&lt;P&gt;The Discrimination Report 26&lt;/P&gt;
&lt;P&gt;Summary of the Analyze Key Influencers Task 28&lt;/P&gt;
&lt;P&gt;The Detect Categories Tool 28&lt;/P&gt;
&lt;P&gt;Launching the Tool 29&lt;/P&gt;
&lt;P&gt;The Categories Report 30&lt;/P&gt;
&lt;P&gt;Categories and the Number of Rows in Each 30&lt;/P&gt;
&lt;P&gt;Characteristics of Each Category 31&lt;/P&gt;
&lt;P&gt;The Category Profiles Chart 32&lt;/P&gt;
&lt;P&gt;Summary of the Detect Categories Tool 34&lt;/P&gt;
&lt;P&gt;The Fill From Example Tool 35&lt;/P&gt;
&lt;P&gt;Running the Tool and Interpreting the Results 36&lt;/P&gt;
&lt;P&gt;Refining the Results 38&lt;/P&gt;
&lt;P&gt;Summary of the Fill From Example Tool 39&lt;/P&gt;
&lt;P&gt;The Forecasting Tool 39&lt;/P&gt;
&lt;P&gt;Launching the Tool and Specifying Options 40&lt;/P&gt;
&lt;P&gt;Interpreting the Results 42&lt;/P&gt;
&lt;P&gt;Summary of the Forecast Tool 44&lt;/P&gt;
&lt;P&gt;The Highlight Exceptions Tool 44&lt;/P&gt;
&lt;P&gt;Using the Tool 45&lt;/P&gt;
&lt;P&gt;More Complex Interactions 48&lt;/P&gt;
&lt;P&gt;Limitations and Troubleshooting 50&lt;/P&gt;
&lt;P&gt;Summary of the Highlight Exceptions Tool 51&lt;/P&gt;
&lt;P&gt;The Scenario Analysis Tool 51&lt;/P&gt;
&lt;P&gt;The Goal Seek Tool 53&lt;/P&gt;
&lt;P&gt;Using Goal Seek for a Numeric Goal 56&lt;/P&gt;
&lt;P&gt;Using Goal Seek for the Whole Table 57&lt;/P&gt;
&lt;P&gt;TheWhat-If Tool 58&lt;/P&gt;
&lt;P&gt;UsingWhat-If for the Whole Table 61&lt;/P&gt;
&lt;P&gt;Summary of the Scenario Analysis Tool 62&lt;/P&gt;
&lt;P&gt;The Prediction Calculator Tool 62&lt;/P&gt;
&lt;P&gt;Running the Tool 64&lt;/P&gt;
&lt;P&gt;The Prediction Calculator Spreadsheet 65&lt;/P&gt;
&lt;P&gt;The Printable Calculator Spreadsheet 67&lt;/P&gt;
&lt;P&gt;Refining the Results 68&lt;/P&gt;
&lt;P&gt;Using the Results 73&lt;/P&gt;
&lt;P&gt;Summary of the Prediction Calculator Tool 73&lt;/P&gt;
&lt;P&gt;The Shopping Basket Analysis Tool 74&lt;/P&gt;
&lt;P&gt;Using the Tool 75&lt;/P&gt;
&lt;P&gt;The Bundled Item Report 76&lt;/P&gt;
&lt;P&gt;The Recommendations Report 77&lt;/P&gt;
&lt;P&gt;Tweaking the Tool 79&lt;/P&gt;
&lt;P&gt;Summary of the Shopping Basket Analysis Tool 81&lt;/P&gt;
&lt;P&gt;Technical Overview of the Table Analysis Tools 81&lt;/P&gt;
&lt;P&gt;Summary 82&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 3 Data Mining Concepts and DMX 83&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;History of DMX 83&lt;/P&gt;
&lt;P&gt;Why DMX? 84&lt;/P&gt;
&lt;P&gt;The Data Mining Process 85&lt;/P&gt;
&lt;P&gt;Key Concepts 86&lt;/P&gt;
&lt;P&gt;Attribute 86&lt;/P&gt;
&lt;P&gt;State 87&lt;/P&gt;
&lt;P&gt;Case 88&lt;/P&gt;
&lt;P&gt;Keys 89&lt;/P&gt;
&lt;P&gt;Inputs and Outputs 91&lt;/P&gt;
&lt;P&gt;DMX Objects 93&lt;/P&gt;
&lt;P&gt;Mining Structure 93&lt;/P&gt;
&lt;P&gt;Mining Model 94&lt;/P&gt;
&lt;P&gt;DMX Query Syntax 95&lt;/P&gt;
&lt;P&gt;Creating Mining Structures 96&lt;/P&gt;
&lt;P&gt;Discretized Columns 97&lt;/P&gt;
&lt;P&gt;Nested Tables 98&lt;/P&gt;
&lt;P&gt;Partitioning into Testing and Training Sets 99&lt;/P&gt;
&lt;P&gt;Creating Mining Models 100&lt;/P&gt;
&lt;P&gt;Nested Tables 101&lt;/P&gt;
&lt;P&gt;Complex Nesting Scenarios 104&lt;/P&gt;
&lt;P&gt;Filters 107&lt;/P&gt;
&lt;P&gt;Populating Mining Structures 108&lt;/P&gt;
&lt;P&gt;Populating Nested Tables 110&lt;/P&gt;
&lt;P&gt;Querying Structure Data 112&lt;/P&gt;
&lt;P&gt;Querying Model Data 112&lt;/P&gt;
&lt;P&gt;Prediction 115&lt;/P&gt;
&lt;P&gt;Prediction Join 116&lt;/P&gt;
&lt;P&gt;Prediction Query Syntax 116&lt;/P&gt;
&lt;P&gt;Nested Source Data 117&lt;/P&gt;
&lt;P&gt;Real-Time Prediction 118&lt;/P&gt;
&lt;P&gt;Degenerate Predictions 119&lt;/P&gt;
&lt;P&gt;Prediction Functions 120&lt;/P&gt;
&lt;P&gt;PredictNodeID 122&lt;/P&gt;
&lt;P&gt;External and User-Defined Functions 123&lt;/P&gt;
&lt;P&gt;Predictions on Nested Tables 123&lt;/P&gt;
&lt;P&gt;Predicting Nested Value Columns 124&lt;/P&gt;
&lt;P&gt;Summary 125&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 4 Using SQL Server Data Mining 127&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Introducing the Business Intelligence Development Studio 128&lt;/P&gt;
&lt;P&gt;Understanding the User Interface 128&lt;/P&gt;
&lt;P&gt;Offline Mode and Immediate Mode 130&lt;/P&gt;
&lt;P&gt;Immediate Mode 131&lt;/P&gt;
&lt;P&gt;Getting Started in Immediate Mode 131&lt;/P&gt;
&lt;P&gt;Offline Mode 132&lt;/P&gt;
&lt;P&gt;Getting Started in Offline Mode 133&lt;/P&gt;
&lt;P&gt;Switching Project Modes 135&lt;/P&gt;
&lt;P&gt;Creating Data Mining Objects 135&lt;/P&gt;
&lt;P&gt;Setting Up Your Data Sources 135&lt;/P&gt;
&lt;P&gt;Understanding Data Sources 136&lt;/P&gt;
&lt;P&gt;Creating the MovieClick Data Source 137&lt;/P&gt;
&lt;P&gt;Using the Data Source View 137&lt;/P&gt;
&lt;P&gt;Creating the MovieClick Data Source View 138&lt;/P&gt;
&lt;P&gt;Working with Named Calculations 140&lt;/P&gt;
&lt;P&gt;Creating a Named Calculation on the Customers Table 142&lt;/P&gt;
&lt;P&gt;Working with Named Queries 142&lt;/P&gt;
&lt;P&gt;Creating a Named Query Based on the Customers Table 143&lt;/P&gt;
&lt;P&gt;Organizing the DSV 144&lt;/P&gt;
&lt;P&gt;Exploring Data 145&lt;/P&gt;
&lt;P&gt;Creating and Editing Models 148&lt;/P&gt;
&lt;P&gt;Structures and Models 148&lt;/P&gt;
&lt;P&gt;Using the Data Mining Wizard 148&lt;/P&gt;
&lt;P&gt;Creating the MovieClick Mining Structure and Model 155&lt;/P&gt;
&lt;P&gt;Using Data Mining Designer 157&lt;/P&gt;
&lt;P&gt;Working with the Mining Structure Editor 157&lt;/P&gt;
&lt;P&gt;Adding the Genre Column to the Movies Nested Table 159&lt;/P&gt;
&lt;P&gt;Working with the Mining Models Editor 160&lt;/P&gt;
&lt;P&gt;Creating and Modifying Additional Models 163&lt;/P&gt;
&lt;P&gt;Processing 164&lt;/P&gt;
&lt;P&gt;Processing the MovieClick Mining Structure 165&lt;/P&gt;
&lt;P&gt;Using Your Models 166&lt;/P&gt;
&lt;P&gt;Understanding the Model Viewers 166&lt;/P&gt;
&lt;P&gt;Using the Mining Accuracy Chart 167&lt;/P&gt;
&lt;P&gt;Selecting Test Data 168&lt;/P&gt;
&lt;P&gt;Understanding the Accuracy Charts 169&lt;/P&gt;
&lt;P&gt;Using the Profit Chart 172&lt;/P&gt;
&lt;P&gt;Multiple Target Accuracy Charts 172&lt;/P&gt;
&lt;P&gt;Using the Classification Matrix 173&lt;/P&gt;
&lt;P&gt;Scatter Accuracy Charts 173&lt;/P&gt;
&lt;P&gt;Creating a Lift Chart on MovieClick 174&lt;/P&gt;
&lt;P&gt;Using CrossValidation 174&lt;/P&gt;
&lt;P&gt;Using the Mining Model Prediction Builder 178&lt;/P&gt;
&lt;P&gt;Executing a Query on the MovieClick Model 179&lt;/P&gt;
&lt;P&gt;Creating Data Mining Reports 180&lt;/P&gt;
&lt;P&gt;Using SQL Server Management Studio 181&lt;/P&gt;
&lt;P&gt;Understanding the Management Studio User Interface 182&lt;/P&gt;
&lt;P&gt;Using Server Explorer 182&lt;/P&gt;
&lt;P&gt;Using Object Explorer 183&lt;/P&gt;
&lt;P&gt;Using the Query Editor 184&lt;/P&gt;
&lt;P&gt;Summary 185&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 5 Implementing a Data Mining Process Using Office 2007 187&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Importing Data using the Data Mining Client 189&lt;/P&gt;
&lt;P&gt;Data Exploration and Preparation 190&lt;/P&gt;
&lt;P&gt;Discretizing Data with the Explore Data Tool 191&lt;/P&gt;
&lt;P&gt;Chopping Off the Long Tail 191&lt;/P&gt;
&lt;P&gt;Consolidating Meaning 192&lt;/P&gt;
&lt;P&gt;Eliminating Spurious Values 194&lt;/P&gt;
&lt;P&gt;Rebalancing Data 195&lt;/P&gt;
&lt;P&gt;Modeling 196&lt;/P&gt;
&lt;P&gt;Task-Based Modeling 196&lt;/P&gt;
&lt;P&gt;Introduction 198&lt;/P&gt;
&lt;P&gt;Select Data 198&lt;/P&gt;
&lt;P&gt;Select Columns and Options 198&lt;/P&gt;
&lt;P&gt;Split Data 200&lt;/P&gt;
&lt;P&gt;Finishing the Task 200&lt;/P&gt;
&lt;P&gt;Advanced Modeling in the Data Mining Client 200&lt;/P&gt;
&lt;P&gt;Accuracy and Validation 203&lt;/P&gt;
&lt;P&gt;Model Usage 204&lt;/P&gt;
&lt;P&gt;Browsing Models 204&lt;/P&gt;
&lt;P&gt;Viewing Models with Visio 205&lt;/P&gt;
&lt;P&gt;Querying Models 208&lt;/P&gt;
&lt;P&gt;QueryWizard 208&lt;/P&gt;
&lt;P&gt;Data Mining Cell Functions 211&lt;/P&gt;
&lt;P&gt;DMPREDICT 211&lt;/P&gt;
&lt;P&gt;DMPREDICTTABLEROW 212&lt;/P&gt;
&lt;P&gt;DMCONTENTQUERY 212&lt;/P&gt;
&lt;P&gt;Model Management 213&lt;/P&gt;
&lt;P&gt;Trace 213&lt;/P&gt;
&lt;P&gt;Summary 213&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 6 Microsoft Naıve Bayes 215&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Introducing the Naıve Bayes Algorithm 216&lt;/P&gt;
&lt;P&gt;Using the Naıve Bayes Algorithm 216&lt;/P&gt;
&lt;P&gt;Creating a Predictive Model 217&lt;/P&gt;
&lt;P&gt;Data Exploration 219&lt;/P&gt;
&lt;P&gt;Analysis of Key Influencers 219&lt;/P&gt;
&lt;P&gt;Document Classification 220&lt;/P&gt;
&lt;P&gt;DMX 222&lt;/P&gt;
&lt;P&gt;Drill-Through 222&lt;/P&gt;
&lt;P&gt;Understanding Naıve Bayes Content 223&lt;/P&gt;
&lt;P&gt;Exploring a Naıve Bayes Model 225&lt;/P&gt;
&lt;P&gt;Dependency Network 225&lt;/P&gt;
&lt;P&gt;Attribute Profiles 226&lt;/P&gt;
&lt;P&gt;Attribute Characteristics 227&lt;/P&gt;
&lt;P&gt;Attribute Discrimination 228&lt;/P&gt;
&lt;P&gt;Understanding Naıve Bayes Principles 229&lt;/P&gt;
&lt;P&gt;Limitations of the Naıve Bayes Algorithm 231&lt;/P&gt;
&lt;P&gt;Naıve Bayes Parameters 233&lt;/P&gt;
&lt;P&gt;MAXIMUM INPUT ATTRIBUTES 233&lt;/P&gt;
&lt;P&gt;MAXIMUM OUTPUT ATTRIBUTES 233&lt;/P&gt;
&lt;P&gt;MAXIMUM STATES 233&lt;/P&gt;
&lt;P&gt;MINIMUM DEPENDENCY PROBABILITY 234&lt;/P&gt;
&lt;P&gt;Summary 234&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 7 Microsoft Decision Trees Algorithm 235&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Introducing Decision Trees 236&lt;/P&gt;
&lt;P&gt;Using Decision Trees 237&lt;/P&gt;
&lt;P&gt;Creating a Decision Tree Model 237&lt;/P&gt;
&lt;P&gt;DMX Queries 237&lt;/P&gt;
&lt;P&gt;Classification Model 237&lt;/P&gt;
&lt;P&gt;Regression Model 239&lt;/P&gt;
&lt;P&gt;Association 241&lt;/P&gt;
&lt;P&gt;Model Content 244&lt;/P&gt;
&lt;P&gt;Interpreting the Model 244&lt;/P&gt;
&lt;P&gt;Decision Tree Principles 248&lt;/P&gt;
&lt;P&gt;Basic Concepts of Tree Growth 248&lt;/P&gt;
&lt;P&gt;Working with Many States in an Attribute 251&lt;/P&gt;
&lt;P&gt;Avoiding Overtraining 252&lt;/P&gt;
&lt;P&gt;Incorporating Prior Knowledge 252&lt;/P&gt;
&lt;P&gt;Feature Selection 253&lt;/P&gt;
&lt;P&gt;Using Continuous Inputs 253&lt;/P&gt;
&lt;P&gt;Regression 254&lt;/P&gt;
&lt;P&gt;Association Analysis with Microsoft Decision Trees 255&lt;/P&gt;
&lt;P&gt;Parameters 256&lt;/P&gt;
&lt;P&gt;COMPLEXITY PENALTY 257&lt;/P&gt;
&lt;P&gt;MINIMUM SUPPORT 257&lt;/P&gt;
&lt;P&gt;SCORE METHOD 257&lt;/P&gt;
&lt;P&gt;SPLIT METHOD 258&lt;/P&gt;
&lt;P&gt;MAXIMUM INPUT ATTRIBUTES 258&lt;/P&gt;
&lt;P&gt;MAXIMUM OUTPUT ATTRIBUTES 258&lt;/P&gt;
&lt;P&gt;FORCE REGRESSOR 258&lt;/P&gt;
&lt;P&gt;Stored Procedures 259&lt;/P&gt;
&lt;P&gt;Summary 260&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 8 Microsoft Time Series Algorithm 263&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Overview 264&lt;/P&gt;
&lt;P&gt;Usage 265&lt;/P&gt;
&lt;P&gt;Time Series Scenarios 267&lt;/P&gt;
&lt;P&gt;Performing a Simple Forecast 267&lt;/P&gt;
&lt;P&gt;Predicting Interdependent Series 268&lt;/P&gt;
&lt;P&gt;Understanding Your Time Series 268&lt;/P&gt;
&lt;P&gt;What-If Scenarios 269&lt;/P&gt;
&lt;P&gt;Predicting New Series 269&lt;/P&gt;
&lt;P&gt;DMX 270&lt;/P&gt;
&lt;P&gt;Model Creation 270&lt;/P&gt;
&lt;P&gt;Model Processing 272&lt;/P&gt;
&lt;P&gt;Forecasting 274&lt;/P&gt;
&lt;P&gt;Returning Supplemental Statistics 275&lt;/P&gt;
&lt;P&gt;Changing the Future —Executing a What-If Forecast 276&lt;/P&gt;
&lt;P&gt;Forecasting with Little Data —Applying Models to New&lt;/P&gt;
&lt;P&gt;Data 277&lt;/P&gt;
&lt;P&gt;Drill-Through 280&lt;/P&gt;
&lt;P&gt;Principles of Time Series 280&lt;/P&gt;
&lt;P&gt;Autoregression 281&lt;/P&gt;
&lt;P&gt;Periodicity 281&lt;/P&gt;
&lt;P&gt;Autoregression Trees 282&lt;/P&gt;
&lt;P&gt;Prediction 284&lt;/P&gt;
&lt;P&gt;Parameters 285&lt;/P&gt;
&lt;P&gt;MISSING VALUE SUBSTITUTION 285&lt;/P&gt;
&lt;P&gt;PERIODICITY HINT 286&lt;/P&gt;
&lt;P&gt;AUTO DETECT PERIODICITY 286&lt;/P&gt;
&lt;P&gt;MINIMUM and MAXIMUM SERIES VALUE 286&lt;/P&gt;
&lt;P&gt;FORECAST METHOD 286&lt;/P&gt;
&lt;P&gt;PREDICTION SMOOTHING 287&lt;/P&gt;
&lt;P&gt;INSTABILITY SENSITIVITY 287&lt;/P&gt;
&lt;P&gt;HISTORIC MODEL COUNT and HISTORIC MODEL GAP 287&lt;/P&gt;
&lt;P&gt;COMPLEXITY PENALTY and MINIMUM SUPPORT 288&lt;/P&gt;
&lt;P&gt;Model Content 289&lt;/P&gt;
&lt;P&gt;Summary 289&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 9 Microsoft Clustering 291&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Overview 292&lt;/P&gt;
&lt;P&gt;Usage of Clustering 294&lt;/P&gt;
&lt;P&gt;Performing a Clustering 295&lt;/P&gt;
&lt;P&gt;Clustering as an Analytical Step 297&lt;/P&gt;
&lt;P&gt;Anomaly Detection Using Clustering 297&lt;/P&gt;
&lt;P&gt;DMX 299&lt;/P&gt;
&lt;P&gt;Model Creation 300&lt;/P&gt;
&lt;P&gt;Drill-Through 301&lt;/P&gt;
&lt;P&gt;Cluster 301&lt;/P&gt;
&lt;P&gt;ClusterProbability 301&lt;/P&gt;
&lt;P&gt;PredictHistogram 302&lt;/P&gt;
&lt;P&gt;PredictCaseLikelihood 302&lt;/P&gt;
&lt;P&gt;Model Content 303&lt;/P&gt;
&lt;P&gt;Understanding Your Cluster Models 304&lt;/P&gt;
&lt;P&gt;Get a High-Level Overview 305&lt;/P&gt;
&lt;P&gt;Pick a Cluster and Determine How It Is Different from the&lt;/P&gt;
&lt;P&gt;General Population 307&lt;/P&gt;
&lt;P&gt;Determine How the Cluster Is Different from Nearby&lt;/P&gt;
&lt;P&gt;Clusters 308&lt;/P&gt;
&lt;P&gt;Verify that Your Assertions Are True 309&lt;/P&gt;
&lt;P&gt;Label the Cluster 309&lt;/P&gt;
&lt;P&gt;Principles of Clustering 309&lt;/P&gt;
&lt;P&gt;Hard Clustering versus Soft Clustering 311&lt;/P&gt;
&lt;P&gt;Discrete Clustering 312&lt;/P&gt;
&lt;P&gt;Scalable Clustering 313&lt;/P&gt;
&lt;P&gt;Clustering Prediction 314&lt;/P&gt;
&lt;P&gt;Parameters 314&lt;/P&gt;
&lt;P&gt;CLUSTERING METHOD 314&lt;/P&gt;
&lt;P&gt;CLUSTER COUNT 315&lt;/P&gt;
&lt;P&gt;MINIMUM CLUSTER CASES 315&lt;/P&gt;
&lt;P&gt;MODELLING CARDINALITY 316&lt;/P&gt;
&lt;P&gt;STOPPING TOLERANCE 316&lt;/P&gt;
&lt;P&gt;SAMPLE SIZE 316&lt;/P&gt;
&lt;P&gt;CLUSTER SEED 317&lt;/P&gt;
&lt;P&gt;MAXIMUM INPUT ATTRIBUTES 317&lt;/P&gt;
&lt;P&gt;MAXIMUM STATES 318&lt;/P&gt;
&lt;P&gt;Summary 318&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 10 Microsoft Sequence Clustering 319&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Introducing the Microsoft Sequence Clustering Algorithm 320&lt;/P&gt;
&lt;P&gt;Using the Microsoft Sequence Clustering Algorithm 320&lt;/P&gt;
&lt;P&gt;Creating a Sequence Clustering Model 321&lt;/P&gt;
&lt;P&gt;DMX Queries 322&lt;/P&gt;
&lt;P&gt;Executing Cluster Predictions 323&lt;/P&gt;
&lt;P&gt;Executing Sequence Predictions 323&lt;/P&gt;
&lt;P&gt;Extracting the Probability for the Sequence Predictions 325&lt;/P&gt;
&lt;P&gt;Using the Histogram of the Sequence Predictions 326&lt;/P&gt;
&lt;P&gt;Detecting Unusual Sequence Patterns 329&lt;/P&gt;
&lt;P&gt;Interpreting the Model 329&lt;/P&gt;
&lt;P&gt;Cluster Diagram 330&lt;/P&gt;
&lt;P&gt;Cluster Profiles 331&lt;/P&gt;
&lt;P&gt;Cluster Characteristics 331&lt;/P&gt;
&lt;P&gt;Cluster Discrimination 333&lt;/P&gt;
&lt;P&gt;State Transitions 333&lt;/P&gt;
&lt;P&gt;Microsoft Sequence Clustering Algorithm Principles 334&lt;/P&gt;
&lt;P&gt;Understanding a Markov Chain 334&lt;/P&gt;
&lt;P&gt;Order of a Markov Chain 335&lt;/P&gt;
&lt;P&gt;State Transition Matrix 336&lt;/P&gt;
&lt;P&gt;Clustering with a Markov Chain 337&lt;/P&gt;
&lt;P&gt;Cluster Decomposition 339&lt;/P&gt;
&lt;P&gt;Model Content 339&lt;/P&gt;
&lt;P&gt;Algorithm Parameters 340&lt;/P&gt;
&lt;P&gt;CLUSTER COUNT 340&lt;/P&gt;
&lt;P&gt;MINIMUM SUPPORT 340&lt;/P&gt;
&lt;P&gt;MAXIMUM STATES 341&lt;/P&gt;
&lt;P&gt;MAXIMUM SEQUENCE STATES 341&lt;/P&gt;
&lt;P&gt;Summary 341&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 11 Microsoft Association Rules 343&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Introducing Microsoft Association Rules 344&lt;/P&gt;
&lt;P&gt;Using the Association Rules Algorithm 344&lt;/P&gt;
&lt;P&gt;Data Exploration Models 345&lt;/P&gt;
&lt;P&gt;A Simple Recommendation Engine 346&lt;/P&gt;
&lt;P&gt;Advanced Cross-Sales Analysis 349&lt;/P&gt;
&lt;P&gt;DMX 351&lt;/P&gt;
&lt;P&gt;Model Content 355&lt;/P&gt;
&lt;P&gt;Interpreting the Model 357&lt;/P&gt;
&lt;P&gt;Association Algorithm Principles 359&lt;/P&gt;
&lt;P&gt;Understanding Basic Association Algorithm Terms and&lt;/P&gt;
&lt;P&gt;Concepts 359&lt;/P&gt;
&lt;P&gt;Itemset 360&lt;/P&gt;
&lt;P&gt;Support 360&lt;/P&gt;
&lt;P&gt;Probability (Confidence) 361&lt;/P&gt;
&lt;P&gt;Importance 361&lt;/P&gt;
&lt;P&gt;Finding Frequent Itemsets 363&lt;/P&gt;
&lt;P&gt;Generating Association Rules 366&lt;/P&gt;
&lt;P&gt;Prediction 367&lt;/P&gt;
&lt;P&gt;Algorithm Parameters 368&lt;/P&gt;
&lt;P&gt;MINIMUM SUPPORT 368&lt;/P&gt;
&lt;P&gt;MAXIMUM SUPPORT 368&lt;/P&gt;
&lt;P&gt;MINIMUM PROBABILITY 368&lt;/P&gt;
&lt;P&gt;MINIMUM IMPORTANCE 368&lt;/P&gt;
&lt;P&gt;MAXIMUM ITEMSET SIZE 369&lt;/P&gt;
&lt;P&gt;MINIMUM ITEMSET SIZE 369&lt;/P&gt;
&lt;P&gt;MAXIMUM ITEMSET COUNT 369&lt;/P&gt;
&lt;P&gt;OPTIMIZED PREDICTION COUNT 369&lt;/P&gt;
&lt;P&gt;AUTODETECT MINIMUM SUPPORT 369&lt;/P&gt;
&lt;P&gt;Summary 370&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 12 Microsoft Neural Network and Logistic Regression 371&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Same Principle, Two Algorithms 372&lt;/P&gt;
&lt;P&gt;Using the Microsoft Neural Network 373&lt;/P&gt;
&lt;P&gt;Text Classification Models 373&lt;/P&gt;
&lt;P&gt;Utility Models 378&lt;/P&gt;
&lt;P&gt;DMX Queries 378&lt;/P&gt;
&lt;P&gt;Model Content 381&lt;/P&gt;
&lt;P&gt;Interpreting the Model 382&lt;/P&gt;
&lt;P&gt;Principles of the Microsoft Neural Network Algorithm 384&lt;/P&gt;
&lt;P&gt;What Is a Neural Network? 385&lt;/P&gt;
&lt;P&gt;Combination and Activation 387&lt;/P&gt;
&lt;P&gt;Backpropagation, Error Function, and Conjugate Gradient 389&lt;/P&gt;
&lt;P&gt;A Simple Example of Processing a Neural Network 390&lt;/P&gt;
&lt;P&gt;Normalization and Mapping 392&lt;/P&gt;
&lt;P&gt;Topology of the Network 393&lt;/P&gt;
&lt;P&gt;Training the Ending Condition 394&lt;/P&gt;
&lt;P&gt;Nonlinearly Separable Classes 395&lt;/P&gt;
&lt;P&gt;Algorithm Parameters 396&lt;/P&gt;
&lt;P&gt;MAXIMUM INPUT ATTRIBUTES 396&lt;/P&gt;
&lt;P&gt;MAXIMUM OUTPUT ATTRIBUTES 396&lt;/P&gt;
&lt;P&gt;MAXIMUM STATES 396&lt;/P&gt;
&lt;P&gt;HOLDOUT PERCENTAGE 397&lt;/P&gt;
&lt;P&gt;HOLDOUT SEED 397&lt;/P&gt;
&lt;P&gt;HIDDEN NODE RATIO 397&lt;/P&gt;
&lt;P&gt;SAMPLE SIZE 397&lt;/P&gt;
&lt;P&gt;Summary 397&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 13 Mining OLAP Cubes 399&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Introducing OLAP 400&lt;/P&gt;
&lt;P&gt;Understanding Star and Snowflake Schemas 401&lt;/P&gt;
&lt;P&gt;Understanding Dimension and Hierarchy 402&lt;/P&gt;
&lt;P&gt;Understanding Measures and Measure Groups 404&lt;/P&gt;
&lt;P&gt;Understanding Cube Processing and Storage 404&lt;/P&gt;
&lt;P&gt;Using Proactive Caching 405&lt;/P&gt;
&lt;P&gt;Querying a Cube 406&lt;/P&gt;
&lt;P&gt;Performing Calculations 407&lt;/P&gt;
&lt;P&gt;Browsing a Cube 408&lt;/P&gt;
&lt;P&gt;Understanding Unified Dimension Modeling 408&lt;/P&gt;
&lt;P&gt;Understanding the Relationship between OLAP and Data&lt;/P&gt;
&lt;P&gt;Mining 413&lt;/P&gt;
&lt;P&gt;Mining Aggregated Data 414&lt;/P&gt;
&lt;P&gt;OLAP Pattern Discovery Needs 415&lt;/P&gt;
&lt;P&gt;OLAP Mining versus Relational Mining 415&lt;/P&gt;
&lt;P&gt;Building OLAP Mining Models Using Wizards and Editors 417&lt;/P&gt;
&lt;P&gt;Using the Data Mining Wizard 417&lt;/P&gt;
&lt;P&gt;Building the Customer Segmentation Model 417&lt;/P&gt;
&lt;P&gt;Creating a Market Basket Model 420&lt;/P&gt;
&lt;P&gt;Creating a Sales Forecast Model 424&lt;/P&gt;
&lt;P&gt;Using the Data Mining Designer 428&lt;/P&gt;
&lt;P&gt;Understanding Data Mining Dimensions 429&lt;/P&gt;
&lt;P&gt;Using MDX within DMX Queries 432&lt;/P&gt;
&lt;P&gt;Using Analysis Management Objects for the OLAP Mining&lt;/P&gt;
&lt;P&gt;Model 434&lt;/P&gt;
&lt;P&gt;Summary 438&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 14 Data Mining with SQL Server Integration Services 439&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;An Overview of SSIS 440&lt;/P&gt;
&lt;P&gt;Understanding SSIS Packages 442&lt;/P&gt;
&lt;P&gt;Task Flow 442&lt;/P&gt;
&lt;P&gt;Standard Tasks in SSIS 442&lt;/P&gt;
&lt;P&gt;Containers 443&lt;/P&gt;
&lt;P&gt;Debugging 444&lt;/P&gt;
&lt;P&gt;Exploring a Control Flow Example 444&lt;/P&gt;
&lt;P&gt;Data Flow 444&lt;/P&gt;
&lt;P&gt;Transformations 445&lt;/P&gt;
&lt;P&gt;Viewers 446&lt;/P&gt;
&lt;P&gt;Exploring a Data Flow Example 447&lt;/P&gt;
&lt;P&gt;Working with SSIS in Data Mining 447&lt;/P&gt;
&lt;P&gt;Data Mining Tasks 448&lt;/P&gt;
&lt;P&gt;Data Mining Query Task 449&lt;/P&gt;
&lt;P&gt;Analysis Services Processing Task 452&lt;/P&gt;
&lt;P&gt;Analysis Services Execute DDL Task 453&lt;/P&gt;
&lt;P&gt;Data Mining Transformations 455&lt;/P&gt;
&lt;P&gt;Data Mining Model Training Destination 455&lt;/P&gt;
&lt;P&gt;Data Mining Query Transformation 458&lt;/P&gt;
&lt;P&gt;Example Data Flows 462&lt;/P&gt;
&lt;P&gt;Using Non-Predictive Data Mining Queries in an&lt;/P&gt;
&lt;P&gt;Integration Services Pipeline 463&lt;/P&gt;
&lt;P&gt;Text Mining Transformations 464&lt;/P&gt;
&lt;P&gt;Term Extraction Transformation 465&lt;/P&gt;
&lt;P&gt;Term Lookup Transformation 467&lt;/P&gt;
&lt;P&gt;More Details on the Text Mining Process 470&lt;/P&gt;
&lt;P&gt;Summary 472&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 15 SQL Server Data Mining Architecture 475&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Introducing Analysis Services Architecture 476&lt;/P&gt;
&lt;P&gt;XML for Analysis 476&lt;/P&gt;
&lt;P&gt;XMLA APIs 477&lt;/P&gt;
&lt;P&gt;Discover 478&lt;/P&gt;
&lt;P&gt;Execute 479&lt;/P&gt;
&lt;P&gt;XMLA and Analysis Services 480&lt;/P&gt;
&lt;P&gt;Processing Architecture 482&lt;/P&gt;
&lt;P&gt;Predictions 486&lt;/P&gt;
&lt;P&gt;Data Mining Administration 487&lt;/P&gt;
&lt;P&gt;Server Configuration 488&lt;/P&gt;
&lt;P&gt;Data Mining Security 489&lt;/P&gt;
&lt;P&gt;Security Requirements for Creating and Training Mining&lt;/P&gt;
&lt;P&gt;Objects 491&lt;/P&gt;
&lt;P&gt;Security for Various Deployment Scenarios 491&lt;/P&gt;
&lt;P&gt;Local Database and Analysis Services 492&lt;/P&gt;
&lt;P&gt;Local Analysis Services and a Remote Database 493&lt;/P&gt;
&lt;P&gt;Intranet Analysis Services and Databases on the Same&lt;/P&gt;
&lt;P&gt;Server 493&lt;/P&gt;
&lt;P&gt;Analysis Services and Databases behind an HTTP&lt;/P&gt;
&lt;P&gt;Endpoint in an Internet Deployment 494&lt;/P&gt;
&lt;P&gt;Configuring Analysis Services for Use with Data Mining&lt;/P&gt;
&lt;P&gt;Excel Add-Ins over HTTP 495&lt;/P&gt;
&lt;P&gt;Summary 496&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 16 Programming Sql Server Data Mining 497&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Data Mining APIs 498&lt;/P&gt;
&lt;P&gt;ADO 498&lt;/P&gt;
&lt;P&gt;ADO.NET 500&lt;/P&gt;
&lt;P&gt;ADOMD.NET 501&lt;/P&gt;
&lt;P&gt;Server ADOMD.NET 501&lt;/P&gt;
&lt;P&gt;AMO 501&lt;/P&gt;
&lt;P&gt;Using Analysis Services APIs 502&lt;/P&gt;
&lt;P&gt;Using Microsoft.AnalysisServices to Create and Manage&lt;/P&gt;
&lt;P&gt;Mining Models 502&lt;/P&gt;
&lt;P&gt;AMO Basics 503&lt;/P&gt;
&lt;P&gt;AMO Applications and Security 505&lt;/P&gt;
&lt;P&gt;Object Creation 506&lt;/P&gt;
&lt;P&gt;Creating Data Access Objects 507&lt;/P&gt;
&lt;P&gt;Creating the Mining Structure 510&lt;/P&gt;
&lt;P&gt;Creating the Mining Models 512&lt;/P&gt;
&lt;P&gt;Processing Mining Models 513&lt;/P&gt;
&lt;P&gt;Deploying Mining Models 515&lt;/P&gt;
&lt;P&gt;Setting Mining Permissions 516&lt;/P&gt;
&lt;P&gt;Browsing and Querying Mining Models 517&lt;/P&gt;
&lt;P&gt;Predicting with ADOMD.NET 517&lt;/P&gt;
&lt;P&gt;More on Table-Valued Parameters in ADOMD.NET 522&lt;/P&gt;
&lt;P&gt;Browsing Models 525&lt;/P&gt;
&lt;P&gt;Stored Procedures 527&lt;/P&gt;
&lt;P&gt;Writing Stored Procedures 529&lt;/P&gt;
&lt;P&gt;Stored Procedures and Prepare Invocations 530&lt;/P&gt;
&lt;P&gt;A Stored Procedure Example 530&lt;/P&gt;
&lt;P&gt;Executing Queries inside Stored Procedures 533&lt;/P&gt;
&lt;P&gt;Returning Data Sets from Stored Procedures 534&lt;/P&gt;
&lt;P&gt;Deploying and Debugging Stored Procedure Assemblies 537&lt;/P&gt;
&lt;P&gt;Summary 538&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 17 Extending SQL Server Data Mining 541&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Plug-in Algorithms 542&lt;/P&gt;
&lt;P&gt;Plug-in Algorithm Framework 543&lt;/P&gt;
&lt;P&gt;Lifetime of a Plug-in Algorithm Instance 543&lt;/P&gt;
&lt;P&gt;Conceptual Overview 545&lt;/P&gt;
&lt;P&gt;Model Creation and Processing 547&lt;/P&gt;
&lt;P&gt;Prediction 553&lt;/P&gt;
&lt;P&gt;Content Navigation 554&lt;/P&gt;
&lt;P&gt;Custom Functions 555&lt;/P&gt;
&lt;P&gt;PMML 557&lt;/P&gt;
&lt;P&gt;Managed vs. Native Plug-ins 557&lt;/P&gt;
&lt;P&gt;Installing Plug-in Algorithms 558&lt;/P&gt;
&lt;P&gt;Where to Find Out More about Plug-in Algorithms 558&lt;/P&gt;
&lt;P&gt;Data Mining Viewers 558&lt;/P&gt;
&lt;P&gt;Interfaces to Be Implemented 559&lt;/P&gt;
&lt;P&gt;Rendering the Information 559&lt;/P&gt;
&lt;P&gt;Retrieving Information from Analysis Services 560&lt;/P&gt;
&lt;P&gt;Registering the Viewer 561&lt;/P&gt;
&lt;P&gt;Where to Find Out Mode about Plug-in Viewers 561&lt;/P&gt;
&lt;P&gt;Summary 562&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 18 Implementing a Web Cross-Selling Application 563&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Source Data Description 564&lt;/P&gt;
&lt;P&gt;Building Your Model 564&lt;/P&gt;
&lt;P&gt;Identifying the Data Mining Task 564&lt;/P&gt;
&lt;P&gt;Using Decision Trees for Association 565&lt;/P&gt;
&lt;P&gt;Using the Association Rules Algorithm 567&lt;/P&gt;
&lt;P&gt;Comparing the Two Models 568&lt;/P&gt;
&lt;P&gt;Making Predictions 570&lt;/P&gt;
&lt;P&gt;Making Batch Prediction Queries 570&lt;/P&gt;
&lt;P&gt;Using Singleton Prediction Queries 572&lt;/P&gt;
&lt;P&gt;Integrating Predictions with Web Applications 573&lt;/P&gt;
&lt;P&gt;UnderstandingWeb Application Architecture 573&lt;/P&gt;
&lt;P&gt;Setting the Permissions 574&lt;/P&gt;
&lt;P&gt;Examining Sample Code for the Web Recommendation&lt;/P&gt;
&lt;P&gt;Application 575&lt;/P&gt;
&lt;P&gt;Summary 578&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Chapter 19 Conclusion and Additional Resources 581&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;Recapping the Highlights of SQL Server 2008 Data Mining 581&lt;/P&gt;
&lt;P&gt;State-of-the-Art Algorithms 582&lt;/P&gt;
&lt;P&gt;Easy-to-Use Tools 583&lt;/P&gt;
&lt;P&gt;Simple-Yet-Powerful API 584&lt;/P&gt;
&lt;P&gt;Integration with Sibling BI Technologies 584&lt;/P&gt;
&lt;P&gt;Exploring New Data Mining Frontiers and Opportunities 585&lt;/P&gt;
&lt;P&gt;Further Reference 586&lt;/P&gt;
&lt;P&gt;Microsoft Data Mining 586&lt;/P&gt;
&lt;P&gt;General Data Mining 586&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Appendix A Data Sets 589&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Appendix B Supported Functions 595&lt;/B&gt;&lt;/P&gt;
&lt;P&gt;&lt;B&gt;Index 607&lt;/B&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=8973954" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/jamiemac/archive/tags/Preview/default.aspx">Preview</category></item></channel></rss>