SQL Server 2017 Machine Learning Services with R
eBook - ePub

SQL Server 2017 Machine Learning Services with R

Tomaz Kastrun, Julie Koesmarno

Condividi libro
  1. English
  2. ePUB (disponibile sull'app)
  3. Disponibile su iOS e Android
eBook - ePub

SQL Server 2017 Machine Learning Services with R

Tomaz Kastrun, Julie Koesmarno

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

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.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
SQL Server 2017 Machine Learning Services with R è disponibile online in formato PDF/ePub?
Sì, puoi accedere a SQL Server 2017 Machine Learning Services with R di Tomaz Kastrun, Julie Koesmarno in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Informatique e Traitement des données. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2018
ISBN
9781787280922
Edizione
1
Argomento
Informatique

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...

Indice dei contenuti