Book Image

Mastering SQL Server 2014 Data Mining

By : Amarpreet Singh Bassan, Debarchan Sarkar
Book Image

Mastering SQL Server 2014 Data Mining

By: Amarpreet Singh Bassan, Debarchan Sarkar

Overview of this book

<p>Whether you are new to data mining or are a seasoned expert, this book will provide you with the skills you need to successfully create, customize, and work with Microsoft Data Mining Suite. Starting with the basics, this book will cover how to clean the data, design the problem, and choose a data mining model that will give you the most accurate prediction.</p> <p>Next, you will be taken through the various classification models such as the decision tree data model, neural network model, as well as Naïve Bayes model. Following this, you'll learn about the clustering and association algorithms, along with the sequencing and regression algorithms, and understand the data mining expressions associated with each algorithm. With ample screenshots that offer a step-by-step account of how to build a data mining solution, this book will ensure your success with this cutting-edge data mining system.</p>
Table of Contents (17 chapters)
Mastering SQL Server 2014 Data Mining
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

The Microsoft Association algorithm


We all have been to a supermarket at some time or the other. One of the prime responsibilities of the manager of the supermarket is to sell the highest volume of products and to achieve this goal, knowledge of the purchasing patterns of the customers is required. When we know what or how our customers purchase certain products, we can suggest them products that they might be interested to buy and reorganize the store so that the items most frequently bought together are placed together. The algorithm that will help us in this endeavor is the Microsoft Association algorithm.

The input to the Microsoft Association algorithm is often in the form of a case table and a nested table. The case table consists of a unique record of each customer, while the nested table consists of multiple rows pertaining to the items purchased by the customer. The MSDN article at http://technet.microsoft.com/en-us/library/ms175659(v=sql.110).aspx gives a detailed explanation of...