Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Data Science with SQL Server 2017

You're reading from  Hands-On Data Science with SQL Server 2017

Product type Book
Published in Nov 2018
Publisher Packt
ISBN-13 9781788996341
Pages 506 pages
Edition 1st Edition
Languages
Authors (2):
Marek Chmel Marek Chmel
Profile icon Marek Chmel
Vladimír Mužný Vladimír Mužný
Profile icon Vladimír Mužný
View More author details
Toc

Table of Contents (14) Chapters close

Preface 1. Data Science Overview 2. SQL Server 2017 as a Data Science Platform 3. Data Sources for Analytics 4. Data Transforming and Cleaning with T-SQL 5. Data Exploration and Statistics with T-SQL 6. Custom Aggregations on SQL Server 7. Data Visualization 8. Data Transformations with Other Tools 9. Predictive Model Training and Evaluation 10. Making Predictions 11. Getting It All Together - A Real-World Example 12. Next Steps with Data Science and SQL 13. Other Books You May Enjoy

Using the PREDICT keyword

SQL Server 2017 introduces the new PREDICT function. This function makes prediction computations much simpler than those that are calculated using R or Python languages, which we looked at in the preceding section. However, the PREDICT function doesn't work with every model that is trained in the arbitrary R (or Python) library.

When the SQL Server started providing machine learning services, new libraries called RevoScaleR for R and RevoScalePy for Python were introduced. These libraries contain their own implementation of several predictive algorithms and also offer the ability to process data in parallel.

Using one of these libraries is a prerequisite when we want to use the PREDICT function. We must also fulfill the following prerequisites:

  • We should use one of following algorithms:
    • rxLinMod
    • rxLogit
    • rxBTrees
    • rxDtree
    • rxForest
    • rxFastTrees
    • rxFastForest...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime