SlideShare a Scribd company logo
Hiram Fleitas
Fleitas Arts
Public: goo.gl/BqfYSi
Real-time Sentiment Prediction
in SQL Server
Please silence
cell phones
Session
evaluations
Your feedback is very
important.
This is the link:
Submit your feedback by the end of this
presentation.
goo.gl/Jj1yBq
BIOFather
Principal DB Architect
*SQL Server since 1999
Developer since 1995
IT Professional
USCG Auxiliary Staff Officer
Microsoft Certified Professional
Hiram Fleitas
Principal Database Architect @UPCIC
/HiramFleitas
hiramfleitas@hotmail.com
dba2o.wordpress.comHiramFleitas
@HiramFleitas
/hfleitas
FUNConstruction & Family
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
DEMOSQL Server
Machine Learning & AI
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
Summary
• Add ML Features (exe components)
• Grant Access (users, groups, add login & user)
• Config (external scripts enabled, working directory)
• Install Pre-Trained & Open Source ML Models (DNN) (PowerShell,
rsetup.exe)
• Code in Python and T-SQL (visual studio, SSMS)
• Python Profiling (visual studio, execution plan, CPU)
• Real-time scoring (rx_serialize_model, realtime_scoring_only = True)
• Review Sentiment Results (sp_rxPredict wins!)
• Resources
Hiram Fleitas
Saturday, March 2nd, 2019
9:50 am - 11 am
SQL / BI
Resources
• Blog: https://dba2o.wordpress.com
• Slides & Scripts: https://goo.gl/BqfYSi
• SQL Server R Services Samples: Microsoft Repo
• Visual Studio 2017: Download
• Microsoft AI: AI School Learning Paths
• Pre-Trained ML Models: Install in SQL Server
• SQL Server Machine Learning Services: Tutorials
• SQL Server Components to Support Python: Interaction of
Components
• Threading ML: Logistic Regression
• Resource Governor: Alter External Resource Pool
• Interactive deep learning: Learn alert
Thank YouHiram Fleitas
Hit me up!
/HiramFleitas
hiramfleitas@hotmail.com
dba2o.wordpress.comHiramFleitas
@HiramFleitas
/hfleitas

More Related Content

Similar to (SQL ML) Hiram Fleitas - Real-time Sentiment Prediction in SQL Server

(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time
(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time
(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot TimeHiram Fleitas León
 
Introduction to Office 365 Administration - SPSVB 2019
Introduction to Office 365 Administration - SPSVB 2019Introduction to Office 365 Administration - SPSVB 2019
Introduction to Office 365 Administration - SPSVB 2019Nikkia Carter
 
App.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application DevelopmentApp.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application DevelopmentTeamstudio
 
Huffman_Frank_Res_Final
Huffman_Frank_Res_FinalHuffman_Frank_Res_Final
Huffman_Frank_Res_FinalFrank Huffman
 
AUGNYC June 21 Presentations
AUGNYC June 21 PresentationsAUGNYC June 21 Presentations
AUGNYC June 21 PresentationsMarlon Palha
 
Resume -Senthil Kumar
Resume -Senthil Kumar Resume -Senthil Kumar
Resume -Senthil Kumar senthil kumar
 
How to best setup SharePoint 2013, Web Apps, Workflow Manager with Powershell
How to best setup SharePoint 2013, Web Apps, Workflow Manager with PowershellHow to best setup SharePoint 2013, Web Apps, Workflow Manager with Powershell
How to best setup SharePoint 2013, Web Apps, Workflow Manager with PowershellSamuel Zürcher
 
Teams Nation 2024 - #Copilot & Teams or Just Premium.pptx
Teams Nation 2024 - #Copilot & Teams or Just Premium.pptxTeams Nation 2024 - #Copilot & Teams or Just Premium.pptx
Teams Nation 2024 - #Copilot & Teams or Just Premium.pptxKai Stenberg
 
Customizing SharePoint Online
Customizing SharePoint OnlineCustomizing SharePoint Online
Customizing SharePoint OnlineBert Johnson
 
Stephen_Owen_Profile_v2
Stephen_Owen_Profile_v2Stephen_Owen_Profile_v2
Stephen_Owen_Profile_v2Stephen Owen
 
Great Add-ons for Improving Teamwork
Great Add-ons for Improving TeamworkGreat Add-ons for Improving Teamwork
Great Add-ons for Improving TeamworkAtlassian
 
M.Hines Resume - March 2016 - ver.
M.Hines Resume - March 2016 - ver.M.Hines Resume - March 2016 - ver.
M.Hines Resume - March 2016 - ver.Mike Hines
 
How to transport PeopleSoft Crystal to BIP via automation_M.... (1).pptx
How to transport PeopleSoft Crystal to BIP via automation_M.... (1).pptxHow to transport PeopleSoft Crystal to BIP via automation_M.... (1).pptx
How to transport PeopleSoft Crystal to BIP via automation_M.... (1).pptxssuser225811
 
Serverless patterns v2 public
Serverless patterns v2 publicServerless patterns v2 public
Serverless patterns v2 publicYochay Kiriaty
 
#SPSToronto 2018 migrate you custom development to the SharePoint Framework
#SPSToronto 2018 migrate you custom development to the SharePoint Framework#SPSToronto 2018 migrate you custom development to the SharePoint Framework
#SPSToronto 2018 migrate you custom development to the SharePoint FrameworkVincent Biret
 
Ipsita_Informatica_9Year
Ipsita_Informatica_9YearIpsita_Informatica_9Year
Ipsita_Informatica_9Yearipsita mohanty
 

Similar to (SQL ML) Hiram Fleitas - Real-time Sentiment Prediction in SQL Server (20)

(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time
(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time
(AI Bot - Azure Cloud) Hiram Fleitas - It's a'Bot Time
 
Introduction to Office 365 Administration - SPSVB 2019
Introduction to Office 365 Administration - SPSVB 2019Introduction to Office 365 Administration - SPSVB 2019
Introduction to Office 365 Administration - SPSVB 2019
 
App.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application DevelopmentApp.Next - The Future of Domino Application Development
App.Next - The Future of Domino Application Development
 
Final Presentation
Final PresentationFinal Presentation
Final Presentation
 
Huffman_Frank_Res_Final
Huffman_Frank_Res_FinalHuffman_Frank_Res_Final
Huffman_Frank_Res_Final
 
AUGNYC June 21 Presentations
AUGNYC June 21 PresentationsAUGNYC June 21 Presentations
AUGNYC June 21 Presentations
 
Resume -Senthil Kumar
Resume -Senthil Kumar Resume -Senthil Kumar
Resume -Senthil Kumar
 
How to best setup SharePoint 2013, Web Apps, Workflow Manager with Powershell
How to best setup SharePoint 2013, Web Apps, Workflow Manager with PowershellHow to best setup SharePoint 2013, Web Apps, Workflow Manager with Powershell
How to best setup SharePoint 2013, Web Apps, Workflow Manager with Powershell
 
Teams Nation 2024 - #Copilot & Teams or Just Premium.pptx
Teams Nation 2024 - #Copilot & Teams or Just Premium.pptxTeams Nation 2024 - #Copilot & Teams or Just Premium.pptx
Teams Nation 2024 - #Copilot & Teams or Just Premium.pptx
 
Steves jobs
Steves jobsSteves jobs
Steves jobs
 
Anthony 2-5-15
Anthony 2-5-15Anthony 2-5-15
Anthony 2-5-15
 
Customizing SharePoint Online
Customizing SharePoint OnlineCustomizing SharePoint Online
Customizing SharePoint Online
 
Stephen_Owen_Profile_v2
Stephen_Owen_Profile_v2Stephen_Owen_Profile_v2
Stephen_Owen_Profile_v2
 
Great Add-ons for Improving Teamwork
Great Add-ons for Improving TeamworkGreat Add-ons for Improving Teamwork
Great Add-ons for Improving Teamwork
 
M.Hines Resume - March 2016 - ver.
M.Hines Resume - March 2016 - ver.M.Hines Resume - March 2016 - ver.
M.Hines Resume - March 2016 - ver.
 
How to transport PeopleSoft Crystal to BIP via automation_M.... (1).pptx
How to transport PeopleSoft Crystal to BIP via automation_M.... (1).pptxHow to transport PeopleSoft Crystal to BIP via automation_M.... (1).pptx
How to transport PeopleSoft Crystal to BIP via automation_M.... (1).pptx
 
Manish Kumar
Manish KumarManish Kumar
Manish Kumar
 
Serverless patterns v2 public
Serverless patterns v2 publicServerless patterns v2 public
Serverless patterns v2 public
 
#SPSToronto 2018 migrate you custom development to the SharePoint Framework
#SPSToronto 2018 migrate you custom development to the SharePoint Framework#SPSToronto 2018 migrate you custom development to the SharePoint Framework
#SPSToronto 2018 migrate you custom development to the SharePoint Framework
 
Ipsita_Informatica_9Year
Ipsita_Informatica_9YearIpsita_Informatica_9Year
Ipsita_Informatica_9Year
 

Recently uploaded

Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesGlobus
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
 
Software Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdfSoftware Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdfMayankTawar1
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Globus
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandIES VE
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxvarshanayak241
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisGlobus
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...Juraj Vysvader
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Globus
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsGlobus
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowPeter Caitens
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfkalichargn70th171
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Shahin Sheidaei
 

Recently uploaded (20)

Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
How to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good PracticesHow to Position Your Globus Data Portal for Success Ten Good Practices
How to Position Your Globus Data Portal for Success Ten Good Practices
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Software Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdfSoftware Testing Exam imp Ques Notes.pdf
Software Testing Exam imp Ques Notes.pdf
 
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...
 
Using IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New ZealandUsing IESVE for Room Loads Analysis - Australia & New Zealand
Using IESVE for Room Loads Analysis - Australia & New Zealand
 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
 
Strategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptxStrategies for Successful Data Migration Tools.pptx
Strategies for Successful Data Migration Tools.pptx
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
Cyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdfCyaniclab : Software Development Agency Portfolio.pdf
Cyaniclab : Software Development Agency Portfolio.pdf
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
First Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User EndpointsFirst Steps with Globus Compute Multi-User Endpoints
First Steps with Globus Compute Multi-User Endpoints
 
Advanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should KnowAdvanced Flow Concepts Every Developer Should Know
Advanced Flow Concepts Every Developer Should Know
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
Gamify Your Mind; The Secret Sauce to Delivering Success, Continuously Improv...
 

(SQL ML) Hiram Fleitas - Real-time Sentiment Prediction in SQL Server

  • 1. Hiram Fleitas Fleitas Arts Public: goo.gl/BqfYSi Real-time Sentiment Prediction in SQL Server
  • 3.
  • 4.
  • 5. Session evaluations Your feedback is very important. This is the link: Submit your feedback by the end of this presentation. goo.gl/Jj1yBq
  • 6. BIOFather Principal DB Architect *SQL Server since 1999 Developer since 1995 IT Professional USCG Auxiliary Staff Officer Microsoft Certified Professional Hiram Fleitas Principal Database Architect @UPCIC /HiramFleitas hiramfleitas@hotmail.com dba2o.wordpress.comHiramFleitas @HiramFleitas /hfleitas FUNConstruction & Family
  • 7. 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
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47.
  • 48.
  • 49.
  • 50.
  • 51.
  • 52. 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
  • 53. Summary • Add ML Features (exe components) • Grant Access (users, groups, add login & user) • Config (external scripts enabled, working directory) • Install Pre-Trained & Open Source ML Models (DNN) (PowerShell, rsetup.exe) • Code in Python and T-SQL (visual studio, SSMS) • Python Profiling (visual studio, execution plan, CPU) • Real-time scoring (rx_serialize_model, realtime_scoring_only = True) • Review Sentiment Results (sp_rxPredict wins!) • Resources
  • 54. Hiram Fleitas Saturday, March 2nd, 2019 9:50 am - 11 am SQL / BI Resources • Blog: https://dba2o.wordpress.com • Slides & Scripts: https://goo.gl/BqfYSi • SQL Server R Services Samples: Microsoft Repo • Visual Studio 2017: Download • Microsoft AI: AI School Learning Paths • Pre-Trained ML Models: Install in SQL Server • SQL Server Machine Learning Services: Tutorials • SQL Server Components to Support Python: Interaction of Components • Threading ML: Logistic Regression • Resource Governor: Alter External Resource Pool • Interactive deep learning: Learn alert
  • 55. Thank YouHiram Fleitas Hit me up! /HiramFleitas hiramfleitas@hotmail.com dba2o.wordpress.comHiramFleitas @HiramFleitas /hfleitas