SlideShare a Scribd company logo
TURNING ANALYSIS INTO ACTION
WITH APIs
• Digital business focus
• 15+ years of experience
• Web Analytics House 2013,
2014, 2015, 2016, 2017
• Value-driven business
• More than 40 people in
Denmark, Sweden &
Norway
About IIH Nordic
About Us
Mark Edmondson
• In digital since 2006
• Data Insight Developer
• Google Developer
Expert for Google
Analytics
• RStudio Advocate
• cloudyR contributor
• @HoloMarkeD
Peter Meyer
• In digital since 1997
• Analytics Technician
• TMS and Analytics
implementer
• @pmeyerdk
Agenda
• What are actionable analysis APIs?
• Example 1 - Weather API - IBM
• Example 2 - Custom prediction API - Prefetching
• Example 3 - Text sentiment API – Google/Algorithmia
Machine Learning
• Future opportunities
What are
Analysis APIs?
Collect
Data
Analyse
Data
Change
something
An Analytics Workflow
Collect
Data
Analyse
Data
Change
something
Reporting APIs
Tracking APIs
Analysis APIs
An Analytics Workflow
Collect
Data
Analyse
Data
Change
something
Reporting APIs
Tracking APIs
Analysis APIs
An Analytics Workflow
Turning Analysis into Action with APIs - Superweek2017
Analysis API
An API that transforms
data into useful
information
Examples of actionable analysis APIs
• Visualisations for decision support (dashboards)
• Multivariant testing
• Bid managers
• Enrichment of data - weather
• Content prediction - prefetching
• Text analysis – machine learning API
We will talk today about these ones:
…but others include:
Weather API
(data enrichment)
Deployment
• Only one webservice used
• Geo- and weather data in one go
• A bunch of information returned
Deployment
Analysis
• Take daily lag to negate
spurious trend
correlation
• tscount() R package for
poisson distribution
• 16% ±4% extra visitors
on rainy days
URL
Prefetching
(react to predictions)
Deployment
http://code.markedmondson.me/predictClickOpenCPU/supercharge.html
Turning Analysis into Action with APIs - Superweek2017
Turning Analysis into Action with APIs - Superweek2017
https://www.noisetosignal.io/2016/11/using-google-analytics-to-predict-clicks-and-speed-up-your-website/
Simpler method using offline analysis and deploying through a GTM lookup table
Text Sentiment
API
(surfacing important
features)
Real-time sentiment tracking of
customer service forums/comment
sections
Categorise topics your customers
care about
http://bit.ly/Superweek2017-Demo
Deployment - Algorithmia
• Stanford NLP Sentiment Analysis
• https://algorithmia.com/
Deployment - Algorithmia
I really love ice cream very much!
Deployment - Google
• Google Cloud Natural Language API (beta)
• https://cloud.google.com/natural-language/
Deployment - Google
I really love ice cream very much!
http://glaforge.appspot.com/article/sentiment-analysis-on-tweets
Recent example at gov.uk
https://gdsdata.blog.gov.uk/2016/12/20/using-machine-learning-to-classify-user-comments-on-gov-uk/
Future
OpportunitiesThe Horizon
Machine Learning APIs
Preparation for the singularity
• Get your data tidy and out of silos
• Start prototyping models
• Skill up in a ML tech stack
Skill up in a machine learning tech stack
• Google
BigQuery
• Google
Compute
Engine
• Tensorflow
• Dataproc
(Spark)
• Redshift/Athena
• Amazon EMR
• EC2
• S3
• Amazon Machine
Learning
• SQL Data
Warehouse
• Azure
• Microsoft R
• Microsoft
Cognitive
Programming languages: R, Python, bash, JavaScript, Scala, Java, Julia(?), SQL
ML: Google Flavoured
Build your own self-
driving car!
....or for simpler use
cases use the pre-
trained models
available using easy
to use APIs
A Microsoft Cognitive API Example
https://matt-stannard.blogspot.dk/2016/12/measuring-footfall-with-google.html
• Look to reduce time to actions via APIs
• GTM can do more than tracking
• Skill up in a machine learning tech stack
Summary
Thank you!
Mark Edmondson
mark@iihnordic.com
@HoloMarkeD
https://www.linkedin.com/in/markpeteredmondson
Peter Meyer
peter.meyer@iihnordic.com
@pmeyerdk
https://www.linkedin.com/in/pmeyerdk
Turning Analysis into Action with APIs - Superweek2017

More Related Content

Turning Analysis into Action with APIs - Superweek2017

Editor's Notes

  1. Hos IIH tror vi på at virksomheder har en massivt uudnyttet potentiale når det kommer til det digitale. Vi har gennem vores arbejde lært at digital forretning bygger på data, men at virksomheder nogle gange har brug for hjælp til at lære at forstå og udnytte alle deres muligheder. Det der adskiller os er, at vi har taget digital effektmåling og på den baggrund har skabt nogle virkelige effektive ydelser, der hjælper både virksomheder, markedsføringsfolk og salgsfolk med at tænke digitalt både internt og ekstern baseret på hvordan man rent faktisk skaber resultater online og komme godt i gang med en digital tranformation. ”Måske: Man kan sige de fleste virksomheder står stadigvæk kun med tæerne i vandkanten i forhold det hav af digitale muligheder der findes. I den forbindelse ser vi det som vores opgave at lære dem at svømme.” @tænker forrretningsorienteret: Vi er ikke et traditionelt online bureau og vores kunder ser os typiske mere som et resultatbureau, der får tingene til at ske forretningsmæssigt
  2. Enrich – Learn - React
  3. Mark to talk about R stuff in this slide? How do Peter explain best?
  4. User comments/reviews Content