Muokkaa

Jaa


Data Mining Solutions

Applies to: SQL Server 2019 and earlier Analysis Services Azure Analysis Services Fabric/Power BI Premium

Important

Data mining was deprecated in SQL Server 2017 Analysis Services and now discontinued in SQL Server 2022 Analysis Services. Documentation is not updated for deprecated and discontinued features. To learn more, see Analysis Services backward compatibility.

A data mining solution is an SQL Server Analysis Services solution that contains one or more data mining projects.

The topics in this section provide information about how to design and implement an integrated data mining solution by using SQL Server SQL Server Analysis Services. For an overview of the data mining design process and related tools, see Data Mining Concepts.

For more information about additional projects types that are useful for data mining, see Related Projects for Data Mining Solutions.

Relational vs. Multidimensional Solutions

Deploying Data Mining Solutions

Solution Walkthroughs

Relational vs. Multidimensional Solutions

A data mining solution can be based either on multidimensional data-that is, an existing cube-or on purely relational data, such as the tables and views in a data warehouse, or on text files, Excel workbooks, or other external data sources.

  • You can create data mining objects within an existing multidimensional database solution.

    Typically you would create a solution like this if you have already created a cube and want to perform data mining by using the cube as a data source. When you move and backup models based on a cube, the cube must also be moved or copied.

  • You can create a data mining solution that contains only data mining objects, including the supporting data sources and data source views, and that uses relational data source only.

    This is the preferred method for creating data mining models, as processing and querying is generally fastest against relational data sources. You can also easily move and backup models between servers by using the EXPORT and IMPORT commands.

Deploying Data Mining Solutions

The instance of SQL Server Analysis Services to which you deploy the solution must be running in a mode that supports multidimensional objects and data mining objects; that is, you cannot deploy data mining objects to an instance that hosts tabular models or Power Pivot data.

Therefore, when you create a data mining solution in Visual Studio, be sure to use the template, Analysis Services Multidimensional and Data Mining Project.

When you deploy the solution, the objects used for data mining are created in the specified SQL Server Analysis Services instance, in a database with the same name as the solution file.

For more information about how to deploy both relational and multidimensional solutions, see Deployment of Data Mining Solutions.

Solution Walkthrough

Provides an overview of how to create data mining solutions by using the Data Mining Wizard.

Create a Relational Mining Structure
Create a mining structure from relational data, text files, and other sources that can be combined in a data source view.

Create an OLAP Mining Structure
Create a mining structure based on data in an OLAP cube. Models that you create from OLAP data can be saved as a data mining dimension, or you can save the set of data and your models as a new cube.

In This Section

Data Mining Projects

Processing Data Mining Objects

Related Projects for Data Mining Solutions

Deployment of Data Mining Solutions

After you have created a basic data mining solution, including data sources and a mining structure, you can build on the solution by adding new models, testing and comparing models, creating predictions, and experimenting with subsets of data.

For more information, see the following links:

Tasks Topics
Test the models you create, validate the quality of your training data, and create charts that represent the accuracy of data mining models. Testing and Validation (Data Mining)
Train the model by populating the structure and related models with data. Update and extend models with new data. Processing Data Mining Objects
Customize a mining model by applying filters to the training data, choosing a different algorithm, or setting advanced algorithm parameters. Customize Mining Models and Structure
Customize a mining model by applying filters to the data used in training the mode. Add Mining Models to a Structure (Analysis Services - Data Mining)
Update and manage data mining solutions. Link TBD