万本电子书0元读

万本电子书0元读

顶部广告

SQL Server 2017 Machine Learning Services with R电子书

售       价:¥

10人正在读 | 0人评论 9.8

作       者:Tomaž Kaštrun,Julie Koesmarno

出  版  社:Packt Publishing

出版时间:2018-02-27

字       数:30.4万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Develop and run efficient R *s and predictive models for SQL Server 2017 About 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 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 In Detail 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. Style and approach This fast-paced guide will help data scientists and DBAs implement all new data science projects using SQL Server 2017 Machine Learning Services.
目录展开

Title Page

Copyright and Credits

SQL Server 2017 Machine Learning Services with R

www.PacktPub.com

Why subscribe?

PacktPub.com

Contributors

About the authors

About the reviewers

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Conventions used

Get in touch

Reviews

Introduction to R and SQL Server

Using R prior to SQL Server 2016

Microsoft's commitment to the open source R language

Boosting analytics with SQL Server R integration

Summary

Overview of Microsoft Machine Learning Server and SQL Server

Analytical barriers

The Microsoft Machine learning R Server platform

Microsoft R Open (MRO)

Microsoft Machine Learning R Server

Microsoft SQL Server Machine Learning R Services

R Tools for Visual Studio (RTVS)

The Microsoft Machine Learning R Services architecture

R Limitations

Performance issues

Memory limitations

Security aspects

Language syntax

Summary

Managing Machine Learning Services for SQL Server 2017 and R

Minimum requirements

Choosing the edition

Configuring the database

Configuring the environment and installing R Tools for Visual Studio (RTVS)

Security

Resource Governor

Installing new R packages

Package information

Using R Tools for Visual Studio (RTVS) 2015 or higher

Using R.exe in CMD

Using XP_CMDSHELL

Copying files

Using the rxInstallPackages function

Managing SQL Server R Services with PowerShell

Getting to know the sp_execute_external_script external procedure

Arguments

Summary

Data Exploration and Data Visualization

Understanding SQL and R data types

Data frames in R

Data exploration and data munging

Importing SQL Server data into R

Exploring data in R

Data munging in R

Adding/removing rows/columns in data frames

More data munging with dplyr

Finding missing values

Transpose data

Pivot / Unpivot data

Example - data exploration and munging using R in T-SQL

Data visualization in R

Plot

Histogram

Boxplot

Scatter plot

Tree diagram

Example – R data visualization in T-SQL

Integrating R code in reports and visualizations

Integrating R in SSRS reports

Integrating R in Power BI

Summary

RevoScaleR Package

Overcomming R language limitations

Scalable and distributive computational environments

Functions for data preparation

Data import from SAS, SPSS, and ODBC

Importing SAS data

Importing SPSS data

Importing data using ODBC

Variable creation and data transformation

Variable creation and recoding

Dataset subsetting

Dataset merging

Functions for descriptive statistics

Functions for statistical tests and sampling

Summary

Predictive Modeling

Data modeling

Advanced predictive algorithms and analytics

Deploying and using predictive solutions

Performing predictions with R Services in the SQL Server database

Summary

Operationalizing R Code

Integrating an existing R model

Prerequisite – prepare the data

Step 1 – Train and save a model using T-SQL

Step 2 – Operationalize the model

Fast batch prediction

Prerequisites

Real-time scoring

Native scoring

Integrating the R model for fast batch prediction

Step 1 – Train and save a real-time scoring model using T-SQL

Step 2a – Operationalize the model using real-time scoring

Step 2b – Operationalize the model using native scoring

Managing roles and permissions for workloads

Extensibility framework workloads

Fast batch prediction workloads

External packages

Tools

Using SSMS as part of operationalizing R script

Using custom reports for SQL Server R Services

Adding the custom reports for the first time

Viewing an R Services custom report

Managing SQL Server Machine Learning Services with DMVs

System configuration and system resources

Resource governor

Operationalizing R code with Visual Studio

Integrating R workloads and prediction operations beyond SQL Server

Executing SQL Server prediction operations via PowerShell

Scheduling training and prediction operations

Operationalizing R script as part of SSIS

Summary

Deploying, Managing, and Monitoring Database Solutions containing R Code

Integrating R into the SQL Server Database lifecycle workflow

Preparing your environment for the database lifecycle workflow

Prerequisites for this chapter

Creating the SQL Server database project

Importing an existing database into the project

Adding a new stored procedure object

Publishing schema changes

Adding a unit test against a stored procedure

Using version control

Setting up continuous integration

Creating a build definition in VSTS

Deploying the build to a local SQL Server instance

Adding the test phase to the build definition

Automating the build for CI

Setting up continuous delivery

Monitoring the accuracy of the productionized model

Useful references

Summary

Machine Learning Services with R for DBAs

Gathering relevant data

Exploring and analyzing data

Creating a baseline and workloads, and replaying

Creating predictions with R - disk usage

Summary

R and SQL Server 2016/2017 Features Extended

Built-in JSON capabilities

Accessing external data sources using PolyBase

High performance using ColumnStore and in memory OLTP

Testing rxLinMod performance on a table with a primary key

Testing rxLinMod performance on a table with a clustered ColumnStore index

Testing rxLinMod performance on a memory-optimized table with a primary key

Testing rxLinMod performance on a memory-optimized table with a clustered ColumnStore index

Comparing results

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部