SQL Server 2017 Machine Learning Services with R
eBook - ePub

SQL Server 2017 Machine Learning Services with R

Tomaz Kastrun, Julie Koesmarno

Compartir libro
  1. English
  2. ePUB (apto para móviles)
  3. Disponible en iOS y Android
eBook - ePub

SQL Server 2017 Machine Learning Services with R

Tomaz Kastrun, Julie Koesmarno

Detalles del libro
Vista previa del libro
Índice
Citas

Información del 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.

Preguntas frecuentes

¿Cómo cancelo mi suscripción?
Simplemente, dirígete a la sección ajustes de la cuenta y haz clic en «Cancelar suscripción». Así de sencillo. Después de cancelar tu suscripción, esta permanecerá activa el tiempo restante que hayas pagado. Obtén más información aquí.
¿Cómo descargo los libros?
Por el momento, todos nuestros libros ePub adaptables a dispositivos móviles se pueden descargar a través de la aplicación. La mayor parte de nuestros PDF también se puede descargar y ya estamos trabajando para que el resto también sea descargable. Obtén más información aquí.
¿En qué se diferencian los planes de precios?
Ambos planes te permiten acceder por completo a la biblioteca y a todas las funciones de Perlego. Las únicas diferencias son el precio y el período de suscripción: con el plan anual ahorrarás en torno a un 30 % en comparación con 12 meses de un plan mensual.
¿Qué es Perlego?
Somos un servicio de suscripción de libros de texto en línea que te permite acceder a toda una biblioteca en línea por menos de lo que cuesta un libro al mes. Con más de un millón de libros sobre más de 1000 categorías, ¡tenemos todo lo que necesitas! Obtén más información aquí.
¿Perlego ofrece la función de texto a voz?
Busca el símbolo de lectura en voz alta en tu próximo libro para ver si puedes escucharlo. La herramienta de lectura en voz alta lee el texto en voz alta por ti, resaltando el texto a medida que se lee. Puedes pausarla, acelerarla y ralentizarla. Obtén más información aquí.
¿Es SQL Server 2017 Machine Learning Services with R un PDF/ePUB en línea?
Sí, puedes acceder a SQL Server 2017 Machine Learning Services with R de Tomaz Kastrun, Julie Koesmarno en formato PDF o ePUB, así como a otros libros populares de Informatique y Traitement des données. Tenemos más de un millón de libros disponibles en nuestro catálogo para que explores.

Información

Año
2018
ISBN
9781787280922
Edición
1
Categoría
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...

Índice