SlideShare une entreprise Scribd logo
1  sur  35
Télécharger pour lire hors ligne
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
The Power of Predictive
Incorporating Weather into Your Data
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Agenda
Introduction
• A brief intro into who we are at Convergence Consulting Group
• What Role Does Weather Play in Our Life
What is our Goal?
• Estimate Restaurant Reservations based on the ‘Actual’ weather
forecast
How do we do it?
• Collect our data
• Build a prediction model
• Visualize our results
Summary Results
Resources
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Analytics empowering clients to see farther & go faster
 Vendor Agnostic – Data & analytics focus with leading technology expertise
 Business Value – Improve business processes via analytic solutions
 Partner Approach – Trusted advisor, credible, objective
 Our People – Experienced, passionate, professionals
 Flexible Solutions – Managed Services, Project Delivery, SaaS, BICoE
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Core Capabilities
INFORMATION
MANAGEMENT
 Data Integration
 Data Architecture
 Data Governance
 Data Warehousing
STRATEGY &
MANAGEMENT
 Strategic Roadmap
 Rapid Prototyping
 BI&A Center of Excellence
 Cloud Migration
 Tool Rationalization
 Managed Services
BI & ADVANCED
ANALYTICS
 Reporting & Dashboards
 Performance Management
 Descriptive Analytics
 Diagnostic Analytics
 Predictive Analytics
 Prescriptive Analytics
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Data Scientist
Architect for over 10 years
MS Predictive Analytics, Northwestern University
SAP Reporting and Analytics Speaker,
SAPInsider and ASUG
Connect with me on LinkedIn or follow me on
twitter @TheAhmedSherif
Meet Your Speaker
Ahmed Sherif
Convergence Consulting Group
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Introduction
There are many things that we can predict, weather wasn’t
always one of them.
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Introduction
Weather affects our actions and can be costly for business
• Customer foot traffic in stores
• Predict online sales – increase in poor weather
• Power outages - need to close business
• Order fulfillment – shipping, travel
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
How likely are you to cancel your fine dining restaurant
reservation if it starts to rain?
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Case Study - Restaurant
• Analyzing reservation data
• Fine Dining Restaurant
• Multiple restaurants
• Located throughout North America
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Objective
We want to estimate what the percentage of a reservation
cancellation is depending on the forecast that day, or even
more specifically, that hour.
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
What tools are we going to use
Python
• Data Preparation
• Data Analysis
• Predictive Modeling
IBM Cognos Analytics
• Dataviz!
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Data Preparation
Pandas is a popular open source analytics library library
providing high-performance, easy-to-use data structures and
data analysis tools for the Python programming
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Data Preparation: pandas
Pandas is a fast and efficient Data Frame for data manipulation
and data merging
Reservations
(5,000 From
Restaurant)
Weather
(http://api.weather.com/)
Combined Data
Sources
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Data Preparation: pandas
Demo
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Data Analysis
We need to get an idea of what’s in our table (dataframe)
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Data Analysis
Let’s look at overall Reservation Status
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Data Analysis
Let’s look at Status by Weather conditions
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Data Analysis
Let’s look at Status by City/Restaurant
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Data Analysis: Let’s simplify
Status
• Cancellations = ‘Cancelled’ or ‘No Show’
• Completed = ‘Completed’
Weather
• Nice Weather = ‘Fair’
• Poor Weather <> ‘Fair’
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Data Analysis: Simplified
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Let’s build our predictive model
Logistic Regression model
• Why Logistic?
• We are only interested in two outcomes
Probability
• Pass/Fail
• Heads/Tail
• Reservation Cancelled/Reservation Kept
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Let’s build our predictive model
Assumptions
We are only focusing on Weather Conditions
Good or Bad Weather Grouping only
Specific weather conditions can provider for a more in depth look
No focus on Wind Speed or other weather predictors
Not focusing on non-weather related predictors
Motto
All Models are wrong, but some are useful!
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Survey
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Let’s build our predictive model
Demo
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Prediction Scores
Prediction Scores for Cancellation Rates
• 2nd Column is for Positive Cancellation Rate
• Scores stored in arrays
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Prediction Scores
Scores can then be formatted into a dataframe and joined to
the the Restaurant Name
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Visualize
We can upload our results into Cognos Analytics and Visualize
Further
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Visualize
We can do a quick and
dirty visualization just to
confirm if we are seeing
any significant discrepancy
between cancellations for
different cities or
RAIN
SHINE
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Visualize
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Visualize
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Visualize
Demo
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Results
Predict Future Cancellations
We can now predict which restaurants in which cities will likely
face higher cancelations rates based on selected weather
outcomes.
Knowing this will empower restaurant Managers to:
• Accept additional walk-ins
• Deploy marketing efforts
• Adjust staffing
• Limit inventory
SEE FARTHER. GO FASTER.
2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com
Resources
Pandas
http://pandas.pydata.org
Logistic Regression Analysis
https://en.wikipedia.org/wiki/Logistic_regression
Cognos Analytics
https://www.youtube.com/watch?v=PtiD-AUDNBU
45-Video Playlist
National Oceanic and Atmospheric Administration
http://www.ncdc.noaa.gov
Weather API scraper
https://weather.com/
Q & A
Thank you!
www.ccgBI.com
813.265.3239
asherif@ccgBI.com
Convergence Consulting Group
@ccgbi | @TheAhmedSherif
A copy of the recorded webinar and
presentation will be emailed to you shortly.
Please feel free to email any remaining
questions to Caroline Wright at
cwright@ccgbi.com
Contact us for:
Videos used for Demo!
Python Scripts used for Analysis
Will send you a dropbox link to download

Contenu connexe

Similaire à Incorporating Weather Into Your Data - Webinar

Build It and They Will Come: SharePoint 2013 User Adoption
Build It and They Will Come:  SharePoint 2013 User AdoptionBuild It and They Will Come:  SharePoint 2013 User Adoption
Build It and They Will Come: SharePoint 2013 User Adoption
Stacy Deere
 
V mware forecasting process.jl
V mware forecasting process.jlV mware forecasting process.jl
V mware forecasting process.jl
Mark Leslie
 
ASHRAE Article_Water Treatment Integrations
ASHRAE Article_Water Treatment IntegrationsASHRAE Article_Water Treatment Integrations
ASHRAE Article_Water Treatment Integrations
David Yancosky
 

Similaire à Incorporating Weather Into Your Data - Webinar (20)

RezStream Webinar: Google Analytics 101
RezStream Webinar: Google Analytics 101RezStream Webinar: Google Analytics 101
RezStream Webinar: Google Analytics 101
 
SPS Chevy Chase - Build It and They Will Come: Sharepoint 2013 User Adoption
SPS Chevy Chase - Build It and They Will Come: Sharepoint 2013 User AdoptionSPS Chevy Chase - Build It and They Will Come: Sharepoint 2013 User Adoption
SPS Chevy Chase - Build It and They Will Come: Sharepoint 2013 User Adoption
 
RezStream Webinar: Measuring Internet marketing performance
RezStream Webinar: Measuring Internet marketing performanceRezStream Webinar: Measuring Internet marketing performance
RezStream Webinar: Measuring Internet marketing performance
 
Do More with Unified Sourcing and Supplier Engagement
Do More with Unified Sourcing and Supplier EngagementDo More with Unified Sourcing and Supplier Engagement
Do More with Unified Sourcing and Supplier Engagement
 
Cleared Job Fair Job Seeker Handbook May 7, 2015, Crystal City, Va
Cleared Job Fair Job Seeker Handbook May 7, 2015, Crystal City, VaCleared Job Fair Job Seeker Handbook May 7, 2015, Crystal City, Va
Cleared Job Fair Job Seeker Handbook May 7, 2015, Crystal City, Va
 
Do More with Unified Sourcing and Supplier Engagement
Do More with Unified Sourcing and Supplier Engagement Do More with Unified Sourcing and Supplier Engagement
Do More with Unified Sourcing and Supplier Engagement
 
Linked In
Linked InLinked In
Linked In
 
SPFest DC Build It and They Will Come Share-Point 2013 User Adoption
SPFest DC   Build It and They Will Come Share-Point 2013 User AdoptionSPFest DC   Build It and They Will Come Share-Point 2013 User Adoption
SPFest DC Build It and They Will Come Share-Point 2013 User Adoption
 
Website Migration SEO: Advanced Migration Strategy & Analysis
Website Migration SEO: Advanced Migration Strategy & AnalysisWebsite Migration SEO: Advanced Migration Strategy & Analysis
Website Migration SEO: Advanced Migration Strategy & Analysis
 
Build It and They Will Come: SharePoint 2013 User Adoption
Build It and They Will Come:  SharePoint 2013 User AdoptionBuild It and They Will Come:  SharePoint 2013 User Adoption
Build It and They Will Come: SharePoint 2013 User Adoption
 
SPSToronto - Build It and They Will Come: SharePoint User Adoption
SPSToronto - Build It and They Will Come:  SharePoint User AdoptionSPSToronto - Build It and They Will Come:  SharePoint User Adoption
SPSToronto - Build It and They Will Come: SharePoint User Adoption
 
Konverteringsoptimering 1 af 5 - Velkommen og Hvem er SAS?
Konverteringsoptimering 1 af 5 - Velkommen og Hvem er SAS?Konverteringsoptimering 1 af 5 - Velkommen og Hvem er SAS?
Konverteringsoptimering 1 af 5 - Velkommen og Hvem er SAS?
 
V mware forecasting process.jl
V mware forecasting process.jlV mware forecasting process.jl
V mware forecasting process.jl
 
If an Application Fails in the Datacenter and No Users Are On It, Will it Cut...
If an Application Fails in the Datacenter and No Users Are On It, Will it Cut...If an Application Fails in the Datacenter and No Users Are On It, Will it Cut...
If an Application Fails in the Datacenter and No Users Are On It, Will it Cut...
 
Druid at SF Big Analytics 2015-12-01
Druid at SF Big Analytics 2015-12-01Druid at SF Big Analytics 2015-12-01
Druid at SF Big Analytics 2015-12-01
 
ASHRAE Article_Water Treatment Integrations
ASHRAE Article_Water Treatment IntegrationsASHRAE Article_Water Treatment Integrations
ASHRAE Article_Water Treatment Integrations
 
Ashrae article water treatment integrations
Ashrae article water treatment integrationsAshrae article water treatment integrations
Ashrae article water treatment integrations
 
SearchLeeds 2018 - Steve Chambers - Stickyeyes - How not to F**K up a Migration
SearchLeeds 2018 - Steve Chambers - Stickyeyes - How not to F**K up a Migration SearchLeeds 2018 - Steve Chambers - Stickyeyes - How not to F**K up a Migration
SearchLeeds 2018 - Steve Chambers - Stickyeyes - How not to F**K up a Migration
 
Webinar: Responsive Website Design
Webinar: Responsive Website DesignWebinar: Responsive Website Design
Webinar: Responsive Website Design
 
Landscaping business plan
Landscaping business planLandscaping business plan
Landscaping business plan
 

Plus de CCG

Analytics in a Day Virtual Workshop
Analytics in a Day Virtual WorkshopAnalytics in a Day Virtual Workshop
Analytics in a Day Virtual Workshop
CCG
 

Plus de CCG (20)

Introduction to Machine Learning with Azure & Databricks
Introduction to Machine Learning with Azure & DatabricksIntroduction to Machine Learning with Azure & Databricks
Introduction to Machine Learning with Azure & Databricks
 
Analytics in a Day Ft. Synapse Virtual Workshop
Analytics in a Day Ft. Synapse Virtual WorkshopAnalytics in a Day Ft. Synapse Virtual Workshop
Analytics in a Day Ft. Synapse Virtual Workshop
 
Data Governance Workshop
Data Governance WorkshopData Governance Workshop
Data Governance Workshop
 
How to Monetize Your Data Assets and Gain a Competitive Advantage
How to Monetize Your Data Assets and Gain a Competitive AdvantageHow to Monetize Your Data Assets and Gain a Competitive Advantage
How to Monetize Your Data Assets and Gain a Competitive Advantage
 
Analytics in a Day Ft. Synapse Virtual Workshop
Analytics in a Day Ft. Synapse Virtual WorkshopAnalytics in a Day Ft. Synapse Virtual Workshop
Analytics in a Day Ft. Synapse Virtual Workshop
 
Analytics in a Day Ft. Synapse Virtual Workshop
Analytics in a Day Ft. Synapse Virtual WorkshopAnalytics in a Day Ft. Synapse Virtual Workshop
Analytics in a Day Ft. Synapse Virtual Workshop
 
How to Create a Data Analytics Roadmap
How to Create a Data Analytics RoadmapHow to Create a Data Analytics Roadmap
How to Create a Data Analytics Roadmap
 
Analytics in a Day Ft. Synapse Virtual Workshop
Analytics in a Day Ft. Synapse Virtual WorkshopAnalytics in a Day Ft. Synapse Virtual Workshop
Analytics in a Day Ft. Synapse Virtual Workshop
 
Power BI Advanced Data Modeling Virtual Workshop
Power BI Advanced Data Modeling Virtual WorkshopPower BI Advanced Data Modeling Virtual Workshop
Power BI Advanced Data Modeling Virtual Workshop
 
Machine Learning with Azure and Databricks Virtual Workshop
Machine Learning with Azure and Databricks Virtual WorkshopMachine Learning with Azure and Databricks Virtual Workshop
Machine Learning with Azure and Databricks Virtual Workshop
 
Artificial Intelligence Executive Brief
Artificial Intelligence Executive BriefArtificial Intelligence Executive Brief
Artificial Intelligence Executive Brief
 
Analytics in a Day Virtual Workshop
Analytics in a Day Virtual WorkshopAnalytics in a Day Virtual Workshop
Analytics in a Day Virtual Workshop
 
Virtual Governance in a Time of Crisis Workshop
Virtual Governance in a Time of Crisis WorkshopVirtual Governance in a Time of Crisis Workshop
Virtual Governance in a Time of Crisis Workshop
 
Advance Data Visualization and Storytelling Virtual Workshop
Advance Data Visualization and Storytelling Virtual WorkshopAdvance Data Visualization and Storytelling Virtual Workshop
Advance Data Visualization and Storytelling Virtual Workshop
 
Azure Fundamentals Part 3
Azure Fundamentals Part 3Azure Fundamentals Part 3
Azure Fundamentals Part 3
 
Analytics in a Day Virtual Workshop
Analytics in a Day Virtual WorkshopAnalytics in a Day Virtual Workshop
Analytics in a Day Virtual Workshop
 
Power BI Advance Modeling
Power BI Advance ModelingPower BI Advance Modeling
Power BI Advance Modeling
 
Azure Fundamentals Part 2
Azure Fundamentals Part 2Azure Fundamentals Part 2
Azure Fundamentals Part 2
 
Shape Your Data into a Data Model with M
Shape Your Data into a Data Model with MShape Your Data into a Data Model with M
Shape Your Data into a Data Model with M
 
Azure Fundamentals Part 1
Azure Fundamentals Part 1Azure Fundamentals Part 1
Azure Fundamentals Part 1
 

Dernier

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 

Incorporating Weather Into Your Data - Webinar

  • 1. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com The Power of Predictive Incorporating Weather into Your Data
  • 2. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Agenda Introduction • A brief intro into who we are at Convergence Consulting Group • What Role Does Weather Play in Our Life What is our Goal? • Estimate Restaurant Reservations based on the ‘Actual’ weather forecast How do we do it? • Collect our data • Build a prediction model • Visualize our results Summary Results Resources
  • 3. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Analytics empowering clients to see farther & go faster  Vendor Agnostic – Data & analytics focus with leading technology expertise  Business Value – Improve business processes via analytic solutions  Partner Approach – Trusted advisor, credible, objective  Our People – Experienced, passionate, professionals  Flexible Solutions – Managed Services, Project Delivery, SaaS, BICoE
  • 4. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Core Capabilities INFORMATION MANAGEMENT  Data Integration  Data Architecture  Data Governance  Data Warehousing STRATEGY & MANAGEMENT  Strategic Roadmap  Rapid Prototyping  BI&A Center of Excellence  Cloud Migration  Tool Rationalization  Managed Services BI & ADVANCED ANALYTICS  Reporting & Dashboards  Performance Management  Descriptive Analytics  Diagnostic Analytics  Predictive Analytics  Prescriptive Analytics
  • 5. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Data Scientist Architect for over 10 years MS Predictive Analytics, Northwestern University SAP Reporting and Analytics Speaker, SAPInsider and ASUG Connect with me on LinkedIn or follow me on twitter @TheAhmedSherif Meet Your Speaker Ahmed Sherif Convergence Consulting Group
  • 6. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Introduction There are many things that we can predict, weather wasn’t always one of them.
  • 7. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Introduction Weather affects our actions and can be costly for business • Customer foot traffic in stores • Predict online sales – increase in poor weather • Power outages - need to close business • Order fulfillment – shipping, travel
  • 8. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com How likely are you to cancel your fine dining restaurant reservation if it starts to rain?
  • 9. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Case Study - Restaurant • Analyzing reservation data • Fine Dining Restaurant • Multiple restaurants • Located throughout North America
  • 10. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Objective We want to estimate what the percentage of a reservation cancellation is depending on the forecast that day, or even more specifically, that hour.
  • 11. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com What tools are we going to use Python • Data Preparation • Data Analysis • Predictive Modeling IBM Cognos Analytics • Dataviz!
  • 12. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Data Preparation Pandas is a popular open source analytics library library providing high-performance, easy-to-use data structures and data analysis tools for the Python programming
  • 13. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Data Preparation: pandas Pandas is a fast and efficient Data Frame for data manipulation and data merging Reservations (5,000 From Restaurant) Weather (http://api.weather.com/) Combined Data Sources
  • 14. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Data Preparation: pandas Demo
  • 15. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Data Analysis We need to get an idea of what’s in our table (dataframe)
  • 16. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Data Analysis Let’s look at overall Reservation Status
  • 17. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Data Analysis Let’s look at Status by Weather conditions
  • 18. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Data Analysis Let’s look at Status by City/Restaurant
  • 19. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Data Analysis: Let’s simplify Status • Cancellations = ‘Cancelled’ or ‘No Show’ • Completed = ‘Completed’ Weather • Nice Weather = ‘Fair’ • Poor Weather <> ‘Fair’
  • 20. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Data Analysis: Simplified
  • 21. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Let’s build our predictive model Logistic Regression model • Why Logistic? • We are only interested in two outcomes Probability • Pass/Fail • Heads/Tail • Reservation Cancelled/Reservation Kept
  • 22. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Let’s build our predictive model Assumptions We are only focusing on Weather Conditions Good or Bad Weather Grouping only Specific weather conditions can provider for a more in depth look No focus on Wind Speed or other weather predictors Not focusing on non-weather related predictors Motto All Models are wrong, but some are useful!
  • 23. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Survey
  • 24. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Let’s build our predictive model Demo
  • 25. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Prediction Scores Prediction Scores for Cancellation Rates • 2nd Column is for Positive Cancellation Rate • Scores stored in arrays
  • 26. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Prediction Scores Scores can then be formatted into a dataframe and joined to the the Restaurant Name
  • 27. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Visualize We can upload our results into Cognos Analytics and Visualize Further
  • 28. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Visualize We can do a quick and dirty visualization just to confirm if we are seeing any significant discrepancy between cancellations for different cities or RAIN SHINE
  • 29. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Visualize
  • 30. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Visualize
  • 31. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Visualize Demo
  • 32. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Results Predict Future Cancellations We can now predict which restaurants in which cities will likely face higher cancelations rates based on selected weather outcomes. Knowing this will empower restaurant Managers to: • Accept additional walk-ins • Deploy marketing efforts • Adjust staffing • Limit inventory
  • 33. SEE FARTHER. GO FASTER. 2502 North Rocky Point Dr. Suite 650 | Tampa, FL 33607 | O: 813.968.3238 | www.ccgBI.com Resources Pandas http://pandas.pydata.org Logistic Regression Analysis https://en.wikipedia.org/wiki/Logistic_regression Cognos Analytics https://www.youtube.com/watch?v=PtiD-AUDNBU 45-Video Playlist National Oceanic and Atmospheric Administration http://www.ncdc.noaa.gov Weather API scraper https://weather.com/
  • 34. Q & A
  • 35. Thank you! www.ccgBI.com 813.265.3239 asherif@ccgBI.com Convergence Consulting Group @ccgbi | @TheAhmedSherif A copy of the recorded webinar and presentation will be emailed to you shortly. Please feel free to email any remaining questions to Caroline Wright at cwright@ccgbi.com Contact us for: Videos used for Demo! Python Scripts used for Analysis Will send you a dropbox link to download