SlideShare una empresa de Scribd logo
1 de 15
Predictive System
Performance Data Analysis
Application of machine learning on
performance data
jnakic@salesforce.com
spilipovic@salesforce.com
Jasmin Nakic, Lead Software Engineer
Samir Pilipovic, Senior Software Engineer
Agenda
Presentation and Tutorial
Welcome
Audience: Sysadmins, performance engineers and developers
Level: Beginner
Introduction
Introduction to Predictive Performance Analytics
Data Visualization using Salesforce Wave
Hands-on
Prepare Input Data
Build and Compare Predictive Models
Generate Dynamic Alerts
Summary Q&A
Forward-Looking Statements
Statement under the Private Securities Litigation Reform Act of 1995:
This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any
of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking
statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or
service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for
future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts
or use of our services.
The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our
service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth,
interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible
mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our
employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com
products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of
salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most
recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information
section of our Web site.
Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not
be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available.
Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
Challenges in Performance Analytics
Understand
Make predictions using
machine learning
Detect anomalies and
exceptions on current
system performance
data
Generate alerts based
on dynamic thresholds
Estimate impact of
difference between
predicted and real
values
Visualize predictions vs.
real metrics
Deliver data to other
teams and executives
Predict Alert Visualize
Understand short and
long term trends
Find periodic pattern in
performance metrics
Understanding Input Data
 Data show daily and weekly periodic patterns
 Long running trend with gradual increase
 Exceptions from typical daily metric shape
Selecting the Feature Set
Features can be generated or collected from external systems
Timestamp as a string:
2016-05-08 19:00:00
Ordinal date as decimal date
plus time:
736092.791667
Year, Month, Day
Hours, Minutes, Seconds
DayInWeek, WeekInYear
Quarter
isMonday, isTuesday, …,
isSunday
isHour0, isHour1, isHour2, ...,
isHour23
H_di_hj where di is for weekday
in range 0..6 and hj is for hour
in range 0..23
isHoliday
Timestamp Formats Timestamp Components Binary Features
Binary features have values 0 or 1Use ordinal time for long term trends Commonly used in Analytics
A feature is an individual measurable property of a phenomenon being observed. (Wikipedia)
Linear Regression Models
Examples of linear regression models that apply to performance data
Simple linear regression
model:
y = c0 + c1*x
Model with periodic
trigonometric features:
y = c0 + c1*x + c2*sin(x*2*pi/f
+ t)
Where t is time offset and f is
frequency
Model with binary features:
y = c0 + c1*x1 + c2*x2 + … cn*xn
Where xn can be 0 or 1
Linear regression helps you find coefficient values (c0, c1, ... cn)
How Good is the Model?
Generate the “score” for each model to see how well it fits input data
Model Training Score Test Score Comments
Simple Linear 0.0014 -0.0052 Not useful
Trigonometric 0.7284 0.7148 Periodic, but functions are complicated
Prediction Hour/Day 0.8280 0.8048 Each day has the same pattern
Prediction Hour/Week 0.9240 0.8918 Does not make good prediction on holidays
Prediction incl. Holidays 0.9520 0.9444 Does not make good prediction on Sundays
Prediction incl. Sundays 0.9522 0.9504 Optimal
 Models with more relevant features tend to have higher score
 Test data score is the measure of model quality
Visualization in Salesforce Wave
Effective visualization of predictive data
 Compare actual metrics
to prediction
 Display alerts for
detected anomalies
 Correlate performance
metrics with business
data
 Build the dashboard to
share with other teams
and executives
Dynamic Alerts
Anomaly detection for near real time notification
 Typically alerts are based on static
threshold values, for example higher
than 85%.
 If the value is higher (or lower) then
predefined threshold, generate the
alert
 We want to separate data noise from
exception
 Cover false positives and false
negatives if possible
 Define the impact, for example: if a
metric is for three hours more than X in
absolute value and more than Y in
percentage
Machine Learning Development Process
From raw data to predictions
Select
Feature Set
Build the
Model
Validate the
Model
Is
Model
OK?
Model
Extract
Feature Set
Apply the
Model
Training
Data
Test
Data
Predictions
Yes
No
Iterative Process
Convert input
data to a format
accepted by ML
tools
Measure the
model score until
it stops
improving
Load
A feature is an individual measurable
property of a phenomenon being
observed. (Wikipedia)
Implementation Summary
What did we cover today?
• Prepare the training data set,
• Build the predictive model,
• Predict the metric value for the test data set,
• Measure the quality of the predictive model
• Find short and long term performance trends
• Implement a simple alert system
• Visualize data using Salesforce Wave
• Deliver Wave dashboard components to
team members and executives
Develop predictive system applying
machine learning methods
Analyze input data and predictions to
solve business needs
Next Steps and Resources
Get Demo Scripts from GitHub
https://github.com/sfperfdemo/vel2017-ml-wave
Get Salesforce Wave Utilities
https://github.com/forcedotcom/Analytics-Cloud-Dataset-Utils
Visit Salesforce Wave Tutorial
http://www.salesforce.com/analytics-cloud/overview/
Explore Machine Learning in Python (scikit)
http://scikit-learn.org
Questions and Answers
Predictive System Performance Data Analysis

Más contenido relacionado

La actualidad más candente

How to Make Change Management a Reality
How to Make Change Management a RealityHow to Make Change Management a Reality
How to Make Change Management a Reality
dreamforce2006
 
The Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying IntegrationsThe Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying Integrations
dreamforce2006
 
Demystifying S-Controls and AJAX
Demystifying S-Controls and AJAXDemystifying S-Controls and AJAX
Demystifying S-Controls and AJAX
dreamforce2006
 
How To Drive a Large Scale, Global Deployment
How To Drive a Large Scale, Global DeploymentHow To Drive a Large Scale, Global Deployment
How To Drive a Large Scale, Global Deployment
dreamforce2006
 
Packaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App DistributionPackaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App Distribution
dreamforce2006
 
Architecting Apps for the AppExchange
Architecting Apps for the AppExchangeArchitecting Apps for the AppExchange
Architecting Apps for the AppExchange
dreamforce2006
 
Instant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive DashboardsInstant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive Dashboards
dreamforce2006
 
Improve Business Performance with Greater Insight From Dashboards and Reports
Improve Business Performance with Greater Insight From Dashboards and ReportsImprove Business Performance with Greater Insight From Dashboards and Reports
Improve Business Performance with Greater Insight From Dashboards and Reports
dreamforce2006
 

La actualidad más candente (20)

How to Make Change Management a Reality
How to Make Change Management a RealityHow to Make Change Management a Reality
How to Make Change Management a Reality
 
Circles of success - How to successfully transition to lightning (2)
Circles of success - How to successfully transition to lightning (2)Circles of success - How to successfully transition to lightning (2)
Circles of success - How to successfully transition to lightning (2)
 
The Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying IntegrationsThe Mystery Is Solved Demystifying Integrations
The Mystery Is Solved Demystifying Integrations
 
Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Design Patterns: ISV Recipes for Success (Dreamforce 2015)Design Patterns: ISV Recipes for Success (Dreamforce 2015)
Design Patterns: ISV Recipes for Success (Dreamforce 2015)
 
Architect and Design Your App for Commercial Success
Architect and Design Your App for Commercial SuccessArchitect and Design Your App for Commercial Success
Architect and Design Your App for Commercial Success
 
Salesforce Support Services | Etisbew
Salesforce Support Services | EtisbewSalesforce Support Services | Etisbew
Salesforce Support Services | Etisbew
 
Demystifying S-Controls and AJAX
Demystifying S-Controls and AJAXDemystifying S-Controls and AJAX
Demystifying S-Controls and AJAX
 
Manage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with GovernanceManage Salesforce Like a Pro with Governance
Manage Salesforce Like a Pro with Governance
 
How To Drive a Large Scale, Global Deployment
How To Drive a Large Scale, Global DeploymentHow To Drive a Large Scale, Global Deployment
How To Drive a Large Scale, Global Deployment
 
Packaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App DistributionPackaging It Up Latest Enhancements for App Distribution
Packaging It Up Latest Enhancements for App Distribution
 
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible AppsOur API Evolution: From Metadata to Tooling API for Building Incredible Apps
Our API Evolution: From Metadata to Tooling API for Building Incredible Apps
 
Premier First Call Pitch
Premier First Call Pitch Premier First Call Pitch
Premier First Call Pitch
 
Intelligently transform connected service from the phone to the field
Intelligently transform connected service from the phone to the field Intelligently transform connected service from the phone to the field
Intelligently transform connected service from the phone to the field
 
Oracle Applications Unlimited
Oracle Applications UnlimitedOracle Applications Unlimited
Oracle Applications Unlimited
 
AppExchange for Admins: Apps Every Admin Should Know
AppExchange for Admins: Apps Every Admin Should KnowAppExchange for Admins: Apps Every Admin Should Know
AppExchange for Admins: Apps Every Admin Should Know
 
Architecting Apps for the AppExchange
Architecting Apps for the AppExchangeArchitecting Apps for the AppExchange
Architecting Apps for the AppExchange
 
Modern Architectures: Building a Sustainable Roadmap
Modern Architectures: Building a Sustainable RoadmapModern Architectures: Building a Sustainable Roadmap
Modern Architectures: Building a Sustainable Roadmap
 
Instant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive DashboardsInstant Stardom How to Build Executive Dashboards
Instant Stardom How to Build Executive Dashboards
 
Building a Center of Excellence for your Salesforce crm team
Building a Center of Excellence for your Salesforce crm teamBuilding a Center of Excellence for your Salesforce crm team
Building a Center of Excellence for your Salesforce crm team
 
Improve Business Performance with Greater Insight From Dashboards and Reports
Improve Business Performance with Greater Insight From Dashboards and ReportsImprove Business Performance with Greater Insight From Dashboards and Reports
Improve Business Performance with Greater Insight From Dashboards and Reports
 

Similar a Predictive System Performance Data Analysis

Around the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case StudyAround the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case Study
dreamforce2006
 
Introducing Analytics Mash-ups
Introducing Analytics Mash-upsIntroducing Analytics Mash-ups
Introducing Analytics Mash-ups
dreamforce2006
 
Inside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer AppsInside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer Apps
dreamforce2006
 
Meet the Product Managers
Meet the Product ManagersMeet the Product Managers
Meet the Product Managers
dreamforce2006
 
Advanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive VisibilityAdvanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive Visibility
dreamforce2006
 
The Path to 100% Adoption
The Path to 100% AdoptionThe Path to 100% Adoption
The Path to 100% Adoption
dreamforce2006
 
Release Winter 22 FR
Release Winter 22 FRRelease Winter 22 FR
Release Winter 22 FR
Thierry TROUIN ☁
 
Using AppExchange to Automate Complex Business Processes
Using AppExchange to Automate Complex Business ProcessesUsing AppExchange to Automate Complex Business Processes
Using AppExchange to Automate Complex Business Processes
dreamforce2006
 
AppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend SalesforceAppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend Salesforce
dreamforce2006
 
Winter-24-Release-in-a-Box-v2.pdf
Winter-24-Release-in-a-Box-v2.pdfWinter-24-Release-in-a-Box-v2.pdf
Winter-24-Release-in-a-Box-v2.pdf
RakshaHegde7
 

Similar a Predictive System Performance Data Analysis (20)

Build System Performance Data Analytics Using Wave
Build System Performance Data Analytics Using WaveBuild System Performance Data Analytics Using Wave
Build System Performance Data Analytics Using Wave
 
Around the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case StudyAround the World in 100 Days a Global Deployment Case Study
Around the World in 100 Days a Global Deployment Case Study
 
Introducing Analytics Mash-ups
Introducing Analytics Mash-upsIntroducing Analytics Mash-ups
Introducing Analytics Mash-ups
 
Essential Habits for Salesforce Admins: Actionable Analytics
Essential Habits for Salesforce Admins: Actionable AnalyticsEssential Habits for Salesforce Admins: Actionable Analytics
Essential Habits for Salesforce Admins: Actionable Analytics
 
Building Reports That Fly
Building Reports That FlyBuilding Reports That Fly
Building Reports That Fly
 
Partition Your (Apex) Trigger Logic Using Metadata
Partition Your  (Apex) Trigger Logic Using MetadataPartition Your  (Apex) Trigger Logic Using Metadata
Partition Your (Apex) Trigger Logic Using Metadata
 
Orchestrate all of your salesforce automation with the trigger actions framework
Orchestrate all of your salesforce automation with the trigger actions frameworkOrchestrate all of your salesforce automation with the trigger actions framework
Orchestrate all of your salesforce automation with the trigger actions framework
 
Inside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer AppsInside the Enterprise Case Studies of Customer Apps
Inside the Enterprise Case Studies of Customer Apps
 
Meet the Product Managers
Meet the Product ManagersMeet the Product Managers
Meet the Product Managers
 
Transform Data into Action
Transform Data into ActionTransform Data into Action
Transform Data into Action
 
Advanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive VisibilityAdvanced Reporting and Dashboards for Executive Visibility
Advanced Reporting and Dashboards for Executive Visibility
 
The Path to 100% Adoption
The Path to 100% AdoptionThe Path to 100% Adoption
The Path to 100% Adoption
 
Building einstein analytics apps uk-compressed
Building einstein analytics apps   uk-compressedBuilding einstein analytics apps   uk-compressed
Building einstein analytics apps uk-compressed
 
Release Winter 22 FR
Release Winter 22 FRRelease Winter 22 FR
Release Winter 22 FR
 
Winter 22 release
Winter 22 releaseWinter 22 release
Winter 22 release
 
Agile Release Management for Fast Moving Enterprises
Agile Release Management for Fast Moving EnterprisesAgile Release Management for Fast Moving Enterprises
Agile Release Management for Fast Moving Enterprises
 
Essential Habits for Salesforce Admins: Data Management
Essential Habits for Salesforce Admins: Data ManagementEssential Habits for Salesforce Admins: Data Management
Essential Habits for Salesforce Admins: Data Management
 
Using AppExchange to Automate Complex Business Processes
Using AppExchange to Automate Complex Business ProcessesUsing AppExchange to Automate Complex Business Processes
Using AppExchange to Automate Complex Business Processes
 
AppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend SalesforceAppExchange 101 - Building Custom Apps to Extend Salesforce
AppExchange 101 - Building Custom Apps to Extend Salesforce
 
Winter-24-Release-in-a-Box-v2.pdf
Winter-24-Release-in-a-Box-v2.pdfWinter-24-Release-in-a-Box-v2.pdf
Winter-24-Release-in-a-Box-v2.pdf
 

Más de Salesforce Engineering

Más de Salesforce Engineering (20)

Locker Service Ready Lightning Components With Webpack
Locker Service Ready Lightning Components With WebpackLocker Service Ready Lightning Components With Webpack
Locker Service Ready Lightning Components With Webpack
 
Scaling HBase for Big Data
Scaling HBase for Big DataScaling HBase for Big Data
Scaling HBase for Big Data
 
Apache HBase State of the Project
Apache HBase State of the ProjectApache HBase State of the Project
Apache HBase State of the Project
 
Hit the Trail with Trailhead
Hit the Trail with TrailheadHit the Trail with Trailhead
Hit the Trail with Trailhead
 
HBase/PHOENIX @ Scale
HBase/PHOENIX @ ScaleHBase/PHOENIX @ Scale
HBase/PHOENIX @ Scale
 
Scaling up data science applications
Scaling up data science applicationsScaling up data science applications
Scaling up data science applications
 
Containers and Security for DevOps
Containers and Security for DevOpsContainers and Security for DevOps
Containers and Security for DevOps
 
Aspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already HaveAspect Oriented Programming: Hidden Toolkit That You Already Have
Aspect Oriented Programming: Hidden Toolkit That You Already Have
 
Performance Tuning with XHProf
Performance Tuning with XHProfPerformance Tuning with XHProf
Performance Tuning with XHProf
 
A Smarter Pig: Building a SQL interface to Pig using Apache Calcite
A Smarter Pig: Building a SQL interface to Pig using Apache CalciteA Smarter Pig: Building a SQL interface to Pig using Apache Calcite
A Smarter Pig: Building a SQL interface to Pig using Apache Calcite
 
Implementing a Content Strategy Is Like Running 100 Miles
Implementing a Content Strategy Is Like Running 100 MilesImplementing a Content Strategy Is Like Running 100 Miles
Implementing a Content Strategy Is Like Running 100 Miles
 
Salesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief OverviewSalesforce Cloud Infrastructure and Challenges - A Brief Overview
Salesforce Cloud Infrastructure and Challenges - A Brief Overview
 
Koober Preduction IO Presentation
Koober Preduction IO PresentationKoober Preduction IO Presentation
Koober Preduction IO Presentation
 
Finding Security Issues Fast!
Finding Security Issues Fast!Finding Security Issues Fast!
Finding Security Issues Fast!
 
Microservices
MicroservicesMicroservices
Microservices
 
Global State Management of Micro Services
Global State Management of Micro ServicesGlobal State Management of Micro Services
Global State Management of Micro Services
 
The Future of Hbase
The Future of HbaseThe Future of Hbase
The Future of Hbase
 
Apache BookKeeper Distributed Store- a Salesforce use case
Apache BookKeeper Distributed Store- a Salesforce use caseApache BookKeeper Distributed Store- a Salesforce use case
Apache BookKeeper Distributed Store- a Salesforce use case
 
Content Strategy Workshop
Content Strategy WorkshopContent Strategy Workshop
Content Strategy Workshop
 
Introducing Wordpress Multitenancy
Introducing Wordpress MultitenancyIntroducing Wordpress Multitenancy
Introducing Wordpress Multitenancy
 

Último

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+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@
 

Último (20)

Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
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
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
+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...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
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, ...
 
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
 
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
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 

Predictive System Performance Data Analysis

  • 1. Predictive System Performance Data Analysis Application of machine learning on performance data jnakic@salesforce.com spilipovic@salesforce.com Jasmin Nakic, Lead Software Engineer Samir Pilipovic, Senior Software Engineer
  • 2. Agenda Presentation and Tutorial Welcome Audience: Sysadmins, performance engineers and developers Level: Beginner Introduction Introduction to Predictive Performance Analytics Data Visualization using Salesforce Wave Hands-on Prepare Input Data Build and Compare Predictive Models Generate Dynamic Alerts Summary Q&A
  • 3. Forward-Looking Statements Statement under the Private Securities Litigation Reform Act of 1995: This presentation may contain forward-looking statements that involve risks, uncertainties, and assumptions. If any such uncertainties materialize or if any of the assumptions proves incorrect, the results of salesforce.com, inc. could differ materially from the results expressed or implied by the forward-looking statements we make. All statements other than statements of historical fact could be deemed forward-looking, including any projections of product or service availability, subscriber growth, earnings, revenues, or other financial items and any statements regarding strategies or plans of management for future operations, statements of belief, any statements concerning new, planned, or upgraded services or technology developments and customer contracts or use of our services. The risks and uncertainties referred to above include – but are not limited to – risks associated with developing and delivering new functionality for our service, new products and services, our new business model, our past operating losses, possible fluctuations in our operating results and rate of growth, interruptions or delays in our Web hosting, breach of our security measures, the outcome of any litigation, risks associated with completed and any possible mergers and acquisitions, the immature market in which we operate, our relatively limited operating history, our ability to expand, retain, and motivate our employees and manage our growth, new releases of our service and successful customer deployment, our limited history reselling non-salesforce.com products, and utilization and selling to larger enterprise customers. Further information on potential factors that could affect the financial results of salesforce.com, inc. is included in our annual report on Form 10-K for the most recent fiscal year and in our quarterly report on Form 10-Q for the most recent fiscal quarter. These documents and others containing important disclosures are available on the SEC Filings section of the Investor Information section of our Web site. Any unreleased services or features referenced in this or other presentations, press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make the purchase decisions based upon features that are currently available. Salesforce.com, inc. assumes no obligation and does not intend to update these forward-looking statements.
  • 4. Challenges in Performance Analytics Understand Make predictions using machine learning Detect anomalies and exceptions on current system performance data Generate alerts based on dynamic thresholds Estimate impact of difference between predicted and real values Visualize predictions vs. real metrics Deliver data to other teams and executives Predict Alert Visualize Understand short and long term trends Find periodic pattern in performance metrics
  • 5. Understanding Input Data  Data show daily and weekly periodic patterns  Long running trend with gradual increase  Exceptions from typical daily metric shape
  • 6. Selecting the Feature Set Features can be generated or collected from external systems Timestamp as a string: 2016-05-08 19:00:00 Ordinal date as decimal date plus time: 736092.791667 Year, Month, Day Hours, Minutes, Seconds DayInWeek, WeekInYear Quarter isMonday, isTuesday, …, isSunday isHour0, isHour1, isHour2, ..., isHour23 H_di_hj where di is for weekday in range 0..6 and hj is for hour in range 0..23 isHoliday Timestamp Formats Timestamp Components Binary Features Binary features have values 0 or 1Use ordinal time for long term trends Commonly used in Analytics A feature is an individual measurable property of a phenomenon being observed. (Wikipedia)
  • 7. Linear Regression Models Examples of linear regression models that apply to performance data Simple linear regression model: y = c0 + c1*x Model with periodic trigonometric features: y = c0 + c1*x + c2*sin(x*2*pi/f + t) Where t is time offset and f is frequency Model with binary features: y = c0 + c1*x1 + c2*x2 + … cn*xn Where xn can be 0 or 1 Linear regression helps you find coefficient values (c0, c1, ... cn)
  • 8. How Good is the Model? Generate the “score” for each model to see how well it fits input data Model Training Score Test Score Comments Simple Linear 0.0014 -0.0052 Not useful Trigonometric 0.7284 0.7148 Periodic, but functions are complicated Prediction Hour/Day 0.8280 0.8048 Each day has the same pattern Prediction Hour/Week 0.9240 0.8918 Does not make good prediction on holidays Prediction incl. Holidays 0.9520 0.9444 Does not make good prediction on Sundays Prediction incl. Sundays 0.9522 0.9504 Optimal  Models with more relevant features tend to have higher score  Test data score is the measure of model quality
  • 9. Visualization in Salesforce Wave Effective visualization of predictive data  Compare actual metrics to prediction  Display alerts for detected anomalies  Correlate performance metrics with business data  Build the dashboard to share with other teams and executives
  • 10. Dynamic Alerts Anomaly detection for near real time notification  Typically alerts are based on static threshold values, for example higher than 85%.  If the value is higher (or lower) then predefined threshold, generate the alert  We want to separate data noise from exception  Cover false positives and false negatives if possible  Define the impact, for example: if a metric is for three hours more than X in absolute value and more than Y in percentage
  • 11. Machine Learning Development Process From raw data to predictions Select Feature Set Build the Model Validate the Model Is Model OK? Model Extract Feature Set Apply the Model Training Data Test Data Predictions Yes No Iterative Process Convert input data to a format accepted by ML tools Measure the model score until it stops improving Load A feature is an individual measurable property of a phenomenon being observed. (Wikipedia)
  • 12. Implementation Summary What did we cover today? • Prepare the training data set, • Build the predictive model, • Predict the metric value for the test data set, • Measure the quality of the predictive model • Find short and long term performance trends • Implement a simple alert system • Visualize data using Salesforce Wave • Deliver Wave dashboard components to team members and executives Develop predictive system applying machine learning methods Analyze input data and predictions to solve business needs
  • 13. Next Steps and Resources Get Demo Scripts from GitHub https://github.com/sfperfdemo/vel2017-ml-wave Get Salesforce Wave Utilities https://github.com/forcedotcom/Analytics-Cloud-Dataset-Utils Visit Salesforce Wave Tutorial http://www.salesforce.com/analytics-cloud/overview/ Explore Machine Learning in Python (scikit) http://scikit-learn.org