|
|
|
File size |
12 K |
|
Downloads |
1085 |
|
Date |
Mon 12/29/2008 @ 05:59 |
|
|
|
|
Accompanying download for tip on using REPLACE_MODEL_CASES
|
|
|
Excel 2007 workbook with daily closing prices for MasterCard and Visa stock
|
|
|
| |
|
|
|
|
File size |
184 K |
|
Downloads |
1266 |
|
Date |
Wed 11/19/2008 @ 12:16 |
|
|
|
|
Accompanying download for "Programmatically generating prediction queries for nested tables" tip
|
|
Click the DOWNLOAD link below to download a zip file that includes a C# project with the full source code for the scenario described in the Programmatically generating prediction queries for nested tables" tip, as well as a SQL Server 2008 backup of the source database (Test.bak).
|
|
|
| |
|
|
|
|
File size |
1408 K |
|
Downloads |
2886 |
|
Date |
Fri 08/22/2008 @ 08:50 |
|
|
|
|
Forecasting sample application that allows you to explore Time Series enhancements in SQL Server 2008
|
|
This sample allows you to explore the Time Series enhancements in SQL Server 2008. It provides readily-accessible time series data, an easy-to-use interface to model and play with the algorithm features and an explanation window with a link to the server-side DMX queries so you can understand what's going on under the hood.
Prerequisites
- A connection to SQL Server 2008 Analysis Services (Enterprise). A 180-day evaluation is available for download.
- SQL Server 2008 Client Components installed on your local machine.
Installing the sample
Just unzip the files to a local folder and run DMTimeSeriesSample.exe to launch the sample. You can click the Help button on the toolbar for help with the feature set.
More Information
This article provides more details about the sample and the SQL Server 2008 Time Series features that it highlights.
|
|
|
| |
|
|
|
|
File size |
11 K |
|
Downloads |
833 |
|
Date |
Mon 04/07/2008 @ 07:24 |
|
|
|
|
Accompanying download for "Create a server data source from DMX" tip.
|
|
This zip file contains a Visual Studio solution with the C# source code for building a class assembly for the CreateDataSource stored procedure.
|
|
|
| |
|
|
|
|
File size |
6 K |
|
Downloads |
597 |
|
Date |
Tue 01/15/2008 @ 02:55 |
|
|
|
|
Stored procedure code for "How much training data is enough?" tip
|
|
The AccuracyEx.EvaluateModelingData stored procedure produces the data for rendering a chart that shows the training set size affects accuracy.
|
|
|
| |
|
|
|
|
File size |
164 K |
|
Downloads |
1326 |
|
Date |
Tue 11/06/2007 @ 04:29 |
|
|
|
|
Excel 2007 format version of the WBCD data set useful for exercising the Data Mining Addins for Office 2007
|
|
|
|
|
|
| |
|
|
|
|
File size |
331 K |
|
Downloads |
951 |
|
Date |
Tue 11/06/2007 @ 04:27 |
|
|
|
|
Contains an updated version of the plug-in algorithms sample, with fixes for some issues detected after release.
|
|
A few bugs were detected in the Plug-in Algorithms sample. This file contains the updated source files for this sample, with the fixes for all the known issues
|
|
|
| |
|
|
|
|
File size |
492 K |
|
Downloads |
563 |
|
Date |
Tue 11/06/2007 @ 04:26 |
|
|
|
|
Code and supporting files for Lack of Fit stored procedure and sample application
|
|
|
|
|
|
| |
|
|
|
|
File size |
3 K |
|
Downloads |
462 |
|
Date |
Tue 11/06/2007 @ 04:24 |
|
|
|
|
XMLA template to create a datasource object.
|
|
This file is a template you can use to create datasource objects using SQL Management Studio(SSMS). This allows a SSMS workflow such as:
1: Create a database by right-clicking on the Databases folder
2: Create a datasource using this template
3: Create a mining structure using CREATE MINING STRUCTURE
4: Train structure using INSERT INTO and the datasource just created
5: Add models
...
To install this template so that it shows up in Template Explorer, save it under C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\sqlworkbenchprojectitems\AnalysisServices\XMLA\Management. You will have to restart SSMS before it will appear in the explorer. Alternati
|
|
|
| |
|
|
|
|
File size |
81 K |
|
Downloads |
1262 |
|
Date |
Tue 11/06/2007 @ 04:20 |
|
|
|
|
Excel Add-in and sample file from the Advanced Forecasting with Microsoft Excel from Data Mining with SQL Server 2005
|
|
|
|
|
|
| |
|
|
|
|
File size |
45 K |
|
Downloads |
893 |
|
Date |
Tue 11/06/2007 @ 04:19 |
|
|
|
|
This includes the source code and installation instructions for the "Art of Clustering" live sample
|
|
Visual Studio 2005 is required on the machine where the sample will be installed
Installation steps:
- extract the content of the archive file into your IIS root folder. This folder is usually c:\inetpub\wwwroot
- from Control Panel\Administrative Tools, launch the Internet Information Services management console
- expand the Web Sites\Default Web Site node
- right-click on the newly created ArtOfClustering folder and select Properties
- in the Application Settings section of the properties wizard, click on the Create button, effectively creating a web application
- in the web.config file of the application, change the connection string to point to a valid Analysis Services server and a database that has permissions for the credentials used by ASP.Net
If your web site is currently configured to use a previous version of ASP.Net (such as ASP.Net 1.1) you will need to open the web application inside Visual Studio 2005 . This will adjust the web application settings to use ASP.Net 2.0
|
|
|
| |
|
|
|
|
File size |
1076 K |
|
Downloads |
730 |
|
Date |
Tue 11/06/2007 @ 04:19 |
|
|
|
|
This spreadsheet performs clustering on a set of ellipses you specify.
|
|
The 2-dimensional cluster test application generates ellipses based on parameters you specify - the center, width, height, angle and density and then builds a session mining model to cluster the generated points. The result is the original data points colored by the clusters found by the data mining algorithm.
The application is great for experimenting with the clustering algorithm and seeing how the cluster parameters impact the end result
|
|
|
| |
|
|
|
|
File size |
849 K |
|
Downloads |
905 |
|
Date |
Tue 11/06/2007 @ 04:18 |
|
|
|
|
This file contains the DMPredict Excel demo presented at TechEd, PDC and PASS conferences, along with a September CTP backup containing the models referenced.
|
|
The DMPredict sample implements a VBA function to create a query against a mining model using data in a user-selected range. To use this sample as provided, you first need to restore the supplied AS database backup using SQL Management Studio.
The syntax of the DMPredict function is
DMPredict(string database, string modelname, string DMXFunction, range inputrange)
For example, in cell G2 of the spreadsheet you could put the following code to get the cluster label for the row:
=DMPredict("ExcelDemo","XLClusters","Cluster()",B2:F2)
Or you could put the following in F9 to pr
|
|
|
| |
|
|
|
|
File size |
5374 K |
|
Downloads |
1869 |
|
Date |
Tue 11/06/2007 @ 04:18 |
|
|
|
|
This sample demonstrates how to embed the data mining viewers.
|
|
This sample contains the source code and compiled executable of an application that embeds and displays the data mining viewers of SQL Server 2005. Using this application you can load two different models and compare them side-by-side in a splitter control. Details are in the enclosed README.
|
|
|
| |
|
|
|
|
File size |
583 K |
|
Downloads |
832 |
|
Date |
Tue 11/06/2007 @ 04:17 |
|
|
|
|
This sample plug-in viewer allows you to easily navigate the content rowset of any data mining model. Source code is included.
|
|
This sample provides a new data mining viewer accessible from SQL Management Studio and the BI Dev Studio. The viewer works with models built with any algorithm helps you understand how the model content is organized by using a tree control to navigate the hierarchy and a browser window to display the content of each individual node. All source code is included and installed in the path you specify.
After installation, access the viewer by browsing a model and selecting "Generic Content Tree Viewer" from the viewer drop-down at the top of the viewer window. (Updated for September CTP and RTM versions of SQL Server 2005)
|
|
|
| |
|
|
|
|
File size |
21 K |
|
Downloads |
653 |
|
Date |
Tue 11/06/2007 @ 04:17 |
|
|
|
|
This sample contains the source code and PMML model for the live Data Validation application on this site.
|
|
This sample shows how the clustering algorithm can be used to perform automatic data validation through the use of the PredictCaseLikelihood() function. It contains all the source code as well as a .dmx file containing the PMML for the clustering model used on this site.
You can launch the sample and see it in action from here.
To install the application, follow the instructions in the included readme.rtf file.
|
|
|
| |
|
|
|
|
File size |
1572 K |
|
Downloads |
1673 |
|
Date |
Tue 11/06/2007 @ 04:16 |
|
|
|
|
This download contains the data for the movie applications on this site, along with a sample Analysis Services project containing some models.
|
|
|
|
|
|
| |
|
|
|
|
File size |
52 K |
|
Downloads |
1325 |
|
Date |
Tue 11/06/2007 @ 04:13 |
|
|
|
|
This download contains several examples of DMX statements for creating, training and querying SQL Server Data Mining models.
|
|
Each XML file in the download can be loaded into the DMSample query tool (available as a separate download) and contains the model creation, training and query statements. Note that these samples were originally written for SQL Server 2000 DM and therefore do not include SQL 2005 features.
|
|
|
| |
|
|
|
|
File size |
504 K |
|
Downloads |
1127 |
|
Date |
Tue 04/22/2008 @ 01:15 |
|
|
|
|
This includes the executable and source code for DMSample, a simple graphical tool for sending DMX queries to Analysis Services and displaying hierarchical results.
|
|
DMSamp.exe is a sample VB application, originally written for SQL Server 2000, that can be used as a simple query tool for SQL Server Data Mining. It can be used with a SQL 2005+ Analysis Server as well but it does show not SQL Server 2005 Data Mining constructs like the mining structure, datasource and DSV. However, you can send any DMX statement and retrieve both flattened and hierarchical results.
This package includes the following files:
- DMSamp.exe - the application executable
- DMSamp10.exe - a self-extracting executable containing the VB source code for DMSamp.exe
- MSHFLXGD.*- files for the Microsoft FlexGrid control used by DMSamp.exe
- msmdxtb.dll - QueryPane control used by DMSamp.exe
- readme.txt
|
|
|
| |
|
|
|
|
File size |
12 K |
|
Downloads |
793 |
|
Date |
Tue 11/06/2007 @ 04:16 |
|
|
|
|
This C# code sample shows you how to programmatically create SQL Server 2005 Data Mining objects using AMO.
|
|
AMO (Analysis Management Objects) is the new object model in SQL Server Analysis Services 2005 for creating and managing Data Mining and OLAP objects. AMO is a CLR-based model and is accessible through any of the .NET languages like C# and VB.NET. This short code sample in C# shows you how to programmatically create SQL Server 2005 Data Mining objects using AMO.
|
|
|
| |
|
|
|
|
File size |
3 K |
|
Downloads |
272 |
|
Date |
Tue 11/06/2007 @ 03:28 |
|
|
|
|
This file contains helper classes to be used in plug-in algorithms. These helper classes can be used to wrap a DM_STATE_VALUE or a DM_ATTRIBUTE_VALUE objects, sent by the server as part of a case during algorithm training and expected as a prediction
|
|
I will start with a description of how the server handles attribute values and how they are modeled. After that, I will explain how to obtain the attribute values in different contexts. Also, the attached file contains some helper functions. I will explain the usage of the code in this file which, in some form, will be eventually part of the plug-in tutorial. A preliminary version of the helper classes I'm attaching is already part of the tutorial, the DataValues.h file.
Attributes can basically be of 2 kinds: continuous and discrete. Discretized attributes are a discrete view over data that originally was continuous. Discrete attributes have a number of distinct states. The actual values for the states are not of importance for the algorithm, these values do not play any part in modeling. They can be considered State1, State2 etc. A distinct state (which is usually 0 now, but is not guaranteed to have this
|
|
|
| |
|