SlideShare a Scribd company logo
Deploying your Predictive
Models as a Service via
Domino API Endpoint
Jo-fai (Joe) Chow
Data Scientist at Domino Data Lab
6/16/2015 1LondonR
Agenda
• Background
• My Domino Experience
o Why
o How
• Examples (Iris & Stock Market)
• Conclusions
• Q & A
6/16/2015LondonR 2
I LondonR!
6/16/2015LondonR 3
All about my PhD project
very interesting stuff …
First Collaboration
6/16/2015LondonR 4
http://blog.dominoup.com/using-r-h2o-and-domino-for-a-kaggle-competition/
Recap: what I really do
6/16/2015LondonR 5
Recap: what I really do
6/16/2015LondonR 6
Since last talk …
xgboost(…),
h2o.deeplearning(…)
About Domino Data Lab
6/16/2015LondonR 7
Why I use Domino
• Data science is complicated.
o Knowing how to fit a model is not enough!
o Variety of challenges from data analysis to production.
o There is no one-size-fits-all solution.
• I do not have time/skills for every single task.
• I can use Domino to fill the gaps.
• Focus on understanding problems, improving
models and presenting results.
• Speed up analysis in just a few clicks.
• More time for family and other stuff.
6/16/2015LondonR 8
How I use Domino
• Interface
o Web or R
• Examples
o Hello, World! (Iris)
o Stock Market Forecast
• Code Sharing
• Try it Yourself
6/16/2015LondonR 9
Web Interface
6/16/2015LondonR 10
Control Panel
A List of Runs
Console
Web Interface
6/16/2015LondonR 11
Resource Usage (I found it very useful!)
R Interface
6/16/2015LondonR 12
R Interface
6/16/2015LondonR 13
“Hello, World!” Example
• Classic dataset - Iris
• Four numeric features / predictors (x)
o Sepal Length, Sepal Width, Petal Length and Petal Width
• One categorical target (y)
o Three species of Iris – Setosa, Versicolor and Virginica
• Using R to build a simple predictive model
• Saving the model for future use
• Deploying the model as web service
• Automatic version control
6/16/2015LondonR 14
Predictive Model?
6/16/2015LondonR 15
y = f( X1, X2, X3, X4)
Upload and Run
6/16/2015https://app.dominoup.com/jofaichow/example_iris 16
Upload the R script to
Domino (Web / R)
Start the Run
(Web / R)
Evaluate and Save
6/16/2015LondonR 17
Print “Random Forest”
model summary
Model with highest
10-fold cross-
validation accuracy
(i.e. best parameter
setting)
Include statistics for
future comparison
Finally, save the model
for future use
Deploy
6/16/2015LondonR 18
Model
This script 1) loads the model, 2) takes four numeric inputs
(X1, X2, X3 & X4) and then 3) returns a prediction.
Deploy
6/16/2015LondonR 19
Point to that script
Specify the function to call
Publish or unpublish the API
Domino automatically keeps all versions of your API
How to use the API?
6/16/2015LondonR 20
Python API Example
6/16/2015LondonR 21
X1, X2, X3 and X4
The four Iris features:
Sepal Length, Sepal Width,
Petal Length and Petal Width
Stock Market Forecast
• Historical stock data from Yahoo!
• Using R to generate numeric features (x)
• Target (y) – Next Trading Day % Change in Closing
Price
• Using R to build ensembles for forecast
• Configure scheduled runs
• Automatic version control
• API
6/16/2015LondonR 22
Predictive Model
6/16/2015LondonR 23
Historical stock price
data from Yahoo!
x: Multiple Technical Analysis Indicators
y: Next Day % Change in Closing Price
Predictive Model:
Ensemble of xgboost models
For more info, see
app.dominoup.com/jofaichow/example_stock
Scheduled Runs
6/16/2015LondonR 24
Point to the R script
Schedule to run at a certain time every
Weekday (more options available)
Re-publish API endpoint so it uses the latest results
Select different hardware tiers
Notify your friends / colleagues / clients
Results Notification
6/16/2015LondonR 25
Summary PDF
Automatic Version
Control
6/16/2015LondonR 26
Latest Version One of the Previous Versions
(I was experimenting with ggplot2)
Stock API Endpoint
6/16/2015LondonR 27
Stock Symbol (Ticker) for Query
Code Sharing
6/16/2015LondonR 28
Control Panel  Settings  One Click
Try it Yourself
6/16/2015LondonR 29
Register at www.dominodatalab.com
Help, Quick Start, Forum at support.dominodatalab.com
Try it Yourself
6/16/2015LondonR 30
Go to https://app.dominoup.com/jofaichow/example_iris
Set up your first API
Endpoint in Minutes
6/16/2015LondonR 31
Point it to your own project
Insert your own API key
Conclusions
• Data science is complicated.
• Our time is important.
• I can use Domino to save time.
• It helps me to tackle some challenges
that are outside my comfort zone.
6/16/2015LondonR 32
Thanks!
• Mango Solutions
• My Colleagues at Domino
• More Info and Feedback
o jofai@dominoup.com
o Twitter: @matlabulous
o http://blog.dominodatalab.com/
• Code
o Iris Example –
https://app.dominoup.com/jofaichow/example_iris
o Stock Example –
https://app.dominoup.com/jofaichow/example_stock
6/16/2015LondonR 33

More Related Content

PPTX
Kaggle Competitions, New Friends, New Skills and New Opportunities
PPTX
H2O Machine Learning Use Cases
PPTX
Using H2O Random Grid Search for Hyper-parameters Optimization
PPTX
Improving Model Predictions via Stacking and Hyper-parameters Tuning
PPTX
Project "Deep Water"
PPTX
Introduction to Generalised Low-Rank Model and Missing Values
PDF
Stacked Ensembles in H2O
PPTX
Kaggle Competitions, New Friends, New Skills and New Opportunities
H2O Machine Learning Use Cases
Using H2O Random Grid Search for Hyper-parameters Optimization
Improving Model Predictions via Stacking and Hyper-parameters Tuning
Project "Deep Water"
Introduction to Generalised Low-Rank Model and Missing Values
Stacked Ensembles in H2O

What's hot (20)

PDF
Project “Deep Water” (H2O integration with other deep learning libraries - Jo...
PDF
Data Intensive Applications with Apache Flink
PDF
Automatic and Interpretable Machine Learning in R with H2O and LIME
PDF
Using H2O AutoML for Kaggle Competitions
PDF
Automatic and Interpretable Machine Learning with H2O and LIME
PDF
Latest Developments in H2O
PDF
Deep Water - Bringing Tensorflow, Caffe, Mxnet to H2O
PDF
Introduction to Distributed Computing Engines for Data Processing - Simone Ro...
PPT
GPU Accelerated Machine Learning
PDF
sparklyr - Jeff Allen
PDF
World's Fastest Machine Learning With GPUs
PPTX
AI Development with H2O.ai
PDF
Introduction to Data Science with H2O- Mountain View
PDF
The Joys of Clean Data with Matt Dowle
PDF
GraphGen: Conducting Graph Analytics over Relational Databases
PDF
H2O Random Grid Search - PyData Amsterdam
PDF
Signals from outer space
PPTX
H2O & Tensorflow - Fabrizio
PDF
H2O Machine Learning and Kalman Filters for Machine Prognostics
PDF
Introduction to data science with H2O-Chicago
Project “Deep Water” (H2O integration with other deep learning libraries - Jo...
Data Intensive Applications with Apache Flink
Automatic and Interpretable Machine Learning in R with H2O and LIME
Using H2O AutoML for Kaggle Competitions
Automatic and Interpretable Machine Learning with H2O and LIME
Latest Developments in H2O
Deep Water - Bringing Tensorflow, Caffe, Mxnet to H2O
Introduction to Distributed Computing Engines for Data Processing - Simone Ro...
GPU Accelerated Machine Learning
sparklyr - Jeff Allen
World's Fastest Machine Learning With GPUs
AI Development with H2O.ai
Introduction to Data Science with H2O- Mountain View
The Joys of Clean Data with Matt Dowle
GraphGen: Conducting Graph Analytics over Relational Databases
H2O Random Grid Search - PyData Amsterdam
Signals from outer space
H2O & Tensorflow - Fabrizio
H2O Machine Learning and Kalman Filters for Machine Prognostics
Introduction to data science with H2O-Chicago
Ad

Viewers also liked (20)

PPTX
A Systematic, Multi-Criteria Decision Support Framework for Sustainable Drain...
PDF
Deep Water - GPU Deep Learning for H2O - Arno Candel
PPTX
Lego movie presentation (2)
PPTX
The Lego Movie (AS Media)
PDF
H2O 3 REST API Overview
PDF
H2O World - NCS Continuous Media Optimization w/H2O - Satya Satyamoorthy
PPTX
Deep learning with Tensorflow in R
PDF
H2O Deep Water - Making Deep Learning Accessible to Everyone
PPTX
Using Machine Learning For Solving Time Series Probelms
PPTX
Introduction to ML with Apache Spark MLlib
PDF
H2O Deep Water - Making Deep Learning Accessible to Everyone
PDF
R in finance: Introduction to R and Its Applications in Finance
PDF
Predictive Maintenance with R
PPTX
Hortonworks Data in Motion Webinar Series Part 7 Apache Kafka Nifi Better Tog...
PDF
[Tutorial] building machine learning models for predictive maintenance applic...
PDF
Slides econometrics-2017-graduate-2
PDF
Econometrics 2017-graduate-3
PPTX
From Kaggle to H2O - The True Story of a Civil Engineer Turned Data Geek
PPTX
Production ready big ml workflows from zero to hero daniel marcous @ waze
PDF
H2O Deep Learning at Next.ML
A Systematic, Multi-Criteria Decision Support Framework for Sustainable Drain...
Deep Water - GPU Deep Learning for H2O - Arno Candel
Lego movie presentation (2)
The Lego Movie (AS Media)
H2O 3 REST API Overview
H2O World - NCS Continuous Media Optimization w/H2O - Satya Satyamoorthy
Deep learning with Tensorflow in R
H2O Deep Water - Making Deep Learning Accessible to Everyone
Using Machine Learning For Solving Time Series Probelms
Introduction to ML with Apache Spark MLlib
H2O Deep Water - Making Deep Learning Accessible to Everyone
R in finance: Introduction to R and Its Applications in Finance
Predictive Maintenance with R
Hortonworks Data in Motion Webinar Series Part 7 Apache Kafka Nifi Better Tog...
[Tutorial] building machine learning models for predictive maintenance applic...
Slides econometrics-2017-graduate-2
Econometrics 2017-graduate-3
From Kaggle to H2O - The True Story of a Civil Engineer Turned Data Geek
Production ready big ml workflows from zero to hero daniel marcous @ waze
H2O Deep Learning at Next.ML
Ad

Similar to Deploying your Predictive Models as a Service via Domino (20)

PDF
Deploying your Predictive Models as a Service via
 Domino API Endpoints
PDF
Shaping the Future of Automatic Programming
PDF
1802_Crossminer_OCF2018
PDF
SBM Orchestrations - Beginners Guide (FUG Presentation)
PDF
Exploring AI Agents in Process Industries
PDF
C03.04c-InDepth-OP.key.pdf
PPTX
Tableau @ Spil Games
DOCX
PDF
F-interop Meetup
PDF
[Workshop] Managing the API lifecycle with Open Source Technologies
PDF
Open Data Science Conference Big Data Infrastructure – Introduction to Hadoop...
PDF
Streaming your Lyft Ride Prices - Flink Forward SF 2019
PDF
Flink Forward San Francisco 2019: Streaming your Lyft Ride Prices - Thomas We...
PDF
Flink Forward San Francisco 2019: Streaming your Lyft Ride Prices - Thomas We...
PDF
SWAD Timeline 4:3
PPT
DYNAMIC SLICING OF ASPECT-ORIENTED PROGRAMS
PPT
DYNAMIC SLICING OF ASPECT-ORIENTED PROGRAMS
PDF
Swad Timeline
PDF
S1: Side Labs & Alfresco Webinar
 
PPTX
[Pinto] Is my SharePoint Development team properly enlighted?
Deploying your Predictive Models as a Service via
 Domino API Endpoints
Shaping the Future of Automatic Programming
1802_Crossminer_OCF2018
SBM Orchestrations - Beginners Guide (FUG Presentation)
Exploring AI Agents in Process Industries
C03.04c-InDepth-OP.key.pdf
Tableau @ Spil Games
F-interop Meetup
[Workshop] Managing the API lifecycle with Open Source Technologies
Open Data Science Conference Big Data Infrastructure – Introduction to Hadoop...
Streaming your Lyft Ride Prices - Flink Forward SF 2019
Flink Forward San Francisco 2019: Streaming your Lyft Ride Prices - Thomas We...
Flink Forward San Francisco 2019: Streaming your Lyft Ride Prices - Thomas We...
SWAD Timeline 4:3
DYNAMIC SLICING OF ASPECT-ORIENTED PROGRAMS
DYNAMIC SLICING OF ASPECT-ORIENTED PROGRAMS
Swad Timeline
S1: Side Labs & Alfresco Webinar
 
[Pinto] Is my SharePoint Development team properly enlighted?

More from Jo-fai Chow (16)

PDF
Making Multimillion-Dollar Baseball Decisions with H2O AutoML, LIME and Shiny
PDF
H2O at Berlin R Meetup
PDF
H2O at BelgradeR Meetup
PDF
Introduction to H2O and Model Stacking Use Cases
PDF
H2O at Poznan R Meetup
PDF
Introduction to Machine Learning with H2O and Python
PDF
Introduction to Machine Learning with H2O and Python
PDF
H2O Deep Water - Making Deep Learning Accessible to Everyone
PPTX
Kaggle competitions, new friends, new skills and new opportunities
PPTX
A Systematic, Multi-Criteria Decision Support Framework for Sustainable Drain...
PPTX
Designing Sustainable Drainage Systems
PPTX
Developing a New Decision Support System for SuDS
PDF
Udacity Statement (Introduction to Statistics, August 2012)
PDF
Coursera Statement (Computational Investing, Part I,
PDF
Coursera Statement (Computing for Data Analysis, Oct 2013)
PDF
Coursera Statement (Data Analysis, Mar 2013)
Making Multimillion-Dollar Baseball Decisions with H2O AutoML, LIME and Shiny
H2O at Berlin R Meetup
H2O at BelgradeR Meetup
Introduction to H2O and Model Stacking Use Cases
H2O at Poznan R Meetup
Introduction to Machine Learning with H2O and Python
Introduction to Machine Learning with H2O and Python
H2O Deep Water - Making Deep Learning Accessible to Everyone
Kaggle competitions, new friends, new skills and new opportunities
A Systematic, Multi-Criteria Decision Support Framework for Sustainable Drain...
Designing Sustainable Drainage Systems
Developing a New Decision Support System for SuDS
Udacity Statement (Introduction to Statistics, August 2012)
Coursera Statement (Computational Investing, Part I,
Coursera Statement (Computing for Data Analysis, Oct 2013)
Coursera Statement (Data Analysis, Mar 2013)

Recently uploaded (20)

PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
KodekX | Application Modernization Development
PDF
Encapsulation theory and applications.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
A Presentation on Artificial Intelligence
PDF
Machine learning based COVID-19 study performance prediction
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Empathic Computing: Creating Shared Understanding
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
MYSQL Presentation for SQL database connectivity
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Review of recent advances in non-invasive hemoglobin estimation
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
KodekX | Application Modernization Development
Encapsulation theory and applications.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
CIFDAQ's Market Insight: SEC Turns Pro Crypto
“AI and Expert System Decision Support & Business Intelligence Systems”
The Rise and Fall of 3GPP – Time for a Sabbatical?
Network Security Unit 5.pdf for BCA BBA.
A Presentation on Artificial Intelligence
Machine learning based COVID-19 study performance prediction
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
NewMind AI Monthly Chronicles - July 2025
Empathic Computing: Creating Shared Understanding
How UI/UX Design Impacts User Retention in Mobile Apps.pdf

Deploying your Predictive Models as a Service via Domino