HappyCars is our educational sample data set, used for teaching data science and data mining. It comes with SQL Server tables containing sample data, such as:
Customers, NonCustomers, Sales, and
CustomerActivity, plus a few utility views. It also comes with a SQL Server Data Tools (SSDT) project,
HappyCarsDM, which contains a prebuilt data source and views, and a series of
Mining Structures containing
Mining Models. We also provide a version suitable as an Azure SQL Database, which is particularly useful while learning Azure ML.
If you decide to download and use our set, you will need to:
- Accept additional T&Cs,
- change the name of the SSAS deployment server specified in the solution properties,
- change the name of the server specified in the data source.
How to Use HappyCars and HappyCarsAzure Data Sets
First of all, decide which version you would like to download. There are four options: HappyCars and HappyCarsAzure, each as a SQL Server Script (.sql file), as a SQL Server Backup (.bak) file. The data in both is identical, however the Azure set follows additional criterial (keys etc) that make it possible to deploy it as a SQL Azure Database. If you choose the script, open it in SQL Server Management Studio and execute it (make sure to verify if it is free of malware before you do that). Provided that you have the necessary permissions, it should create a database called HappyCars or HappyCarsAzure with a number of tables and views on your server. Alternatively, use a command line such as:
sqlcmd -S server\instance -i HappyCarsData2012.sql
to execute it. If you decide to use the backup file, simply restore it to your server using SSMS. If you are learning about Azure ML, you can deploy the local database to your Azure one using SSMS—it is faster than running the .sql script directly on the Azure SQL database.
Additional Instructions for HappyCars (not Azure) and SQL Server Analysis Services Data Mining
If you are using SSAS Tabular, you will need to install SSAS Multidimensional and Data Mining, first, as the data mining engine is only available in that instance mode of SQL Server Analysis Services. Next, you need to make two changes to the HappyCarsDM SQL Server Data Tools project. Open it with SSDT by double-clicking on HappyCarsDM.sln file. Then, select the project in the Solution Explorer, right-click on it to get to its properties, and change the Target Server option, on the Deployment tab, to your SSAS Multidimensional and Data Mining instance.
Secondly, double-click on the Happy Cars DB.ds data source, Edit the connection setttings, and change the name of the server to your own instance of the SQL Server database engine where you have just installed, or restored, the HappyCars database:
You will need to deploy the project, and process each model, before you can view its results. Best of all, follow the demos in our Data Mining videos.
Terms and Conditions
- You acknowledge that Tecflix and Project Botticelli Ltd retain full copyright and ownership of this data set. By downloading it, you receive a non-transferrable, personal, free license to use it, subject to you agreeing to these terms and conditions. No ownership rights for the data set are transferred to you.
- You agree to use this data set only for personal educational purposes. No commercial use is allowed. Commercial and educational institution licenses are available upon request, subject to additional terms and conditions.
- You agree not to distribute this data, or any data sets derived from it, in portion, or as a whole, or publish, email, post, or share it in any way, without our express, written permission.
- You agree not to publish any articles, blog posts, or other works, that use the data from this set, or that quote or refer to this set, in any way.
- Neither Tecflix nor Project Botticelli Ltd offers no guarantee for the suitability of this data set for any purposes and expressly disclaims all and any liability for any events, or losses, directly or indirectly related to your use of this data set.
- You agree to verify the accuracy of any conclusions you reach by means of your use of this data set independently and without relying on Tecflix or Project Botticelli Ltd. This data set may contain errors, and it should not be trusted for any purposes other than learning.
- Neither Tecflix nor Project Botticelli Ltd warrant that the data set is free from defects, viruses or other malware. You must verify its safety and security before you use it and you agree to accept the liability for any loss that might arise from its use, for any reasons, including, but not limited to, security breaches.
- You accept all liability for your own use of this data set and you indemnify Tecflix and Project Botticelli Ltd from any claims that may arise from your use of this data set or from the consequences of your use of this data set.
- You acknowledge that this data set is not based on realistic simulations or real statistics, and it does not represent a sampling of any real events or real customers. The set has been synthesized for educational purposes by means of a pseudo-random automated process in order to demonstrate common and uncommon aspects of data mining and a number of edge conditions. All names are fictional, and any resemblance to any living or deceased persons, companies, trademarks, or products is coincidental. Names referred to in the data set do not mean anything, infer anything, and should not be associated with anything.
- Tecflix and Project Botticelli Ltd reserve the right to remove access to this data set at any time and without a prior notice.
- Tecflix and Project Botticelli Ltd reserves the right to amend these terms and conditions at any time and without notice.
- You agree that these Terms and Conditions are in addition to the Terms and Conditions of the Website, which you continue to accept.