SQL Server 2017 Machine Learning Services with R
eBook - ePub

SQL Server 2017 Machine Learning Services with R

Tomaz Kastrun, Julie Koesmarno

Buch teilen
  1. English
  2. ePUB (handyfreundlich)
  3. Über iOS und Android verfügbar
eBook - ePub

SQL Server 2017 Machine Learning Services with R

Tomaz Kastrun, Julie Koesmarno

Angaben zum Buch
Buchvorschau
Inhaltsverzeichnis
Quellenangaben

Über dieses Buch

Develop and run efficient R scripts and predictive models for SQL Server 2017About This Book• 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.Who This Book Is ForThis 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 administratorsIn DetailR 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.Style and approachThis fast-paced guide will help data scientists and DBAs implement all new data science projects using SQL Server 2017 Machine Learning Services.

Häufig gestellte Fragen

Wie kann ich mein Abo kündigen?
Gehe einfach zum Kontobereich in den Einstellungen und klicke auf „Abo kündigen“ – ganz einfach. Nachdem du gekündigt hast, bleibt deine Mitgliedschaft für den verbleibenden Abozeitraum, den du bereits bezahlt hast, aktiv. Mehr Informationen hier.
(Wie) Kann ich Bücher herunterladen?
Derzeit stehen all unsere auf Mobilgeräte reagierenden ePub-Bücher zum Download über die App zur Verfügung. Die meisten unserer PDFs stehen ebenfalls zum Download bereit; wir arbeiten daran, auch die übrigen PDFs zum Download anzubieten, bei denen dies aktuell noch nicht möglich ist. Weitere Informationen hier.
Welcher Unterschied besteht bei den Preisen zwischen den Aboplänen?
Mit beiden Aboplänen erhältst du vollen Zugang zur Bibliothek und allen Funktionen von Perlego. Die einzigen Unterschiede bestehen im Preis und dem Abozeitraum: Mit dem Jahresabo sparst du auf 12 Monate gerechnet im Vergleich zum Monatsabo rund 30 %.
Was ist Perlego?
Wir sind ein Online-Abodienst für Lehrbücher, bei dem du für weniger als den Preis eines einzelnen Buches pro Monat Zugang zu einer ganzen Online-Bibliothek erhältst. Mit über 1 Million Büchern zu über 1.000 verschiedenen Themen haben wir bestimmt alles, was du brauchst! Weitere Informationen hier.
Unterstützt Perlego Text-zu-Sprache?
Achte auf das Symbol zum Vorlesen in deinem nächsten Buch, um zu sehen, ob du es dir auch anhören kannst. Bei diesem Tool wird dir Text laut vorgelesen, wobei der Text beim Vorlesen auch grafisch hervorgehoben wird. Du kannst das Vorlesen jederzeit anhalten, beschleunigen und verlangsamen. Weitere Informationen hier.
Ist SQL Server 2017 Machine Learning Services with R als Online-PDF/ePub verfügbar?
Ja, du hast Zugang zu SQL Server 2017 Machine Learning Services with R von Tomaz Kastrun, Julie Koesmarno im PDF- und/oder ePub-Format sowie zu anderen beliebten Büchern aus Informatique & Traitement des données. Aus unserem Katalog stehen dir über 1 Million Bücher zur Verfügung.

Information

Jahr
2018
ISBN
9781787280922

Deploying, Managing, and Monitoring Database Solutions containing R Code

Operationalizing R code in a SQL Server database means that data scientists/database developers can also leverage productionizing data science solutions as part of Database Lifecycle Management (DLM). This includes the following:
  • Checking in R code as part of a SQL Server database project into a version control
  • Adding the stored procedures for the data science solution as part of SQL Server unit tests
  • Integrating the data science solution into the Continuous Integration/Continuous Delivery (CI/CD) process
  • Monitoring performance of the data science solution in the production on a regular basis
In this chapter, we will be using SQL Server Data Tools (SSDT) in Visual Studio 2017 and Visual Studio Team Services to perform this DLM workflow. However, the underlying concept can be applied to any other CI/CD platform that you or your team might already be using.

Integrating R into the SQL Server Database lifecycle workflow

Earlier in Chapter 7, Operationalizing R Prediction Models, we discussed how to create an R project in Visual Studio 2017. We also talked about integrating R code as part of sp_execute_external_script in SQL Server. Here, we will revisit Visual Studio 2017, specifically in the context of integrating R code in sp_execute_external_script as part of a SQL Server Database Project, and holistically as part of the database lifecycle workflow.

Preparing your environment for the database lifecycle workflow

In this section, we will discuss the stages of the database lifecycle workflow and the tools that we will be using. For each of the stages in the workflow, there will also be some suggested alternatives for you to explore.
  1. Coding and managing SQL Server database projects/solutions: There are a few different ways to manage your SQL Server DML/DDL scripts that form a SQL Server database project. SQL SSDT in Visual Studio 2017 (VS2017) is a mature product that formalizes the creation and modification of Database Schema and Objects. In this section, we will use SSDT in VS2017.
You can use VS2017 Community, Professional, or Enterprise editions. Please check https://www.visualstudio.com/vs/compare/ for more up-to-date information on how these editions compare. In the walkthroughs and examples in this section, we will be using Visual Studio Enterprise Edition, but you can use any of the editions. You can download these from: https://www.visualstudio.com/vs/.
Other following alternatives worth trying are:
    • SQL Server Management Studio: There are a few plugins developed by RedGate that can enrich DevOps/Database Lifecycle Management
    • SQL Operations Studio (in Preview): This tool is built based on VS Code, which means that it has high potential of meeting DevOps workflows too, including source control
  1. Unit testing: Just like application development, database development would benefit from a unit testing framework, especially if it can be automated. There are two well-known unit testing frameworks that are available for SQL Server databases, tSQLt, and SQL Server Unit Test integrated in Visual Studio. Here are the links:
    • tSQLt: http://tsqlt.org/
    • SQL Server Unit Test in Visual Studio: https://msdn.microsoft.com/en-us/library/jj851200(v=vs.103).aspx
In this section, we will use SQL Server Unit Test in VS2017.
Another tool worth trying is:
    • RedGate SQL Test that is based on the tSQLt framework, an extension of SSMS
  1. Version Control: There are a number of popular choices for Version Control systems out there, for example, Git and Team Foundation Version Control (TFVC). In this section, we will use TFVC hosted in Visual Studio Team Services (VSTS). VS2017 can connect to a VSTS repository. You can sign up for a VSTS account online at: https://www.visualstudio.com/team-services/.
Other alternatives worth trying are:
Using Visual Studio, you can connect to online version control hosts, such as GitHub and...

Inhaltsverzeichnis