Data Science with R and SQL Server

4 Day Course
Hands On

Book Now - 2 Delivery Methods Available:

Classroom Virtual Classroom Private Group - Virtual Self-Paced Online


R is the most popular environment and language for statistical analyses, data mining, and machine learning. Managed and scalable version of R runs in SQL Server, Power BI, and Azure ML. The main topic of this 4-day course is the R language. However, the course also shows how to use the languages and tools available in MS BI suite for data science applications, including Python, T-SQL, Power BI, Azure ML, and Excel. The labs focus on R; the demos also show the code in other languages.

Attendees of this course learn to program with R from the scratch. Basic R code is introduced using the free R engine and RStudio IDE. A lifecycle of a data science project is explained in details. The attendees learn how to perform the data overview and do the most tedious task in a project, the data preparation task. After data overview and preparation, the analytical part begins with intermediate statistics in order to analyze associations between pairs of variables. Then the course introduces more advanced methods for researching linear dependencies.

Too many variables in a model can make its own problem. The course shows how to do feature selection, starting with the basics of matrix calculations. Then the course switches more advanced data mining and machine learning analyses, including supervised and unsupervised learning. The course also introduces the currently modern topics, including forecasting, text mining, and reinforcement learning.

Finally, the attendees also learn how to use the R code in SQL Server, Azure ML, and Power BI through labs, and how to use Python for inside all of the tools mentioned through demos.

Additional Information

Every attendee gets a .PDF printout of all slides and all code and solutions for the demos presented and for the lab exercises.

In addition, every attendee gets an electronic version of the Data Science with SQL Server Quick Start Guide book by Dejan Sarka, Packt, 2018.

Each attendee works on a pre-prepared computer on a virtual machine with the following software pre-installed:

  • SQL Server 2017 or 2019 Database Engine with ML Services (In-Database)
  • AdventureWorksDW2017 demo database
  • Microsoft R Client
  • RStudio IDE
  • SQL Server Management Studio

Training Partners

We work with the following best of breed training partners using our bulk buying power to bring you a wider range of dates, locations and prices.


Hide all

Introducing data science and R (6 topics)

  • What are statistics, data mining, machine learning...
  • Data science projects and their lifetime
  • Introducing R
  • R tools
  • R data structures
  • Lab 1

Introducing Python (5 topics)

  • Basic syntax and objects
  • Data manipulation with NumPy and Pandas
  • Visualizations with matplotlib and seaborn libraries
  • Data science with Scikit-Learn
  • Discussion: R vs Python

Data overview (7 topics)

  • Datasets, cases and variables
  • Types of variables
  • Introductory statistics for discrete variables
  • Descriptive statistics for continuous variables
  • Basic graphs
  • Sampling, confidence level, confidence interval
  • Lab 2

Data preparation (6 topics)

  • Derived variables
  • Missing values and outliers
  • Smoothing and normalization
  • Time series
  • Training and test sets
  • Lab 3

Associations between two variables and visualizations of associations (6 topics)

  • Covariance and correlation
  • Contingency tables and chi-squared test
  • T-test and analysis of variance
  • Bayesian inference
  • Linear models
  • Lab 4

Feature selection and matrix operations (5 topics)

  • Feature selection in linear models
  • Basic matrix algebra
  • Principal component analysis
  • Exploratory factor analysis
  • Lab 5

Unsupervised learning (4 topics)

  • Hierarchical clustering
  • K-means clustering
  • Association rules
  • Lab 6

Supervised learning (7 topics)

  • Neural Networks
  • Logistic Regression
  • Decision and regression trees
  • Random forests
  • Gradient boosting trees
  • K-nearest neighbors
  • Lab 7

Modern topics (6 topics)

  • Support vector machines
  • Time series
  • Text mining
  • Deep learning
  • Reinforcement learning
  • Lab 8

R in SQL Server and MS BI (5 topics)

  • ML Services (In-Database) structure
  • Executing external scripts in SQL Server
  • Storing a model and performing native predictions
  • R in Azure ML and Power BI
  • Lab 9


Attendees should have basic understanding of data analysis and basic familiarity with SQL Server tools.

Scheduled Dates

Please select from the dates below to make an enquiry or booking.


Different pricing structures are available including special offers. These include early bird, late availability, multi-place, corporate volume and self-funding rates. Please arrange a discussion with a training advisor to discover your most cost effective option.

Code Location Duration Price Mar Apr May Jun Jul Aug
Later scheduled dates may be available for this course.

Course PDF


Share this Course


Recommend this Course