Microsoft BI User Group South Florida
Hiram Fleitas
Universal Property & Casualty Insurance Company
Public: goo.gl/BqfYSi
Using Machine Learning and Python In SQL Server
To Predict The Sentiment (On-Premise)
Please silence
cell phones
Explore everything PASS has to offer
Free online webinars Local user groups
around the world
Free 1-day local
training events
Online special
interest user groups
Business analytics
training
Get involved
Free Online Resources
PASS Blog
White Papers
Session Recordings
Newsletter
PASS Connector
BA Insights
www.pass.org
Session evaluations
Your feedback is important and valuable.
Submit your feedback by the end of this session to win a prize.
hiram/evalsgoo.gl/mpcvCA
goo.gl/mpcvCA
BIO
Father, SQL Server DBA/Dev, IT Pro,
GRT, USCG Auxiliary.
*Dev since 1995.
*SQL since 1999.
FUN
Wakeboard, Wakesurf, Snowboard,
GORUCK, Family.
/HiramFleitas
hiramfleitas@hotmail.com
dba2o.wordpress.comHiramFleitas
@HiramFleitas
Hiram Fleitas
Principal Database Architect @UPCIC
/hfleitas
Agenda
• Add ML Features
• Grant Access
• Config
• Install Pre-Trained & Open Source ML Models (DNN)
• Code in Python and T-SQL
• Python Profiling
• Real-time scoring
• Review Sentiment Results
• Resources
• Raffle
DEMOSQL Server
Machine Learning & AI
SQL ML / AI
Not in 2019ctp2
2019ctp2
2017
2019ctp2
2017
2019ctp2
2017
2019ctp2
6
8999 8999
30 17 30.2
529.35
2999.66
0
1000
2000
3000
4000
5000
6000
7000
8000
9000
10000
PySQL In-DB CLR
5x Faster (sp_rxPredict) – Laptop
Rows Seconds RPS
Resources
Slides, Scripts, Recordings, Notes:
• Public: https://goo.gl/BqfYSi
• Sneak Peeks: 2017 Videos
• PASStv: http://pass.org/summit/2017/PASStv.aspx
• Keynote Day 1: https://youtu.be/NGbk9XGWTHI
• Microsoft BI - An Integrated Modern Solution: https://youtu.be/T0If-SNl08A
• Keynote Day 2: https://youtu.be/7SRi9vyDtWY
• Keynote Day 3 (WIT): https://youtu.be/8JnXi0gnTb8
• Speakers: http://pass.org/summit/2017/Speakers.aspx
• Power BI galleries: Galleries
• Power BI webinars: Webinars
• Apply Forecasting: Desktop analytics pane
• Power BI Report Server Documentation: Get started
• Microsoft SQL Server Mobile Report Publisher: Download
• Power BI Desktop: Download
• The Roadmap for SQL Server 2019: https://youtu.be/PbJB--ntCaE
More:
• @sqlpass, #PASSSummit, #PowerBIHelp, #sqlhelp, @MSPowerBI, @mssqltiger
• Join Slack workspace: http://dbatools.io/slack
• Slack channels: #dbatools, #firstresponderkit, #general, #pass-summit, #query-
tuning, #sqlhelp, #git-help
• Pass Virtual Groups: Community Groups (App Dev, BI, DBA, DevOps, Global Spanish,
HA/DR, Performance, PowerShell, Virtualization, Linux)
• More webinars: Channel9, GroupBy, SQLWorkBooks
• Microsoft AI: AI School Learning Paths
• Models: Install pre-trained Machine Learning models on SQL Server
• Tutorials: Get Started with SQL Server Machine Learning Services
• Interaction of Components: SQL Server Components to Support Python
• Threading ML: Logistic Regression
• Resource Governor: Alter External Resource Pool
• Product Reviews Dataset: Amazon Customer Reviews Dataset
• Spyder IDE: Download Spyder with Anaconda (631MB)
• VSCode: Download (43 MB)
• Visual Studio: Downloads
Hiram Fleitas
Thurs, Oct 25
6 pm - 9 pm
Business Intelligence
Sponsor
Session evaluations
Your feedback is important and valuable.
Submit your feedback by the end of this session to win a prize.
hiram/evalsgoo.gl/mpcvCA
goo.gl/mpcvCA
Thank You
Hit me up!
hiramfleitas@hotmail.com
dba2o.wordpress.comHiramFleitas
@HiramFleitas
/hfleitas/HiramFleitas

(BI Advanced) Hiram Fleitas - SQL Server Machine Learning Predict Sentiment On-Prem in Real-Time

  • 1.
    Microsoft BI UserGroup South Florida Hiram Fleitas Universal Property & Casualty Insurance Company Public: goo.gl/BqfYSi Using Machine Learning and Python In SQL Server To Predict The Sentiment (On-Premise)
  • 2.
  • 4.
    Explore everything PASShas to offer Free online webinars Local user groups around the world Free 1-day local training events Online special interest user groups Business analytics training Get involved Free Online Resources PASS Blog White Papers Session Recordings Newsletter PASS Connector BA Insights www.pass.org
  • 5.
    Session evaluations Your feedbackis important and valuable. Submit your feedback by the end of this session to win a prize. hiram/evalsgoo.gl/mpcvCA goo.gl/mpcvCA
  • 6.
    BIO Father, SQL ServerDBA/Dev, IT Pro, GRT, USCG Auxiliary. *Dev since 1995. *SQL since 1999. FUN Wakeboard, Wakesurf, Snowboard, GORUCK, Family. /HiramFleitas hiramfleitas@hotmail.com dba2o.wordpress.comHiramFleitas @HiramFleitas Hiram Fleitas Principal Database Architect @UPCIC /hfleitas
  • 7.
    Agenda • Add MLFeatures • Grant Access • Config • Install Pre-Trained & Open Source ML Models (DNN) • Code in Python and T-SQL • Python Profiling • Real-time scoring • Review Sentiment Results • Resources • Raffle
  • 8.
  • 9.
  • 13.
  • 14.
  • 16.
  • 17.
  • 18.
  • 19.
  • 50.
    6 8999 8999 30 1730.2 529.35 2999.66 0 1000 2000 3000 4000 5000 6000 7000 8000 9000 10000 PySQL In-DB CLR 5x Faster (sp_rxPredict) – Laptop Rows Seconds RPS
  • 57.
    Resources Slides, Scripts, Recordings,Notes: • Public: https://goo.gl/BqfYSi • Sneak Peeks: 2017 Videos • PASStv: http://pass.org/summit/2017/PASStv.aspx • Keynote Day 1: https://youtu.be/NGbk9XGWTHI • Microsoft BI - An Integrated Modern Solution: https://youtu.be/T0If-SNl08A • Keynote Day 2: https://youtu.be/7SRi9vyDtWY • Keynote Day 3 (WIT): https://youtu.be/8JnXi0gnTb8 • Speakers: http://pass.org/summit/2017/Speakers.aspx • Power BI galleries: Galleries • Power BI webinars: Webinars • Apply Forecasting: Desktop analytics pane • Power BI Report Server Documentation: Get started • Microsoft SQL Server Mobile Report Publisher: Download • Power BI Desktop: Download • The Roadmap for SQL Server 2019: https://youtu.be/PbJB--ntCaE More: • @sqlpass, #PASSSummit, #PowerBIHelp, #sqlhelp, @MSPowerBI, @mssqltiger • Join Slack workspace: http://dbatools.io/slack • Slack channels: #dbatools, #firstresponderkit, #general, #pass-summit, #query- tuning, #sqlhelp, #git-help • Pass Virtual Groups: Community Groups (App Dev, BI, DBA, DevOps, Global Spanish, HA/DR, Performance, PowerShell, Virtualization, Linux) • More webinars: Channel9, GroupBy, SQLWorkBooks • Microsoft AI: AI School Learning Paths • Models: Install pre-trained Machine Learning models on SQL Server • Tutorials: Get Started with SQL Server Machine Learning Services • Interaction of Components: SQL Server Components to Support Python • Threading ML: Logistic Regression • Resource Governor: Alter External Resource Pool • Product Reviews Dataset: Amazon Customer Reviews Dataset • Spyder IDE: Download Spyder with Anaconda (631MB) • VSCode: Download (43 MB) • Visual Studio: Downloads Hiram Fleitas Thurs, Oct 25 6 pm - 9 pm Business Intelligence
  • 58.
  • 59.
    Session evaluations Your feedbackis important and valuable. Submit your feedback by the end of this session to win a prize. hiram/evalsgoo.gl/mpcvCA goo.gl/mpcvCA
  • 60.
    Thank You Hit meup! hiramfleitas@hotmail.com dba2o.wordpress.comHiramFleitas @HiramFleitas /hfleitas/HiramFleitas