A great way to learn is by doing, so if you've been thinking about how to enable R-based computations within SQL Server, a new tutorial will take you through all the steps of building an intelligent application. In a few simple steps, you'll set up all the necessary software and code to build a live service that predicts demand for a ski rental shop.
The tutorial "Create a predictive model in SQL Server R Services" will step you through:
- Installing SQL Server, Microsoft R Client, and an IDE for R (RTVS or RStudio) on your Windows machine. All of the components are available for free from Visual Studio Dev Essentials.
- Loading the provided ski-rental data, exploring the data, and building a model to predict number of rentals in R.
- Creating a stored procedure to predict rentals from the date and the amount of snowfall.
The tutorial also links to a number of SQL Server Management Studio custom reports which will be helpful to R developers to manage R packages on the server, monitor R execution statistics, and more.
To get started with the tutorial, simply follow the link below.
SQL Server: Build an intelligent app with SQL Server and R