Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
SQL Server 2017 Machine Learning Services with R
SQL Server 2017 Machine Learning Services with R

SQL Server 2017 Machine Learning Services with R: Data exploration, modeling, and advanced analytics

Arrow left icon
Profile Icon Koesmarno Profile Icon Toma≈æ Ka≈°trun Kaštrun
Arrow right icon
€32.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (8 Ratings)
Paperback Feb 2018 338 pages 1st Edition
eBook
€8.99 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m
Arrow left icon
Profile Icon Koesmarno Profile Icon Toma≈æ Ka≈°trun Kaštrun
Arrow right icon
€32.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (8 Ratings)
Paperback Feb 2018 338 pages 1st Edition
eBook
€8.99 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m
eBook
€8.99 €26.99
Paperback
€32.99
Subscription
Free Trial
Renews at €18.99p/m

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Table of content icon View table of contents Preview book icon Preview Book

SQL Server 2017 Machine Learning Services with R

Overview of Microsoft Machine Learning Server and SQL Server

In this chapter, we will look into the reasons why Microsoft decided to add the R language to SQL Server 2016 and what burdens this integration has overcome. We will cover the following topics in this chapter:

  • Addressing analytical barriers and R limitations
  • The Microsoft R Server platform
  • The Microsoft R Services architecture
  • Exploring computational contexts

Analytical barriers

Many companies encounter barriers when trying to analyse their data. These barriers are usually knowledge scarcity (not all departments have the knowledge to analyse the data) and data dispersity (usually data arrives from different sources).

Enterprises divide responsibilities according to the roles or functions of the employees. Such division of work has a positive effect, especially when an enterprise is large. Usually, small to mid-sized enterprises adopt such roles as well, but they are normally granulated on a higher level due to a smaller number of employees.

With rapid market changes, the emergence of new technologies, and the need for faster adaptation, many experts have noticed many of the following barriers:

  • Data scarcity and data dispersity
  • Complex (and many times outdated) architecture
  • Lack of knowledge
  • Low productivity
  • Slow adaptation to market...

The Microsoft Machine learning R Server platform

We have already touched on the concept of R Open and R for enterprise environment briefly. Microsoft Machine Learning R Server is an enterprise server that delivers high dimensional and large datasets that can be processed in parallel, and the workload can be distributed across nodes. R Server can process these parallel and distributed workloads on Windows, Linux servers, or HDFS systems, such as Hadoop, Spark, Teradata, and HD Insight. R Server can achieve parallel and distributed workloads using Microsoft R packages designed to do just that. The RevoScaleR package will give the ability to do highly parallel and distributed computations, statistical analysis, and predictive analytics, as well as machine learning and deep learning.

With the acquisition of the company Revolution Analytics, Microsoft rebranded their two main products...

The Microsoft Machine Learning R Services architecture

The architecture of R Server covers many components needed in order for the communication between R IDE or SQL Server and R engine to work properly.

Several components are involved in order to properly execute Transact SQL, R script, and return all the results back to T-SQL:

Figure 7

Launchpad is a new service in SQL Server 2016 that supports execution of external scripts using the external stored procedure from SQL Server. However, in SQL Server 2017, the Python launcher has also been introduced, making Launchpad generally available to the second non-SQL Server language. The idea behind Launchpad is that since the infrastructure is already prepared, the SQL Server should, in the future, support other languages as well, such as JavaScript and C++, opening this service not only to predictive analytics and machine learning...

Summary

This chapter has given an overview on the ecosystem of the new R Service and the family of R Engine products offered by Microsoft.

When thinking about R and SQL Server, one must keep in mind what the needs in the enterprise will be and how the infrastructure will be prepared in order to leverage the maximum performance from powerful RevoScaleR packages.

In the next chapter, we will see how to use these ScaleR computational functions to deliver better performance results, and how to set up your ecosystem.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Learn how you can combine the power of R and SQL Server 2017 to build efficient, cost-effective data science solutions
  • Leverage the capabilities of R Services to perform advanced analytics—from data exploration to predictive modeling
  • A quick primer with practical examples to help you get up- and- running with SQL Server 2017 Machine Learning Services with R, as part of database solutions with continuous integration / continuous delivery.

Description

R Services was one of the most anticipated features in SQL Server 2016, improved significantly and rebranded as SQL Server 2017 Machine Learning Services. Prior to SQL Server 2016, many developers and data scientists were already using R to connect to SQL Server in siloed environments that left a lot to be desired, in order to do additional data analysis, superseding SSAS Data Mining or additional CLR programming functions. With R integrated within SQL Server 2017, these developers and data scientists can now benefit from its integrated, effective, efficient, and more streamlined analytics environment. This book gives you foundational knowledge and insights to help you understand SQL Server 2017 Machine Learning Services with R. First and foremost, the book provides practical examples on how to implement, use, and understand SQL Server and R integration in corporate environments, and also provides explanations and underlying motivations. It covers installing Machine Learning Services;maintaining, deploying, and managing code;and monitoring your services. Delving more deeply into predictive modeling and the RevoScaleR package, this book also provides insights into operationalizing code and exploring and visualizing data. To complete the journey, this book covers the new features in SQL Server 2017 and how they are compatible with R, amplifying their combined power.

Who is this book for?

This book is for data analysts, data scientists, and database administrators with some or no experience in R but who are eager to easily deliver practical data science solutions in their day-to-day work (or future projects) using SQL Server.

What you will learn

  • Get an overview of SQL Server 2017 Machine Learning Services with R
  • Manage SQL Server Machine Learning Services from installation to configuration and maintenance
  • Handle and operationalize R code
  • Explore RevoScaleR R algorithms and create predictive models
  • Deploy, manage, and monitor database solutions with R
  • Extend R with SQL Server 2017 features
  • Explore the power of R for database administrators
Estimated delivery fee Deliver to Malta

Premium delivery 7 - 10 business days

€32.95
(Includes tracking information)

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Feb 27, 2018
Length: 338 pages
Edition : 1st
Language : English
ISBN-13 : 9781787283572
Vendor :
Oracle
Category :
Languages :
Concepts :
Tools :

What do you get with Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Paperback book shipped to your preferred address
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
OR
Modal Close icon
Payment Processing...
tick Completed

Shipping Address

Billing Address

Shipping Methods
Estimated delivery fee Deliver to Malta

Premium delivery 7 - 10 business days

€32.95
(Includes tracking information)

Product Details

Publication date : Feb 27, 2018
Length: 338 pages
Edition : 1st
Language : English
ISBN-13 : 9781787283572
Vendor :
Oracle
Category :
Languages :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
€18.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
€189.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts
€264.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just €5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 115.97
SQL Server 2017 Machine Learning Services with R
€32.99
SQL Server 2017 Developer???s Guide
€45.99
Hands-On Data Science with SQL Server 2017
€36.99
Total 115.97 Stars icon
Banner background image

Table of Contents

11 Chapters
Introduction to R and SQL Server Chevron down icon Chevron up icon
Overview of Microsoft Machine Learning Server and SQL Server Chevron down icon Chevron up icon
Managing Machine Learning Services for SQL Server 2017 and R Chevron down icon Chevron up icon
Data Exploration and Data Visualization Chevron down icon Chevron up icon
RevoScaleR Package Chevron down icon Chevron up icon
Predictive Modeling Chevron down icon Chevron up icon
Operationalizing R Code Chevron down icon Chevron up icon
Deploying, Managing, and Monitoring Database Solutions containing R Code Chevron down icon Chevron up icon
Machine Learning Services with R for DBAs Chevron down icon Chevron up icon
R and SQL Server 2016/2017 Features Extended Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(8 Ratings)
5 star 62.5%
4 star 25%
3 star 0%
2 star 0%
1 star 12.5%
Filter icon Filter
Top Reviews

Filter reviews by




Weiyun Huang Mar 23, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am one of the Microsoft developers that contributed to some features described in this book (I got this book from the author, for free, but that doesn't have an effect on my review). Therefore, before reading this book, I didn’t expect to see much I didn't already know. However, I was pleasantly surprised. This book not only tells a complete story – which starts from basic things such as installation, user creation, permission setting and goes all the way to extended features such as Polybase – but also comes with a lot of practical examples that can be utilized in various scenarios. To me that’s the most valuable part, as I am not a data scientist (I did study R for my work but never solved any real problems with it) and I am happy to see that using our product people can do so many things with their data! The book also introduces functionalities from different Microsoft products which help the data scientists on machine learning/data mining tasks (some of them I only heard of and never used myself, and it is very helpful to see detailed instructions and screen shots). Following this book step by step, one can easily learn how to use all those tools and mine their data. I especially like the organization of the chapters – from basic to advanced, each chapter clearly defines prerequisites, provides instructions and examples and gives precise comments. IMHO this book is a good reference for people trying to create their data science solutions.
Amazon Verified review Amazon
Andrej Apr 03, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is a great reference for those who work with Microsoft Machine learning server and SQL Server on a regular basis. It is all you need to know in one place. The writing style is very clear and concise, there are a lot of examples that are easily reproducible if you want to try them on your own.
Amazon Verified review Amazon
mjfagan May 26, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am currently working on the Data Science professional program by Microsoft and am taking the Analyzing Big Data with Microsoft R for one of the course options (note: this book isn't required for the class--I just like having reference books that supplement what I'm learning). I've bought several R programming books but this is the first and so far, only, book I've been able to find about SQL Server Machine Learning Services with R.I've read through 5 chapters already and I wish I had it months ago when I was getting started programming in R because I had issues here and there with my machine set-up and the book covered some of the problems I had.If you're new to R programming and machine learning--I'd recommend reading other books that go more into detail about the specifics of the R language, data preparation, modeling, etc. This book doesn't go into the R programming language enough for someone new to the subject to get a handle of the kinds of objects in R, what you can and cannot do with each, etc. Nor does it go into the differences of the different types of regression, how to interpret data to determine features to include/not include in your model, etc.The book does a great job of going through everything in the machine learning process in a SQL Server environment from setup to deployment. I'm glad I've got it on my desk.
Amazon Verified review Amazon
NGson Mar 29, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am one of the program managers who worked with the release of this feature in SQL Server. (I received a copy this book from the author in exchange for my honest opinion). This book does an excellent job at providing an end-to-end guide to SQL Server Machine Learning Services, covering the feature in the context of the full data science process. It targets the different roles involved in a successful deployment of a Machine Learning project and contains very useful content for each of those roles. The roles I am referring to are Data Scientist, data engineer and database administrator. Another thing that makes this book practically very useful is that the authors provide the code files covered per chapter. This makes this book a great training material for anyone who wants to thoroughly learn how to leverage R and Python in SQL Server.
Amazon Verified review Amazon
Matthias Riekert Oct 08, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have more than 5 years of experience with R. However, when I first tried all of Microsoft R's advertised features, it was very difficult to find useful articles, documentation, and blog posts. With the mentioned sources, I also learned for the Exam 773: Analyzing Big Data with Microsoft R. I passed the exam without the book. After buying the book, however, I have the impression that I could have saved a lot of research time.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela