Preparing a Naive Bayes SSAS data mining model
In this recipe, you will determine the factors that influence buying bikes. You will use the Naive Bayes algorithm with the training set you prepared in the previous recipe.
Getting ready
For this recipe, you need to have SSAS installed in multidimensional and data mining mode. You also need to finish the first recipe in this chapter.
How to do it...
- In SSDT, add a new analysis services multidimensional and data mining project to the
Chpater08
solution. Name itCh08NaiveBayes
. - Create a new data source using the
AdventureWorksDW2014
database. Use the Native OLE DB\SQL Server Native Client 11.0 provider. Use a Windows user that has permission to read the data. Use the default name for the data source. - Create a new data source view based on the data source created in step 2. Select the
TMTrainingSet
andTMTestSet
tables created in the first recipe of this chapter for the training and test sets. Use the default name for the data source view. - Set the
CustomerKey...