Skip to main content

Productionizing Data Science Models and Data Wrangling Scripts

  • Chapter
  • First Online:
Advanced Analytics in Power BI with R and Python
  • 2496 Accesses

Abstract

The data wrangling scripts and data scoring scripts in the previous chapters work great in a self-service situation or in small shops where one person is responsible for maintaining the Power BI data models. That is because in those situations you can get away with using the personal version of the on-premises data gateway. But, the enterprise version of the on-premises data gateway is required for enterprise solutions, and it does not allow the use of R or Python scripts embedded in Power BI. Fortunately, you can overcome this limitation using a relatively new feature in SQL Server known as SQL Server Machine Learning Services (SSMLS). SSMLS is a feature of SQL Server that enables you to perform advanced data analytics inside the database via R and Python scripts that are wrapped in a special T-SQL stored procedure. Since you are able to fetch data via a stored procedure call using the on-premises data gateway, you can refactor your previously written data wrangling and data scoring scripts in Power BI to an enterprise solution by wrapping the scripts in a stored procedure.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Ryan Wade

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Wade, R. (2020). Productionizing Data Science Models and Data Wrangling Scripts. In: Advanced Analytics in Power BI with R and Python. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-5829-3_10

Download citation

Publish with us

Policies and ethics