SlideShare a Scribd company logo
Tour of Apache PredictionIO
in 10 Minutes
Scala eXchange Dec 14th, 2017
Web Developer
We'd like to give users
recommendations.
App
Give us items, please.
Web Developer
Here you are.
Give us items, please.
Web Developer
Here you are.
App
It's easy for you to say.
Prediction
query
result
App
Training Data
Prediction
query
result
collect some events
App
Training Data
Predictive Model
Prediction
train
query
result
App
collect some events
Training Data
Predictive Model
Prediction
train
deploy
query
result
App
collect some events
Training Data
query
result
App
collect some events
PredictionIO
Overview
● Open source machine learning framework
○ Building an end-to-end machine learning platform
● Built-in storage facilities
○ Training data: (e.g.: Elasticsearch, HBase)
○ Models: (e.g.: HDFS, S3)
Apply Governance
● Involve personal efforts
○ Inconsistent architectures
● Apply governance using PIO
○ Improve efficiency and productivity
Training Data
Predictive Model
Prediction
train
deploy
query
result
App
collect some events
Training Data
Predictive Model
Prediction
deploy
query
result
App
collect some events
predict
train
Tour of Apache PredictionIO in 10 Minutes
Templates
● All kinds of machine learning tasks
○ Template gallery offers templates in advance
○ Use by downloading a template
● Customizable
Process
Process
git clone
choose a template
collect some events
Ap
Process
git clone
collect some events
pio build
choose a template
Process
git clone
collect some events
pio build
pio train
store model
choose a template
Process
git clone
collect some events
pio build
pio train
pio deploy
store model
choose a template
Process
git clone
collect some events
pio build
pio train
pio deploy
App
query
store model
choose a template
Process
git clone
collect some events
pio build
pio train
pio deploy
App
query
result
store model
choose a template
Note that some steps are left out for brevity.
Algorithm
def train(sc: SparkContext, data: PreparedData): Model = {
// Returns a trained model
}
def predict(model: Model, query: Query): PredictedResult = {
// Returns a prediction
}
Algorithm
def train(sc: SparkContext, data: PreparedData): Model = {
// Returns a trained model
}
def predict(model: Model, query: Query): PredictedResult = {
// Returns a prediction
}
Produce a model from prepared data
Algorithm
def train(sc: SparkContext, data: PreparedData): Model = {
// Returns a trained model
}
def predict(model: Model, query: Query): PredictedResult = {
// Returns a prediction
}
Produce a prediction from a query and
trained model
Community
● Support : user@predictionio.apache.org
● https://predictionio.apache.org
Tour of Apache PredictionIO in 10 Minutes

More Related Content

PPTX
Architect
PDF
Uladzimir Sapazhkou OpenSAP 2018
PPTX
Google cloud certification
PDF
PredictionIO - Scalable Machine Learning Architecture
PPTX
Introducing apache prediction io (incubating) (bay area spark meetup at sales...
PDF
[2C2]PredictionIO
PDF
pio_present
PPTX
Introduction to PredictionIO
Architect
Uladzimir Sapazhkou OpenSAP 2018
Google cloud certification
PredictionIO - Scalable Machine Learning Architecture
Introducing apache prediction io (incubating) (bay area spark meetup at sales...
[2C2]PredictionIO
pio_present
Introduction to PredictionIO

Similar to Tour of Apache PredictionIO in 10 Minutes (20)

PDF
Introduce to PredictionIO
PDF
PredictionIO - Building Applications That Predict User Behavior Through Big D...
PPTX
Jay Yagnik at AI Frontiers : A History Lesson on AI
PDF
PredictionIO – A Machine Learning Server in Scala – SF Scala
PDF
Deploying Machine Learning Models to Production
PDF
Machine Learning Software Design Pattern with PredictionIO
PDF
Prediction io 架構與整合 -DataCon.TW-2017
PDF
Hands_On_Machine_Learning_with_Scikit_Le.pdf
PDF
Introduction to Machine Learning and Data Science using the Autonomous databa...
PDF
Advanced Analytics With Spark Patterns For Learning From Data At Scale 2nd Ed...
PDF
Intro to machine learning for web folks @ BlendWebMix
PPTX
Big Data and Machine Learning on AWS
PDF
Summary machine learning and model deployment
PDF
Demystifying Machine Learning - How to give your business superpowers.
PPTX
Building and deploying a predictive model in Azure Machine Learning
PPTX
Machine Learning in the Real World
PDF
Introduction to Machine Learning and Data Science using Autonomous Database ...
PPTX
Artificial Intelligence and Machine Learning
PDF
Machine learning in production
PDF
Machine Learning in Autonomous Data Warehouse
Introduce to PredictionIO
PredictionIO - Building Applications That Predict User Behavior Through Big D...
Jay Yagnik at AI Frontiers : A History Lesson on AI
PredictionIO – A Machine Learning Server in Scala – SF Scala
Deploying Machine Learning Models to Production
Machine Learning Software Design Pattern with PredictionIO
Prediction io 架構與整合 -DataCon.TW-2017
Hands_On_Machine_Learning_with_Scikit_Le.pdf
Introduction to Machine Learning and Data Science using the Autonomous databa...
Advanced Analytics With Spark Patterns For Learning From Data At Scale 2nd Ed...
Intro to machine learning for web folks @ BlendWebMix
Big Data and Machine Learning on AWS
Summary machine learning and model deployment
Demystifying Machine Learning - How to give your business superpowers.
Building and deploying a predictive model in Azure Machine Learning
Machine Learning in the Real World
Introduction to Machine Learning and Data Science using Autonomous Database ...
Artificial Intelligence and Machine Learning
Machine learning in production
Machine Learning in Autonomous Data Warehouse
Ad

More from chibochibo (14)

PDF
Crawler Commons
PDF
LocalStack
PDF
Deadly Code! (seriously) Blocking & Hyper Context Switching Pattern
PDF
Dynamic SQL in doobie
PDF
Is spark streaming based on reactive streams?
PDF
What is doobie? - database access for scala -
PDF
Quartzでcronを範囲検索したい
PDF
ビッグじゃなくても使えるSpark Streaming
PDF
nioで作ったBufferedWriterに変えたら例外になった
PDF
Spark Streaming on AWS -S3からKinesisへ-
PDF
Spark in small or middle scale data processing with Elasticsearch
PDF
What's a macro?: Learning by Examples
PDF
Spring Boot Introduction
PDF
Slick入門
Crawler Commons
LocalStack
Deadly Code! (seriously) Blocking & Hyper Context Switching Pattern
Dynamic SQL in doobie
Is spark streaming based on reactive streams?
What is doobie? - database access for scala -
Quartzでcronを範囲検索したい
ビッグじゃなくても使えるSpark Streaming
nioで作ったBufferedWriterに変えたら例外になった
Spark Streaming on AWS -S3からKinesisへ-
Spark in small or middle scale data processing with Elasticsearch
What's a macro?: Learning by Examples
Spring Boot Introduction
Slick入門
Ad

Recently uploaded (20)

PPTX
Intro to ISO 9001 2015.pptx wareness raising
PPTX
_ISO_Presentation_ISO 9001 and 45001.pptx
PPTX
Emphasizing It's Not The End 08 06 2025.pptx
PPTX
The Effect of Human Resource Management Practice on Organizational Performanc...
PPTX
Effective_Handling_Information_Presentation.pptx
PPTX
Understanding-Communication-Berlos-S-M-C-R-Model.pptx
PPTX
Learning-Plan-5-Policies-and-Practices.pptx
PPTX
Non-Verbal-Communication .mh.pdf_110245_compressed.pptx
PPTX
2025-08-10 Joseph 02 (shared slides).pptx
PDF
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
PPTX
Tablets And Capsule Preformulation Of Paracetamol
PDF
Why Top Brands Trust Enuncia Global for Language Solutions.pdf
PPTX
Tour Presentation Educational Activity.pptx
PDF
Instagram's Product Secrets Unveiled with this PPT
PPTX
Project and change Managment: short video sequences for IBA
PPTX
Relationship Management Presentation In Banking.pptx
PDF
Parts of Speech Prepositions Presentation in Colorful Cute Style_20250724_230...
PPTX
INTERNATIONAL LABOUR ORAGNISATION PPT ON SOCIAL SCIENCE
PPTX
Self management and self evaluation presentation
PPTX
Presentation for DGJV QMS (PQP)_12.03.2025.pptx
Intro to ISO 9001 2015.pptx wareness raising
_ISO_Presentation_ISO 9001 and 45001.pptx
Emphasizing It's Not The End 08 06 2025.pptx
The Effect of Human Resource Management Practice on Organizational Performanc...
Effective_Handling_Information_Presentation.pptx
Understanding-Communication-Berlos-S-M-C-R-Model.pptx
Learning-Plan-5-Policies-and-Practices.pptx
Non-Verbal-Communication .mh.pdf_110245_compressed.pptx
2025-08-10 Joseph 02 (shared slides).pptx
Nykaa-Strategy-Case-Fixing-Retention-UX-and-D2C-Engagement (1).pdf
Tablets And Capsule Preformulation Of Paracetamol
Why Top Brands Trust Enuncia Global for Language Solutions.pdf
Tour Presentation Educational Activity.pptx
Instagram's Product Secrets Unveiled with this PPT
Project and change Managment: short video sequences for IBA
Relationship Management Presentation In Banking.pptx
Parts of Speech Prepositions Presentation in Colorful Cute Style_20250724_230...
INTERNATIONAL LABOUR ORAGNISATION PPT ON SOCIAL SCIENCE
Self management and self evaluation presentation
Presentation for DGJV QMS (PQP)_12.03.2025.pptx

Tour of Apache PredictionIO in 10 Minutes