http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/gallery/templates.yaml
----------------------------------------------------------------------
diff --git a/gallery/templates.yaml b/gallery/templates.yaml
index 0679d18..765719e 100644
--- a/gallery/templates.yaml
+++ b/gallery/templates.yaml
@@ -526,99 +526,3 @@
     license: "Apache Licence 2.0"
     status: beta
     pio_min_version: 0.9.0
-
-- template:
-    name: "Best Time: Push Notification"
-    repo: 
"https://github.com/PredictionIO/template-best-time-push-notification";
-    description: |-
-      This template predicts the best time to send push notification to a user 
to optimize conversion.
-    tags: [other]
-    type: "-"
-    language: "-"
-    license: "-"
-    status: requested
-    pio_min_version: "-"
-
-- template:
-    name: "Best Time: E-mail"
-    repo: "https://github.com/PredictionIO/template-best-time-email";
-    description: |-
-      An engine template is an almost-complete implementation of an engine. 
PredictionIO's Classification Engine Template has integrated Apache Spark 
MLlib's Naive Bayes algorithm by default.
-    tags: [other]
-    type: "-"
-    language: "-"
-    license: "-"
-    status: requested
-    pio_min_version: "-"
-
-- template:
-    name: Search Results Ranking
-    repo: "https://github.com/PredictionIO/template-search-results-ranking";
-    description: |-
-      This template rank the search results with a given user’s behavioral 
history so the top results are most relevant.
-    tags: [unsupervised]
-    type: "-"
-    language: "-"
-    license: "-"
-    status: requested
-    pio_min_version: "-"
-
-- template:
-    name: Category identification
-    repo: "https://github.com/PredictionIO/template-category-identification";
-    description: |-
-      Given a product and its description, this template identifies the 
category this item belongs to.
-    tags: [classification]
-    type: "-"
-    language: "-"
-    license: "-"
-    status: requested
-    pio_min_version: "-"
-
-- template:
-    name: Smart Categories
-    repo: "https://github.com/PredictionIO/template-smart-categories";
-    description: |-
-      This template ranks the categories for a user.
-    tags: [unsupervised]
-    type: "-"
-    language: "-"
-    license: "-"
-    status: requested
-    pio_min_version: "-"
-
-- template:
-    name: Fake Account Detection
-    repo: "https://github.com/PredictionIO/template-fake-account-detection";
-    description: |-
-      This template detects accounts created with abnormal pattern.
-    tags: [classification]
-    type: "-"
-    language: "-"
-    license: "-"
-    status: requested
-    pio_min_version: "-"
-
-- template:
-    name: Product Trend
-    repo: "https://github.com/PredictionIO/template-product-trend";
-    description: |-
-      This template analyze the user behavior on site to predict the best 
selling products and trends.
-    tags: [classification]
-    type: "-"
-    language: "-"
-    license: "-"
-    status: requested
-    pio_min_version: "-"
-
-- template:
-    name: User Similarity
-    repo: "https://github.com/PredictionIO/template-user-similarity";
-    description: |-
-      This template make recommendation on similar users based on attributes 
and behavior.
-    tags: [unsupervised]
-    type: "-"
-    language: "-"
-    license: "-"
-    status: requested
-    pio_min_version: "-"

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/github/index.html.gz
----------------------------------------------------------------------
diff --git a/github/index.html.gz b/github/index.html.gz
index 733a3fd..46061b6 100644
Binary files a/github/index.html.gz and b/github/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/index.html.gz
----------------------------------------------------------------------
diff --git a/index.html.gz b/index.html.gz
index 2b8ffb9..1c9e2ca 100644
Binary files a/index.html.gz and b/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/install/config-datastore/index.html.gz
----------------------------------------------------------------------
diff --git a/install/config-datastore/index.html.gz 
b/install/config-datastore/index.html.gz
index 83e600e..8618208 100644
Binary files a/install/config-datastore/index.html.gz and 
b/install/config-datastore/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/install/index.html.gz
----------------------------------------------------------------------
diff --git a/install/index.html.gz b/install/index.html.gz
index b710f26..900d1aa 100644
Binary files a/install/index.html.gz and b/install/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/install/install-linux/index.html.gz
----------------------------------------------------------------------
diff --git a/install/install-linux/index.html.gz 
b/install/install-linux/index.html.gz
index 7d43213..e0317b2 100644
Binary files a/install/install-linux/index.html.gz and 
b/install/install-linux/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/install/install-sourcecode/index.html.gz
----------------------------------------------------------------------
diff --git a/install/install-sourcecode/index.html.gz 
b/install/install-sourcecode/index.html.gz
index 87c6413..08f271d 100644
Binary files a/install/install-sourcecode/index.html.gz and 
b/install/install-sourcecode/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/install/install-vagrant/index.html.gz
----------------------------------------------------------------------
diff --git a/install/install-vagrant/index.html.gz 
b/install/install-vagrant/index.html.gz
index efd0558..e732498 100644
Binary files a/install/install-vagrant/index.html.gz and 
b/install/install-vagrant/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/install/launch-aws/index.html.gz
----------------------------------------------------------------------
diff --git a/install/launch-aws/index.html.gz b/install/launch-aws/index.html.gz
index bf811e8..83d7983 100644
Binary files a/install/launch-aws/index.html.gz and 
b/install/launch-aws/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/install/sdk/index.html.gz
----------------------------------------------------------------------
diff --git a/install/sdk/index.html.gz b/install/sdk/index.html.gz
index 6e54a2d..2c65352 100644
Binary files a/install/sdk/index.html.gz and b/install/sdk/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/javascripts/application-5a24945b.js.gz
----------------------------------------------------------------------
diff --git a/javascripts/application-5a24945b.js.gz 
b/javascripts/application-5a24945b.js.gz
index 37cf100..41cb183 100644
Binary files a/javascripts/application-5a24945b.js.gz and 
b/javascripts/application-5a24945b.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/javascripts/tryit-b5b64753.js.gz
----------------------------------------------------------------------
diff --git a/javascripts/tryit-b5b64753.js.gz b/javascripts/tryit-b5b64753.js.gz
index b8e9f0d..d75c6fa 100644
Binary files a/javascripts/tryit-b5b64753.js.gz and 
b/javascripts/tryit-b5b64753.js.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/machinelearning/dimensionalityreduction/index.html.gz
----------------------------------------------------------------------
diff --git a/machinelearning/dimensionalityreduction/index.html.gz 
b/machinelearning/dimensionalityreduction/index.html.gz
index 6f0264c..45e70fc 100644
Binary files a/machinelearning/dimensionalityreduction/index.html.gz and 
b/machinelearning/dimensionalityreduction/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/machinelearning/modelingworkflow/index.html.gz
----------------------------------------------------------------------
diff --git a/machinelearning/modelingworkflow/index.html.gz 
b/machinelearning/modelingworkflow/index.html.gz
index 07f2735..4e15b49 100644
Binary files a/machinelearning/modelingworkflow/index.html.gz and 
b/machinelearning/modelingworkflow/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/production/deploy-cloudformation/index.html.gz
----------------------------------------------------------------------
diff --git a/production/deploy-cloudformation/index.html.gz 
b/production/deploy-cloudformation/index.html.gz
index 8e83f86..ea7568f 100644
Binary files a/production/deploy-cloudformation/index.html.gz and 
b/production/deploy-cloudformation/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/resources/faq/index.html.gz
----------------------------------------------------------------------
diff --git a/resources/faq/index.html.gz b/resources/faq/index.html.gz
index c1e0a87..edf87ee 100644
Binary files a/resources/faq/index.html.gz and b/resources/faq/index.html.gz 
differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/resources/glossary/index.html.gz
----------------------------------------------------------------------
diff --git a/resources/glossary/index.html.gz b/resources/glossary/index.html.gz
index 7495bf7..1407af2 100644
Binary files a/resources/glossary/index.html.gz and 
b/resources/glossary/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/resources/intellij/index.html.gz
----------------------------------------------------------------------
diff --git a/resources/intellij/index.html.gz b/resources/intellij/index.html.gz
index cb9b2ae..38573b9 100644
Binary files a/resources/intellij/index.html.gz and 
b/resources/intellij/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/resources/upgrade/index.html.gz
----------------------------------------------------------------------
diff --git a/resources/upgrade/index.html.gz b/resources/upgrade/index.html.gz
index 423b1d0..0f36296 100644
Binary files a/resources/upgrade/index.html.gz and 
b/resources/upgrade/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/index.html.gz b/samples/index.html.gz
index 428617f..e56e828 100644
Binary files a/samples/index.html.gz and b/samples/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/languages/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/languages/index.html.gz b/samples/languages/index.html.gz
index 0e526e7..e7c1348 100644
Binary files a/samples/languages/index.html.gz and 
b/samples/languages/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/level-1/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/level-1/index.html.gz b/samples/level-1/index.html.gz
index f393662..af8bb4e 100644
Binary files a/samples/level-1/index.html.gz and 
b/samples/level-1/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/level-2-1/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/level-2-1/index.html.gz b/samples/level-2-1/index.html.gz
index 0b6fc5e..2b8db86 100644
Binary files a/samples/level-2-1/index.html.gz and 
b/samples/level-2-1/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/level-2-2/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/level-2-2/index.html.gz b/samples/level-2-2/index.html.gz
index 4ace5af..52d4264 100644
Binary files a/samples/level-2-2/index.html.gz and 
b/samples/level-2-2/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/level-2/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/level-2/index.html.gz b/samples/level-2/index.html.gz
index a9d6a2c..2907d84 100644
Binary files a/samples/level-2/index.html.gz and 
b/samples/level-2/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/level-3-1/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/level-3-1/index.html.gz b/samples/level-3-1/index.html.gz
index c6b8d56..d62f72e 100644
Binary files a/samples/level-3-1/index.html.gz and 
b/samples/level-3-1/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/level-3-2/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/level-3-2/index.html.gz b/samples/level-3-2/index.html.gz
index 8f93918..bdb4216 100644
Binary files a/samples/level-3-2/index.html.gz and 
b/samples/level-3-2/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/level-3/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/level-3/index.html.gz b/samples/level-3/index.html.gz
index 56832cc..5405dcc 100644
Binary files a/samples/level-3/index.html.gz and 
b/samples/level-3/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/level-4-1/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/level-4-1/index.html.gz b/samples/level-4-1/index.html.gz
index ae8347d..384ff5a 100644
Binary files a/samples/level-4-1/index.html.gz and 
b/samples/level-4-1/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/level-4-2/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/level-4-2/index.html.gz b/samples/level-4-2/index.html.gz
index 6ae96a6..2cd921d 100644
Binary files a/samples/level-4-2/index.html.gz and 
b/samples/level-4-2/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/level-4-3/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/level-4-3/index.html.gz b/samples/level-4-3/index.html.gz
index dd29f55..627b768 100644
Binary files a/samples/level-4-3/index.html.gz and 
b/samples/level-4-3/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/level-4/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/level-4/index.html.gz b/samples/level-4/index.html.gz
index d2faa14..6bd3b9d 100644
Binary files a/samples/level-4/index.html.gz and 
b/samples/level-4/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/narrow/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/narrow/index.html.gz b/samples/narrow/index.html.gz
index 53fcdb0..95bca0b 100644
Binary files a/samples/narrow/index.html.gz and b/samples/narrow/index.html.gz 
differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/sizing/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/sizing/index.html.gz b/samples/sizing/index.html.gz
index fb5b207..cda7495 100644
Binary files a/samples/sizing/index.html.gz and b/samples/sizing/index.html.gz 
differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/tabs/index.html
----------------------------------------------------------------------
diff --git a/samples/tabs/index.html b/samples/tabs/index.html
index 9bd97e7..b9e2d50 100644
--- a/samples/tabs/index.html
+++ b/samples/tabs/index.html
@@ -1,4 +1,4 @@
-<!DOCTYPE html><html><head><title>Tabs</title><meta charset="utf-8"/><meta 
content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta name="viewport" 
content="width=device-width, initial-scale=1.0"/><meta class="swiftype" 
name="title" data-type="string" content="Tabs"/><link rel="canonical" 
href="https://docs.prediction.io/samples/tabs/"/><link 
href="/images/favicon/normal-b330020a.png" rel="shortcut icon"/><link 
href="/images/favicon/apple-c0febcf2.png" rel="apple-touch-icon"/><link 
href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
 rel="stylesheet"/><link 
href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" 
rel="stylesheet"/><link href="/stylesheets/application-a2a2f408.css" 
rel="stylesheet" type="text/css"/><script 
src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script><script
 
src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></s
 cript><script 
src="//use.typekit.net/pqo0itb.js"></script><script>try{Typekit.load({ async: 
true });}catch(e){}</script></head><body><div id="global"><header><div 
class="container" id="header-wrapper"><div class="row"><div 
class="col-sm-12"><div id="logo-wrapper"><span id="drawer-toggle"></span><a 
href="#"></a><a href="http://predictionio.incubator.apache.org/";><img 
alt="PredictionIO" id="logo" 
src="/images/logos/logo-ee2b9bb3.png"/></a></div><div id="menu-wrapper"><div 
id="pill-wrapper"><a class="pill left" 
href="//templates.prediction.io/">TEMPLATES</a> <a class="pill right" 
href="//github.com/apache/incubator-predictionio/">OPEN 
SOURCE</a></div></div><img class="mobile-search-bar-toggler hidden-md 
hidden-lg" 
src="/images/icons/search-glass-704bd4ff.png"/></div></div></div></header><div 
id="search-bar-row-wrapper"><div class="container-fluid" 
id="search-bar-row"><div class="row"><div class="col-md-9 col-sm-11 
col-xs-11"><div class="hidden-md hidden-lg" id="mobile-page-heading-wrap
 per"><p>PredictionIO Docs</p><h4>Tabs</h4></div><h4 class="hidden-sm 
hidden-xs">PredictionIO Docs</h4></div><div class="col-md-3 col-sm-1 col-xs-1 
hidden-md hidden-lg"><img id="left-menu-indicator" 
src="/images/icons/down-arrow-dfe9f7fe.png"/></div><div class="col-md-3 
col-sm-12 col-xs-12 swiftype-wrapper"><div class="swiftype"><form 
class="search-form"><img class="search-box-toggler hidden-xs hidden-sm" 
src="/images/icons/search-glass-704bd4ff.png"/><div class="search-box"><img 
src="/images/icons/search-glass-704bd4ff.png"/><input type="text" 
id="st-search-input" class="st-search-input" placeholder="Search 
Doc..."/></div><img class="swiftype-row-hider hidden-md hidden-lg" 
src="/images/icons/drawer-toggle-active-fcbef12a.png"/></form></div></div><div 
class="mobile-left-menu-toggler hidden-md 
hidden-lg"></div></div></div></div><div id="page" class="container-fluid"><div 
class="row"><div id="left-menu-wrapper" class="col-md-3"><nav 
id="nav-main"><ul><li class="level-1"><a class="expan
 dible" href="/"><span>Apache PredictionIO (incubating) 
Documentation</span></a><ul><li class="level-2"><a class="final" 
href="/"><span>Welcome to Apache PredictionIO 
(incubating)</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Getting Started</span></a><ul><li class="level-2"><a 
class="final" href="/start/"><span>A Quick Intro</span></a></li><li 
class="level-2"><a class="final" href="/install/"><span>Installing Apache 
PredictionIO (incubating)</span></a></li><li class="level-2"><a class="final" 
href="/start/download/"><span>Downloading an Engine Template</span></a></li><li 
class="level-2"><a class="final" href="/start/deploy/"><span>Deploying Your 
First Engine</span></a></li><li class="level-2"><a class="final" 
href="/start/customize/"><span>Customizing the 
Engine</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Integrating with Your App</span></a><ul><li class="level-2"><a 
class="final" href="/appintegration/"><span
 >App Integration Overview</span></a></li><li class="level-2"><a 
 >class="expandible" href="/sdk/"><span>List of SDKs</span></a><ul><li 
 >class="level-3"><a class="final" href="/sdk/java/"><span>Java & Android 
 >SDK</span></a></li><li class="level-3"><a class="final" 
 >href="/sdk/php/"><span>PHP SDK</span></a></li><li class="level-3"><a 
 >class="final" href="/sdk/python/"><span>Python SDK</span></a></li><li 
 >class="level-3"><a class="final" href="/sdk/ruby/"><span>Ruby 
 >SDK</span></a></li><li class="level-3"><a class="final" 
 >href="/sdk/community/"><span>Community Powered 
 >SDKs</span></a></li></ul></li></ul></li><li class="level-1"><a 
 >class="expandible" href="#"><span>Deploying an Engine</span></a><ul><li 
 >class="level-2"><a class="final" href="/deploy/"><span>Deploying as a Web 
 >Service</span></a></li><li class="level-2"><a class="final" 
 >href="/cli/#engine-commands"><span>Engine Command-line 
 >Interface</span></a></li><li class="level-2"><a class="final" 
 >href="/deploy/monitoring/"><span>Monitoring En
 gine</span></a></li><li class="level-2"><a class="final" 
href="/deploy/engineparams/"><span>Setting Engine Parameters</span></a></li><li 
class="level-2"><a class="final" href="/deploy/enginevariants/"><span>Deploying 
Multiple Engine Variants</span></a></li></ul></li><li class="level-1"><a 
class="expandible" href="#"><span>Customizing an Engine</span></a><ul><li 
class="level-2"><a class="final" href="/customize/"><span>Learning 
DASE</span></a></li><li class="level-2"><a class="final" 
href="/customize/dase/"><span>Implement DASE</span></a></li><li 
class="level-2"><a class="final" 
href="/customize/troubleshooting/"><span>Troubleshooting Engine 
Development</span></a></li><li class="level-2"><a class="final" 
href="/api/current/#package"><span>Engine Scala 
APIs</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Collecting and Analyzing Data</span></a><ul><li 
class="level-2"><a class="final" href="/datacollection/"><span>Event Server 
Overview</span></a></li><
 li class="level-2"><a class="final" 
href="/cli/#event-server-commands"><span>Event Server Command-line 
Interface</span></a></li><li class="level-2"><a class="final" 
href="/datacollection/eventapi/"><span>Collecting Data with 
REST/SDKs</span></a></li><li class="level-2"><a class="final" 
href="/datacollection/eventmodel/"><span>Events Modeling</span></a></li><li 
class="level-2"><a class="final" 
href="/datacollection/webhooks/"><span>Unifying Multichannel Data with 
Webhooks</span></a></li><li class="level-2"><a class="final" 
href="/datacollection/channel/"><span>Channel</span></a></li><li 
class="level-2"><a class="final" 
href="/datacollection/batchimport/"><span>Importing Data in 
Batch</span></a></li><li class="level-2"><a class="final" 
href="/datacollection/analytics/"><span>Using Analytics 
Tools</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Choosing an Algorithm(s)</span></a><ul><li class="level-2"><a 
class="final" href="/algorithm/"><span>Built-in
  Algorithm Libraries</span></a></li><li class="level-2"><a class="final" 
href="/algorithm/switch/"><span>Switching to Another 
Algorithm</span></a></li><li class="level-2"><a class="final" 
href="/algorithm/multiple/"><span>Combining Multiple 
Algorithms</span></a></li><li class="level-2"><a class="final" 
href="/algorithm/custom/"><span>Adding Your Own 
Algorithms</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>ML Tuning and Evaluation</span></a><ul><li class="level-2"><a 
class="final" href="/evaluation/"><span>Overview</span></a></li><li 
class="level-2"><a class="final" 
href="/evaluation/paramtuning/"><span>Hyperparameter Tuning</span></a></li><li 
class="level-2"><a class="final" 
href="/evaluation/evaluationdashboard/"><span>Evaluation 
Dashboard</span></a></li><li class="level-2"><a class="final" 
href="/evaluation/metricchoose/"><span>Choosing Evaluation 
Metrics</span></a></li><li class="level-2"><a class="final" 
href="/evaluation/metricbuild/"><span>B
 uilding Evaluation Metrics</span></a></li></ul></li><li class="level-1"><a 
class="expandible" href="#"><span>System Architecture</span></a><ul><li 
class="level-2"><a class="final" href="/system/"><span>Architecture 
Overview</span></a></li><li class="level-2"><a class="final" 
href="/system/anotherdatastore/"><span>Using Another Data 
Store</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Engine Template Gallery</span></a><ul><li class="level-2"><a 
class="final" href="/gallery/template-gallery/"><span>Browse</span></a></li><li 
class="level-2"><a class="final" 
href="/community/submit-template/"><span>Submit your Engine as a 
Template</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Demo Tutorials</span></a><ul><li class="level-2"><a 
class="final" href="/demo/tapster/"><span>Comics Recommendation 
Demo</span></a></li><li class="level-2"><a class="final" 
href="/demo/community/"><span>Community Contributed Demo</span></a></li>
 <li class="level-2"><a class="final" 
href="/demo/textclassification/"><span>Text Classification Engine 
Tutorial</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="/community/"><span>Getting Involved</span></a><ul><li class="level-2"><a 
class="final" href="/community/contribute-code/"><span>Contribute 
Code</span></a></li><li class="level-2"><a class="final" 
href="/community/contribute-documentation/"><span>Contribute 
Documentation</span></a></li><li class="level-2"><a class="final" 
href="/community/contribute-sdk/"><span>Contribute a SDK</span></a></li><li 
class="level-2"><a class="final" 
href="/community/contribute-webhook/"><span>Contribute a 
Webhook</span></a></li><li class="level-2"><a class="final" 
href="/community/projects/"><span>Community 
Projects</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Getting Help</span></a><ul><li class="level-2"><a class="final" 
href="/resources/faq/"><span>FAQs</span></a></li><li class="leve
 l-2"><a class="final" 
href="/support/"><span>Support</span></a></li></ul></li><li class="level-1"><a 
class="expandible" href="#"><span>Resources</span></a><ul><li 
class="level-2"><a class="final" href="/resources/intellij/"><span>Developing 
Engines with IntelliJ IDEA</span></a></li><li class="level-2"><a class="final" 
href="/resources/upgrade/"><span>Upgrade Instructions</span></a></li><li 
class="level-2"><a class="final" 
href="/resources/glossary/"><span>Glossary</span></a></li></ul></li></ul></nav></div><div
 class="col-md-9 col-sm-12"><div class="content-header hidden-md 
hidden-lg"><div id="page-title"><h1>Tabs</h1></div></div><div 
id="table-of-content-wrapper"><h5>On this page</h5><aside 
id="table-of-contents"><ul> <li> <a href="#test-syncing">Test Syncing</a> </li> 
</ul> </aside><hr/><a id="edit-page-link" 
href="https://github.com/apache/incubator-predictionio/tree/livedoc/docs/manual/source/samples/tabs.html.md";><img
 src="/images/icons/edit-pencil-d6c1bb3d.png"/>Edit this page<
 /a></div><div class="content-header hidden-sm hidden-xs"><div 
id="page-title"><h1>Tabs</h1></div></div><div class="content"><p>This page is 
used to test the tabs plugin based on <a 
href="https://github.com/vdw/Tabslet";>Tabslet</a>.</p><div class="tabs"> <ul 
class="control"> <li data-lang="ruby"><a 
href="#tab-29d7f9cc-3943-410b-b3a5-2cc6d320b730">Ruby</a></li> <li 
data-lang=""><a href="#tab-27ccfc93-6406-4a45-92d5-f4b5be219880">Plain</a></li> 
<li data-lang="html"><a 
href="#tab-1bf687a2-54dd-462f-9efe-28cb38677b17">HTML</a></li> <li 
data-lang=""><a href="#tab-80067843-0196-4843-96f4-3fb555c6cc2c">Test</a></li> 
</ul> <div data-tab="Ruby" data-lang="ruby" 
id="tab-29d7f9cc-3943-410b-b3a5-2cc6d320b730"> <div class="highlight ruby"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
+<!DOCTYPE html><html><head><title>Tabs</title><meta charset="utf-8"/><meta 
content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/><meta name="viewport" 
content="width=device-width, initial-scale=1.0"/><meta class="swiftype" 
name="title" data-type="string" content="Tabs"/><link rel="canonical" 
href="https://docs.prediction.io/samples/tabs/"/><link 
href="/images/favicon/normal-b330020a.png" rel="shortcut icon"/><link 
href="/images/favicon/apple-c0febcf2.png" rel="apple-touch-icon"/><link 
href="//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800"
 rel="stylesheet"/><link 
href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" 
rel="stylesheet"/><link href="/stylesheets/application-a2a2f408.css" 
rel="stylesheet" type="text/css"/><script 
src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script><script
 
src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></s
 cript><script 
src="//use.typekit.net/pqo0itb.js"></script><script>try{Typekit.load({ async: 
true });}catch(e){}</script></head><body><div id="global"><header><div 
class="container" id="header-wrapper"><div class="row"><div 
class="col-sm-12"><div id="logo-wrapper"><span id="drawer-toggle"></span><a 
href="#"></a><a href="http://predictionio.incubator.apache.org/";><img 
alt="PredictionIO" id="logo" 
src="/images/logos/logo-ee2b9bb3.png"/></a></div><div id="menu-wrapper"><div 
id="pill-wrapper"><a class="pill left" 
href="//templates.prediction.io/">TEMPLATES</a> <a class="pill right" 
href="//github.com/apache/incubator-predictionio/">OPEN 
SOURCE</a></div></div><img class="mobile-search-bar-toggler hidden-md 
hidden-lg" 
src="/images/icons/search-glass-704bd4ff.png"/></div></div></div></header><div 
id="search-bar-row-wrapper"><div class="container-fluid" 
id="search-bar-row"><div class="row"><div class="col-md-9 col-sm-11 
col-xs-11"><div class="hidden-md hidden-lg" id="mobile-page-heading-wrap
 per"><p>PredictionIO Docs</p><h4>Tabs</h4></div><h4 class="hidden-sm 
hidden-xs">PredictionIO Docs</h4></div><div class="col-md-3 col-sm-1 col-xs-1 
hidden-md hidden-lg"><img id="left-menu-indicator" 
src="/images/icons/down-arrow-dfe9f7fe.png"/></div><div class="col-md-3 
col-sm-12 col-xs-12 swiftype-wrapper"><div class="swiftype"><form 
class="search-form"><img class="search-box-toggler hidden-xs hidden-sm" 
src="/images/icons/search-glass-704bd4ff.png"/><div class="search-box"><img 
src="/images/icons/search-glass-704bd4ff.png"/><input type="text" 
id="st-search-input" class="st-search-input" placeholder="Search 
Doc..."/></div><img class="swiftype-row-hider hidden-md hidden-lg" 
src="/images/icons/drawer-toggle-active-fcbef12a.png"/></form></div></div><div 
class="mobile-left-menu-toggler hidden-md 
hidden-lg"></div></div></div></div><div id="page" class="container-fluid"><div 
class="row"><div id="left-menu-wrapper" class="col-md-3"><nav 
id="nav-main"><ul><li class="level-1"><a class="expan
 dible" href="/"><span>Apache PredictionIO (incubating) 
Documentation</span></a><ul><li class="level-2"><a class="final" 
href="/"><span>Welcome to Apache PredictionIO 
(incubating)</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Getting Started</span></a><ul><li class="level-2"><a 
class="final" href="/start/"><span>A Quick Intro</span></a></li><li 
class="level-2"><a class="final" href="/install/"><span>Installing Apache 
PredictionIO (incubating)</span></a></li><li class="level-2"><a class="final" 
href="/start/download/"><span>Downloading an Engine Template</span></a></li><li 
class="level-2"><a class="final" href="/start/deploy/"><span>Deploying Your 
First Engine</span></a></li><li class="level-2"><a class="final" 
href="/start/customize/"><span>Customizing the 
Engine</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Integrating with Your App</span></a><ul><li class="level-2"><a 
class="final" href="/appintegration/"><span
 >App Integration Overview</span></a></li><li class="level-2"><a 
 >class="expandible" href="/sdk/"><span>List of SDKs</span></a><ul><li 
 >class="level-3"><a class="final" href="/sdk/java/"><span>Java & Android 
 >SDK</span></a></li><li class="level-3"><a class="final" 
 >href="/sdk/php/"><span>PHP SDK</span></a></li><li class="level-3"><a 
 >class="final" href="/sdk/python/"><span>Python SDK</span></a></li><li 
 >class="level-3"><a class="final" href="/sdk/ruby/"><span>Ruby 
 >SDK</span></a></li><li class="level-3"><a class="final" 
 >href="/sdk/community/"><span>Community Powered 
 >SDKs</span></a></li></ul></li></ul></li><li class="level-1"><a 
 >class="expandible" href="#"><span>Deploying an Engine</span></a><ul><li 
 >class="level-2"><a class="final" href="/deploy/"><span>Deploying as a Web 
 >Service</span></a></li><li class="level-2"><a class="final" 
 >href="/cli/#engine-commands"><span>Engine Command-line 
 >Interface</span></a></li><li class="level-2"><a class="final" 
 >href="/deploy/monitoring/"><span>Monitoring En
 gine</span></a></li><li class="level-2"><a class="final" 
href="/deploy/engineparams/"><span>Setting Engine Parameters</span></a></li><li 
class="level-2"><a class="final" href="/deploy/enginevariants/"><span>Deploying 
Multiple Engine Variants</span></a></li></ul></li><li class="level-1"><a 
class="expandible" href="#"><span>Customizing an Engine</span></a><ul><li 
class="level-2"><a class="final" href="/customize/"><span>Learning 
DASE</span></a></li><li class="level-2"><a class="final" 
href="/customize/dase/"><span>Implement DASE</span></a></li><li 
class="level-2"><a class="final" 
href="/customize/troubleshooting/"><span>Troubleshooting Engine 
Development</span></a></li><li class="level-2"><a class="final" 
href="/api/current/#package"><span>Engine Scala 
APIs</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Collecting and Analyzing Data</span></a><ul><li 
class="level-2"><a class="final" href="/datacollection/"><span>Event Server 
Overview</span></a></li><
 li class="level-2"><a class="final" 
href="/cli/#event-server-commands"><span>Event Server Command-line 
Interface</span></a></li><li class="level-2"><a class="final" 
href="/datacollection/eventapi/"><span>Collecting Data with 
REST/SDKs</span></a></li><li class="level-2"><a class="final" 
href="/datacollection/eventmodel/"><span>Events Modeling</span></a></li><li 
class="level-2"><a class="final" 
href="/datacollection/webhooks/"><span>Unifying Multichannel Data with 
Webhooks</span></a></li><li class="level-2"><a class="final" 
href="/datacollection/channel/"><span>Channel</span></a></li><li 
class="level-2"><a class="final" 
href="/datacollection/batchimport/"><span>Importing Data in 
Batch</span></a></li><li class="level-2"><a class="final" 
href="/datacollection/analytics/"><span>Using Analytics 
Tools</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Choosing an Algorithm(s)</span></a><ul><li class="level-2"><a 
class="final" href="/algorithm/"><span>Built-in
  Algorithm Libraries</span></a></li><li class="level-2"><a class="final" 
href="/algorithm/switch/"><span>Switching to Another 
Algorithm</span></a></li><li class="level-2"><a class="final" 
href="/algorithm/multiple/"><span>Combining Multiple 
Algorithms</span></a></li><li class="level-2"><a class="final" 
href="/algorithm/custom/"><span>Adding Your Own 
Algorithms</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>ML Tuning and Evaluation</span></a><ul><li class="level-2"><a 
class="final" href="/evaluation/"><span>Overview</span></a></li><li 
class="level-2"><a class="final" 
href="/evaluation/paramtuning/"><span>Hyperparameter Tuning</span></a></li><li 
class="level-2"><a class="final" 
href="/evaluation/evaluationdashboard/"><span>Evaluation 
Dashboard</span></a></li><li class="level-2"><a class="final" 
href="/evaluation/metricchoose/"><span>Choosing Evaluation 
Metrics</span></a></li><li class="level-2"><a class="final" 
href="/evaluation/metricbuild/"><span>B
 uilding Evaluation Metrics</span></a></li></ul></li><li class="level-1"><a 
class="expandible" href="#"><span>System Architecture</span></a><ul><li 
class="level-2"><a class="final" href="/system/"><span>Architecture 
Overview</span></a></li><li class="level-2"><a class="final" 
href="/system/anotherdatastore/"><span>Using Another Data 
Store</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Engine Template Gallery</span></a><ul><li class="level-2"><a 
class="final" href="/gallery/template-gallery/"><span>Browse</span></a></li><li 
class="level-2"><a class="final" 
href="/community/submit-template/"><span>Submit your Engine as a 
Template</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Demo Tutorials</span></a><ul><li class="level-2"><a 
class="final" href="/demo/tapster/"><span>Comics Recommendation 
Demo</span></a></li><li class="level-2"><a class="final" 
href="/demo/community/"><span>Community Contributed Demo</span></a></li>
 <li class="level-2"><a class="final" 
href="/demo/textclassification/"><span>Text Classification Engine 
Tutorial</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="/community/"><span>Getting Involved</span></a><ul><li class="level-2"><a 
class="final" href="/community/contribute-code/"><span>Contribute 
Code</span></a></li><li class="level-2"><a class="final" 
href="/community/contribute-documentation/"><span>Contribute 
Documentation</span></a></li><li class="level-2"><a class="final" 
href="/community/contribute-sdk/"><span>Contribute a SDK</span></a></li><li 
class="level-2"><a class="final" 
href="/community/contribute-webhook/"><span>Contribute a 
Webhook</span></a></li><li class="level-2"><a class="final" 
href="/community/projects/"><span>Community 
Projects</span></a></li></ul></li><li class="level-1"><a class="expandible" 
href="#"><span>Getting Help</span></a><ul><li class="level-2"><a class="final" 
href="/resources/faq/"><span>FAQs</span></a></li><li class="leve
 l-2"><a class="final" 
href="/support/"><span>Support</span></a></li></ul></li><li class="level-1"><a 
class="expandible" href="#"><span>Resources</span></a><ul><li 
class="level-2"><a class="final" href="/resources/intellij/"><span>Developing 
Engines with IntelliJ IDEA</span></a></li><li class="level-2"><a class="final" 
href="/resources/upgrade/"><span>Upgrade Instructions</span></a></li><li 
class="level-2"><a class="final" 
href="/resources/glossary/"><span>Glossary</span></a></li></ul></li></ul></nav></div><div
 class="col-md-9 col-sm-12"><div class="content-header hidden-md 
hidden-lg"><div id="page-title"><h1>Tabs</h1></div></div><div 
id="table-of-content-wrapper"><h5>On this page</h5><aside 
id="table-of-contents"><ul> <li> <a href="#test-syncing">Test Syncing</a> </li> 
</ul> </aside><hr/><a id="edit-page-link" 
href="https://github.com/apache/incubator-predictionio/tree/livedoc/docs/manual/source/samples/tabs.html.md";><img
 src="/images/icons/edit-pencil-d6c1bb3d.png"/>Edit this page<
 /a></div><div class="content-header hidden-sm hidden-xs"><div 
id="page-title"><h1>Tabs</h1></div></div><div class="content"><p>This page is 
used to test the tabs plugin based on <a 
href="https://github.com/vdw/Tabslet";>Tabslet</a>.</p><div class="tabs"> <ul 
class="control"> <li data-lang="ruby"><a 
href="#tab-457d387e-cd70-46b6-beee-d840c5e0e449">Ruby</a></li> <li 
data-lang=""><a href="#tab-040f1164-605e-446c-9e6f-d54b5e8c7a61">Plain</a></li> 
<li data-lang="html"><a 
href="#tab-35b1cbbe-af53-40a4-a2fc-aa23039e5aa1">HTML</a></li> <li 
data-lang=""><a href="#tab-ab90eac0-b92c-4cb6-a452-87529b9fcfc2">Test</a></li> 
</ul> <div data-tab="Ruby" data-lang="ruby" 
id="tab-457d387e-cd70-46b6-beee-d840c5e0e449"> <div class="highlight ruby"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -9,11 +9,11 @@
     <span class="s1">'bar'</span>
   <span class="k">end</span>
 <span class="k">end</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Plain" 
id="tab-27ccfc93-6406-4a45-92d5-f4b5be219880"> This is a test of **markdown** 
inside a tab! <div class="highlight shell"> <table style="border-spacing: 
0"><tbody><tr> <td class="gutter gl" style="text-align: right"><pre 
class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Plain" 
id="tab-040f1164-605e-446c-9e6f-d54b5e8c7a61"> This is a test of **markdown** 
inside a tab! <div class="highlight shell"> <table style="border-spacing: 
0"><tbody><tr> <td class="gutter gl" style="text-align: right"><pre 
class="lineno">1
 2</pre></td> <td class="code"><pre>// This tab does not have the data-lang 
attribute <span class="nb">set</span>!
 <span class="gp">$ </span><span class="nb">cd </span>path/to/your/file
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="HTML" 
data-lang="html" id="tab-1bf687a2-54dd-462f-9efe-28cb38677b17"> <div 
class="highlight html"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1</pre></td> 
<td class="code"><pre><span class="nt">&lt;p&gt;</span>Yes you can still use 
HTML in code blocks!<span class="nt">&lt;/p&gt;</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Test" 
id="tab-80067843-0196-4843-96f4-3fb555c6cc2c"> <div class="highlight php"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="HTML" 
data-lang="html" id="tab-35b1cbbe-af53-40a4-a2fc-aa23039e5aa1"> <div 
class="highlight html"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1</pre></td> 
<td class="code"><pre><span class="nt">&lt;p&gt;</span>Yes you can still use 
HTML in code blocks!<span class="nt">&lt;/p&gt;</span>
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Test" 
id="tab-ab90eac0-b92c-4cb6-a452-87529b9fcfc2"> <div class="highlight php"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -28,7 +28,7 @@ Test</span> <span class="na">5 =</span><span class="err">&gt;
 </span><span class="s">Test</span> <span class="na">6</span> <span 
class="err">&lt;=</span>
 <span class="na">Test</span> <span class="na">7</span> <span 
class="err">&lt;</span><span class="nt">&gt;</span>
 <span class="nt">&lt;p&gt;&lt;b&gt;</span>Test<span 
class="nt">&lt;/b&gt;&lt;/p&gt;</span>
-</pre></td> </tr></tbody></table> </div> </div> </div> <h2 id='test-syncing' 
class='header-anchors'>Test Syncing</h2><p>Here we show a similar set of tabs 
to test language syncing:</p><div class="tabs"> <ul class="control"> <li 
data-lang="ruby"><a 
href="#tab-a07f5acd-1d0b-4654-8b98-292556366566">Ruby</a></li> <li 
data-lang=""><a href="#tab-b2619184-5fec-47a7-b6c7-248fdf55248c">Plain</a></li> 
<li data-lang="html"><a 
href="#tab-ce56188b-2087-43d2-a1fa-b4b352eb3079">HTML</a></li> <li 
data-lang="python"><a 
href="#tab-b8f48389-87a5-42b9-8e3e-a78f28a1f3c6">Python</a></li> </ul> <div 
data-tab="Ruby" data-lang="ruby" id="tab-a07f5acd-1d0b-4654-8b98-292556366566"> 
<div class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> </div> <h2 id='test-syncing' 
class='header-anchors'>Test Syncing</h2><p>Here we show a similar set of tabs 
to test language syncing:</p><div class="tabs"> <ul class="control"> <li 
data-lang="ruby"><a 
href="#tab-0eccb4e3-e49d-46e0-9eef-d0925dee8a0c">Ruby</a></li> <li 
data-lang=""><a href="#tab-9ce1db4c-3dfd-4426-9547-1970745dba47">Plain</a></li> 
<li data-lang="html"><a 
href="#tab-a97d0a31-6eb0-40ac-a065-f731cb2fa643">HTML</a></li> <li 
data-lang="python"><a 
href="#tab-9739a497-3d9a-4abb-97d5-41912a19cbbe">Python</a></li> </ul> <div 
data-tab="Ruby" data-lang="ruby" id="tab-0eccb4e3-e49d-46e0-9eef-d0925dee8a0c"> 
<div class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -39,12 +39,12 @@ Test</span> <span class="na">5 =</span><span 
class="err">&gt;
     <span class="s1">'bar'</span>
   <span class="k">end</span>
 <span class="k">end</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Plain" 
id="tab-b2619184-5fec-47a7-b6c7-248fdf55248c"> This is a test of **markdown** 
inside a tab! <div class="highlight shell"> <table style="border-spacing: 
0"><tbody><tr> <td class="gutter gl" style="text-align: right"><pre 
class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Plain" 
id="tab-9ce1db4c-3dfd-4426-9547-1970745dba47"> This is a test of **markdown** 
inside a tab! <div class="highlight shell"> <table style="border-spacing: 
0"><tbody><tr> <td class="gutter gl" style="text-align: right"><pre 
class="lineno">1
 2</pre></td> <td class="code"><pre>// This tab does not have the data-lang 
attribute <span class="nb">set</span>!
 <span class="gp">$ </span><span class="nb">cd </span>path/to/your/file
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="HTML" 
data-lang="html" id="tab-ce56188b-2087-43d2-a1fa-b4b352eb3079"> <p>This HTML is 
<b>hard coded</b>.</p> </div> <div data-tab="Python" data-lang="python" 
id="tab-b8f48389-87a5-42b9-8e3e-a78f28a1f3c6"> <div class="highlight python"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1</pre></td> <td 
class="code"><pre><span class="c"># The other group does not have a Python 
tab.</span>
-</pre></td> </tr></tbody></table> </div> </div> </div> <div class="tabs"> <ul 
class="control"> <li data-lang="java"><a 
href="#tab-e9256510-7de9-4b9c-ae41-bc0f8a707e3e">Java</a></li> <li 
data-lang="html"><a 
href="#tab-95a1caf5-67e9-4bdf-998c-1811d5bb9e9d">HTML</a></li> </ul> <div 
data-tab="Java" data-lang="java" id="tab-e9256510-7de9-4b9c-ae41-bc0f8a707e3e"> 
<div class="highlight plaintext"> <table style="border-spacing: 0"><tbody><tr> 
<td class="gutter gl" style="text-align: right"><pre 
class="lineno">1</pre></td> <td class="code"><pre>// Java code..
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="HTML" 
data-lang="html" id="tab-95a1caf5-67e9-4bdf-998c-1811d5bb9e9d"> This includes 
**bold** with Markdown. </div> </div> </div></div></div></div><footer><div 
class="container"><div class="seperator"></div><div class="row"><div 
class="col-md-6 col-xs-6 footer-link-column"><div 
class="footer-link-column-row"><h4>Community</h4><ul><li><a 
href="//docs.prediction.io/install/" target="blank">Download</a></li><li><a 
href="//docs.prediction.io/" target="blank">Docs</a></li><li><a 
href="//github.com/apache/incubator-predictionio" 
target="blank">GitHub</a></li><li><a 
href="mailto:[email protected]"; 
target="blank">Subscribe to User Mailing List</a></li><li><a 
href="//stackoverflow.com/questions/tagged/predictionio" 
target="blank">Stackoverflow</a></li></ul></div></div><div class="col-md-6 
col-xs-6 footer-link-column"><div 
class="footer-link-column-row"><h4>Contribute</h4><ul><li><a href="//prediction
 io.incubator.apache.org/community/contribute-code/" 
target="blank">Contribute</a></li><li><a 
href="//github.com/apache/incubator-predictionio" target="blank">Source 
Code</a></li><li><a href="//issues.apache.org/jira/browse/PIO" 
target="blank">Bug Tracker</a></li><li><a 
href="mailto:[email protected]"; 
target="blank">Subscribe to Development Mailing 
List</a></li></ul></div></div></div></div><div id="footer-bottom"><div 
class="container"><div class="row"><div class="col-md-12"><div 
id="footer-logo-wrapper"><img alt="PredictionIO" 
src="/images/logos/logo-white-d1e9c6e6.png"/></div><div 
id="social-icons-wrapper"><a class="github-button" 
href="https://github.com/apache/incubator-predictionio"; data-style="mega" 
data-count-href="/apache/incubator-predictionio/stargazers" 
data-count-api="/repos/apache/incubator-predictionio#stargazers_count" 
data-count-aria-label="# stargazers on GitHub" aria-label="Star 
apache/incubator-predictionio on GitHub">Star</a> <a class
 ="github-button" href="https://github.com/apache/incubator-predictionio/fork"; 
data-icon="octicon-git-branch" data-style="mega" 
data-count-href="/apache/incubator-predictionio/network" 
data-count-api="/repos/apache/incubator-predictionio#forks_count" 
data-count-aria-label="# forks on GitHub" aria-label="Fork 
apache/incubator-predictionio on GitHub">Fork</a> <script id="github-bjs" 
async="" defer="" src="https://buttons.github.io/buttons.js";></script><a 
href="//www.facebook.com/predictionio" target="blank"><img alt="PredictionIO on 
Twitter" src="/images/icons/twitter-ea9dc152.png"/></a> <a 
href="//twitter.com/predictionio" target="blank"><img alt="PredictionIO on 
Facebook" src="/images/icons/facebook-5c57939c.png"/></a> 
</div></div></div></div></div></footer></div><script>(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="HTML" 
data-lang="html" id="tab-a97d0a31-6eb0-40ac-a065-f731cb2fa643"> <p>This HTML is 
<b>hard coded</b>.</p> </div> <div data-tab="Python" data-lang="python" 
id="tab-9739a497-3d9a-4abb-97d5-41912a19cbbe"> <div class="highlight python"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1</pre></td> <td 
class="code"><pre><span class="c"># The other group does not have a Python 
tab.</span>
+</pre></td> </tr></tbody></table> </div> </div> </div> <div class="tabs"> <ul 
class="control"> <li data-lang="java"><a 
href="#tab-7643f9f9-2b62-45bd-8c46-f1f07d86e437">Java</a></li> <li 
data-lang="html"><a 
href="#tab-bd4993e6-5a64-42c1-87fb-f6a547ab7ee5">HTML</a></li> </ul> <div 
data-tab="Java" data-lang="java" id="tab-7643f9f9-2b62-45bd-8c46-f1f07d86e437"> 
<div class="highlight plaintext"> <table style="border-spacing: 0"><tbody><tr> 
<td class="gutter gl" style="text-align: right"><pre 
class="lineno">1</pre></td> <td class="code"><pre>// Java code..
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="HTML" 
data-lang="html" id="tab-bd4993e6-5a64-42c1-87fb-f6a547ab7ee5"> This includes 
**bold** with Markdown. </div> </div> </div></div></div></div><footer><div 
class="container"><div class="seperator"></div><div class="row"><div 
class="col-md-6 col-xs-6 footer-link-column"><div 
class="footer-link-column-row"><h4>Community</h4><ul><li><a 
href="//docs.prediction.io/install/" target="blank">Download</a></li><li><a 
href="//docs.prediction.io/" target="blank">Docs</a></li><li><a 
href="//github.com/apache/incubator-predictionio" 
target="blank">GitHub</a></li><li><a 
href="mailto:[email protected]"; 
target="blank">Subscribe to User Mailing List</a></li><li><a 
href="//stackoverflow.com/questions/tagged/predictionio" 
target="blank">Stackoverflow</a></li></ul></div></div><div class="col-md-6 
col-xs-6 footer-link-column"><div 
class="footer-link-column-row"><h4>Contribute</h4><ul><li><a href="//prediction
 io.incubator.apache.org/community/contribute-code/" 
target="blank">Contribute</a></li><li><a 
href="//github.com/apache/incubator-predictionio" target="blank">Source 
Code</a></li><li><a href="//issues.apache.org/jira/browse/PIO" 
target="blank">Bug Tracker</a></li><li><a 
href="mailto:[email protected]"; 
target="blank">Subscribe to Development Mailing 
List</a></li></ul></div></div></div></div><div id="footer-bottom"><div 
class="container"><div class="row"><div class="col-md-12"><div 
id="footer-logo-wrapper"><img alt="PredictionIO" 
src="/images/logos/logo-white-d1e9c6e6.png"/></div><div 
id="social-icons-wrapper"><a class="github-button" 
href="https://github.com/apache/incubator-predictionio"; data-style="mega" 
data-count-href="/apache/incubator-predictionio/stargazers" 
data-count-api="/repos/apache/incubator-predictionio#stargazers_count" 
data-count-aria-label="# stargazers on GitHub" aria-label="Star 
apache/incubator-predictionio on GitHub">Star</a> <a class
 ="github-button" href="https://github.com/apache/incubator-predictionio/fork"; 
data-icon="octicon-git-branch" data-style="mega" 
data-count-href="/apache/incubator-predictionio/network" 
data-count-api="/repos/apache/incubator-predictionio#forks_count" 
data-count-aria-label="# forks on GitHub" aria-label="Fork 
apache/incubator-predictionio on GitHub">Fork</a> <script id="github-bjs" 
async="" defer="" src="https://buttons.github.io/buttons.js";></script><a 
href="//www.facebook.com/predictionio" target="blank"><img alt="PredictionIO on 
Twitter" src="/images/icons/twitter-ea9dc152.png"/></a> <a 
href="//twitter.com/predictionio" target="blank"><img alt="PredictionIO on 
Facebook" src="/images/icons/facebook-5c57939c.png"/></a> 
</div></div></div></div></div></footer></div><script>(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
 (w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
 
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
 })(window,document,'script','//s.swiftypecdn.com/install/v1/st.js','_st');

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/samples/tabs/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/tabs/index.html.gz b/samples/tabs/index.html.gz
index 6375861..302a9a1 100644
Binary files a/samples/tabs/index.html.gz and b/samples/tabs/index.html.gz 
differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/sdk/community/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/community/index.html.gz b/sdk/community/index.html.gz
index 718dd88..9a0e032 100644
Binary files a/sdk/community/index.html.gz and b/sdk/community/index.html.gz 
differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/sdk/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/index.html.gz b/sdk/index.html.gz
index 6ced072..cd0bd5d 100644
Binary files a/sdk/index.html.gz and b/sdk/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/sdk/java/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/java/index.html.gz b/sdk/java/index.html.gz
index 1c143a6..7fe950f 100644
Binary files a/sdk/java/index.html.gz and b/sdk/java/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/sdk/php/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/php/index.html.gz b/sdk/php/index.html.gz
index 2b38b13..fac0830 100644
Binary files a/sdk/php/index.html.gz and b/sdk/php/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/sdk/python/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/python/index.html.gz b/sdk/python/index.html.gz
index a67bc54..0d882df 100644
Binary files a/sdk/python/index.html.gz and b/sdk/python/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/sdk/ruby/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/ruby/index.html.gz b/sdk/ruby/index.html.gz
index 400cc55..2ba1799 100644
Binary files a/sdk/ruby/index.html.gz and b/sdk/ruby/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/search/index.html.gz
----------------------------------------------------------------------
diff --git a/search/index.html.gz b/search/index.html.gz
index 38c0b5e..d2be9f4 100644
Binary files a/search/index.html.gz and b/search/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/sitemap.xml
----------------------------------------------------------------------
diff --git a/sitemap.xml b/sitemap.xml
index 42ab696..ac54599 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -452,7 +452,7 @@
   </url>
   <url>
     <loc>//predictionio.incubator.apache.org/gallery/template-gallery/</loc>
-    <lastmod>2016-08-29T22:00:57+00:00</lastmod>
+    <lastmod>2016-09-09T22:12:10+00:00</lastmod>
     <changefreq>monthly</changefreq>
     <priority>0.5</priority>
   </url>

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/start/customize/index.html.gz
----------------------------------------------------------------------
diff --git a/start/customize/index.html.gz b/start/customize/index.html.gz
index 1beb149..853d3e7 100644
Binary files a/start/customize/index.html.gz and 
b/start/customize/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/start/deploy/index.html.gz
----------------------------------------------------------------------
diff --git a/start/deploy/index.html.gz b/start/deploy/index.html.gz
index 5e1f9a6..36795f0 100644
Binary files a/start/deploy/index.html.gz and b/start/deploy/index.html.gz 
differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/start/download/index.html.gz
----------------------------------------------------------------------
diff --git a/start/download/index.html.gz b/start/download/index.html.gz
index 9ba2139..5443ca9 100644
Binary files a/start/download/index.html.gz and b/start/download/index.html.gz 
differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/start/index.html.gz
----------------------------------------------------------------------
diff --git a/start/index.html.gz b/start/index.html.gz
index 27a9a68..e7ec4d9 100644
Binary files a/start/index.html.gz and b/start/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/stylesheets/application-a2a2f408.css.gz
----------------------------------------------------------------------
diff --git a/stylesheets/application-a2a2f408.css.gz 
b/stylesheets/application-a2a2f408.css.gz
index 68b1772..8197d56 100644
Binary files a/stylesheets/application-a2a2f408.css.gz and 
b/stylesheets/application-a2a2f408.css.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/support/index.html.gz
----------------------------------------------------------------------
diff --git a/support/index.html.gz b/support/index.html.gz
index 0a96494..40fbb1e 100644
Binary files a/support/index.html.gz and b/support/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/system/anotherdatastore/index.html.gz
----------------------------------------------------------------------
diff --git a/system/anotherdatastore/index.html.gz 
b/system/anotherdatastore/index.html.gz
index 13f6e60..345f543 100644
Binary files a/system/anotherdatastore/index.html.gz and 
b/system/anotherdatastore/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/system/deploy-cloudformation/index.html.gz
----------------------------------------------------------------------
diff --git a/system/deploy-cloudformation/index.html.gz 
b/system/deploy-cloudformation/index.html.gz
index 88c214f..03e052b 100644
Binary files a/system/deploy-cloudformation/index.html.gz and 
b/system/deploy-cloudformation/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/system/index.html.gz
----------------------------------------------------------------------
diff --git a/system/index.html.gz b/system/index.html.gz
index 9a14c71..7a80b2d 100644
Binary files a/system/index.html.gz and b/system/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/templates/classification/add-algorithm/index.html.gz
----------------------------------------------------------------------
diff --git a/templates/classification/add-algorithm/index.html.gz 
b/templates/classification/add-algorithm/index.html.gz
index 395a168..70799db 100644
Binary files a/templates/classification/add-algorithm/index.html.gz and 
b/templates/classification/add-algorithm/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/templates/classification/dase/index.html.gz
----------------------------------------------------------------------
diff --git a/templates/classification/dase/index.html.gz 
b/templates/classification/dase/index.html.gz
index 8f00207..c17fd98 100644
Binary files a/templates/classification/dase/index.html.gz and 
b/templates/classification/dase/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/templates/classification/how-to/index.html.gz
----------------------------------------------------------------------
diff --git a/templates/classification/how-to/index.html.gz 
b/templates/classification/how-to/index.html.gz
index c4fb150..bf68b96 100644
Binary files a/templates/classification/how-to/index.html.gz and 
b/templates/classification/how-to/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/templates/classification/quickstart/index.html
----------------------------------------------------------------------
diff --git a/templates/classification/quickstart/index.html 
b/templates/classification/quickstart/index.html
index cc776de..1445052 100644
--- a/templates/classification/quickstart/index.html
+++ b/templates/classification/quickstart/index.html
@@ -32,7 +32,7 @@ Your system is all ready to go.
 <span class="o">[</span>INFO] <span class="o">[</span>App<span 
class="nv">$]</span>               MyApp1 |    1 | 
3mZWDzci2D5YsqAnqNnXH9SB6Rg3dsTBs8iHkK6X2i54IQsIZI1eEeQQyMfs7b3F | <span 
class="o">(</span>all<span class="o">)</span>
 <span class="o">[</span>INFO] <span class="o">[</span>App<span 
class="nv">$]</span>               MyApp2 |    2 | 
io5lz6Eg4m3Xe4JZTBFE13GMAf1dhFl6ZteuJfrO84XpdOz9wRCrDU44EUaYuXq5 | <span 
class="o">(</span>all<span class="o">)</span>
 <span class="o">[</span>INFO] <span class="o">[</span>App<span 
class="nv">$]</span> Finished listing 2 app<span class="o">(</span>s<span 
class="o">)</span>.
-</pre></td></tr></tbody></table> </div> <p><a href="#"></a></p> <h2 
id='4.-collecting-data' class='header-anchors'>4. Collecting Data</h2><p>Next, 
let&#39;s collect some training data. By default, the Classification Engine 
Template reads 4 properties of a user record: attr0, attr1, attr2 and plan. 
This templates requires &#39;$set&#39; user events.</p><div 
class="alert-message info"><p>This template can easily be customized to use 
different or more number of attributes.</p></div><p>You can send these events 
to PredictionIO Event Server in real-time easily by making a HTTP request or 
through the provided SDK. Please see <a href="/appintegration/">App Integration 
Overview</a> for more details how to integrate your app with 
SDK.</p><p>Let&#39;s try sending events to EventServer with the following 
<code>curl</code> commands (The corresponding SDK code is showed in other 
tabs).</p><p>Replace <code>&lt;ACCCESS_KEY&gt;</code> by the Access Key 
generated in above steps. Note that <code>loca
 lhost:7070</code> is the default URL of the Event Server.</p><p>For 
convenience, set your access key to the shell variable, run:</p><p><code>$ 
ACCESS_KEY=&lt;ACCESS_KEY&gt;</code></p> <p><a href="#"></a></p> <p>To set 
properties &quot;attr0&quot;, &quot;attr1&quot;, &quot;attr2&quot; and 
&quot;plan&quot; for user &quot;u0&quot; on time 
<code>2014-11-02T09:39:45.618-08:00</code> (current time will be used if 
eventTime is not specified), you can send <code>$set</code> event for the user. 
To send this event, run the following <code>curl</code> command:</p><div 
class="tabs"> <ul class="control"> <li data-lang="json"><a 
href="#tab-7384a8f6-dd0d-46d0-8a05-0e288f21c0ad">REST API</a></li> <li 
data-lang="python"><a href="#tab-9f41dfd7-1b43-494f-826e-d2b4752e3f88">Python 
SDK</a></li> <li data-lang="php"><a 
href="#tab-9c049895-0437-4a92-bb8d-d5ab9ccc6de5">PHP SDK</a></li> <li 
data-lang="ruby"><a href="#tab-e7ce12b6-1818-4592-ba47-49d79a66300d">Ruby 
SDK</a></li> <li data-lang="java"><a href="#t
 ab-0a89b0fa-98f2-46b3-886b-85d8dd544b36">Java SDK</a></li> </ul> <div 
data-tab="REST API" data-lang="json" 
id="tab-7384a8f6-dd0d-46d0-8a05-0e288f21c0ad"> <div class="highlight shell"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
+</pre></td></tr></tbody></table> </div> <p><a href="#"></a></p> <h2 
id='4.-collecting-data' class='header-anchors'>4. Collecting Data</h2><p>Next, 
let&#39;s collect some training data. By default, the Classification Engine 
Template reads 4 properties of a user record: attr0, attr1, attr2 and plan. 
This templates requires &#39;$set&#39; user events.</p><div 
class="alert-message info"><p>This template can easily be customized to use 
different or more number of attributes.</p></div><p>You can send these events 
to PredictionIO Event Server in real-time easily by making a HTTP request or 
through the provided SDK. Please see <a href="/appintegration/">App Integration 
Overview</a> for more details how to integrate your app with 
SDK.</p><p>Let&#39;s try sending events to EventServer with the following 
<code>curl</code> commands (The corresponding SDK code is showed in other 
tabs).</p><p>Replace <code>&lt;ACCCESS_KEY&gt;</code> by the Access Key 
generated in above steps. Note that <code>loca
 lhost:7070</code> is the default URL of the Event Server.</p><p>For 
convenience, set your access key to the shell variable, run:</p><p><code>$ 
ACCESS_KEY=&lt;ACCESS_KEY&gt;</code></p> <p><a href="#"></a></p> <p>To set 
properties &quot;attr0&quot;, &quot;attr1&quot;, &quot;attr2&quot; and 
&quot;plan&quot; for user &quot;u0&quot; on time 
<code>2014-11-02T09:39:45.618-08:00</code> (current time will be used if 
eventTime is not specified), you can send <code>$set</code> event for the user. 
To send this event, run the following <code>curl</code> command:</p><div 
class="tabs"> <ul class="control"> <li data-lang="json"><a 
href="#tab-4296acba-beb1-41d8-a328-5ef504ba110b">REST API</a></li> <li 
data-lang="python"><a href="#tab-41d0db1a-5a78-4703-aa32-a258b209cabc">Python 
SDK</a></li> <li data-lang="php"><a 
href="#tab-0e28792f-c238-4992-9688-c20472b4e708">PHP SDK</a></li> <li 
data-lang="ruby"><a href="#tab-ce76e5c3-3cff-46b3-97d5-597cf52c261e">Ruby 
SDK</a></li> <li data-lang="java"><a href="#t
 ab-4e131b6d-7adb-45cf-a50d-bb3b3a79f825">Java SDK</a></li> </ul> <div 
data-tab="REST API" data-lang="json" 
id="tab-4296acba-beb1-41d8-a328-5ef504ba110b"> <div class="highlight shell"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -59,7 +59,7 @@ Your system is all ready to go.
   }
   "eventTime" : "2014-11-02T09:39:45.618-08:00"
 }'</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Python SDK" 
data-lang="python" id="tab-9f41dfd7-1b43-494f-826e-d2b4752e3f88"> <div 
class="highlight python"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Python SDK" 
data-lang="python" id="tab-41d0db1a-5a78-4703-aa32-a258b209cabc"> <div 
class="highlight python"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -100,7 +100,7 @@ Your system is all ready to go.
       <span class="s">"plan"</span> <span class="p">:</span> <span 
class="nb">int</span><span class="p">(</span><span class="o">&lt;</span><span 
class="n">VALUE</span> <span class="n">OF</span> <span 
class="n">PLAN</span><span class="o">&gt;</span><span class="p">)</span>
     <span class="p">}</span>
 <span class="p">)</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-9c049895-0437-4a92-bb8d-d5ab9ccc6de5"> <div 
class="highlight php"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-0e28792f-c238-4992-9688-c20472b4e708"> <div 
class="highlight php"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -137,7 +137,7 @@ Your system is all ready to go.
    <span class="p">)</span>
 <span class="p">));</span>
 <span class="cp">?&gt;</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-e7ce12b6-1818-4592-ba47-49d79a66300d"> <div 
class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-ce76e5c3-3cff-46b3-97d5-597cf52c261e"> <div 
class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -168,7 +168,7 @@ Your system is all ready to go.
     <span class="p">}</span>
   <span class="p">}</span>
 <span class="p">)</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Java SDK" 
data-lang="java" id="tab-0a89b0fa-98f2-46b3-886b-85d8dd544b36"> <div 
class="highlight java"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Java SDK" 
data-lang="java" id="tab-4e131b6d-7adb-45cf-a50d-bb3b3a79f825"> <div 
class="highlight java"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -203,7 +203,7 @@ Your system is all ready to go.
         <span class="s">"plan"</span><span class="o">,</span> <span 
class="o">&lt;</span><span class="n">VALUE</span> <span class="n">OF</span> 
<span class="n">PLAN</span><span class="o">&gt;</span>
     <span class="o">));</span>
 <span class="n">client</span><span class="o">.</span><span 
class="na">createEvent</span><span class="o">(</span><span 
class="n">event</span><span class="o">);</span>
-</pre></td> </tr></tbody></table> </div> </div> </div> <p>Note that you can 
also set the properties for the user with multiple <code>$set</code> events 
(They will be aggregated during engine training).</p><p>To set properties 
&quot;attr0&quot;, &quot;attr1&quot; and &quot;attr2&quot;, and 
&quot;plan&quot; for user &quot;u1&quot; at different time, you can send 
follwing <code>$set</code> events for the user. To send these events, run the 
following <code>curl</code> command:</p><div class="tabs"> <ul class="control"> 
<li data-lang="json"><a href="#tab-7278ab43-176a-4ba8-b243-ceaf79184419">REST 
API</a></li> <li data-lang="python"><a 
href="#tab-4790b43c-4728-4b16-b5cb-75ef202cbb1d">Python SDK</a></li> <li 
data-lang="php"><a href="#tab-4247bc7d-078e-419f-bf52-f38e5a1cab45">PHP 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-29c80579-5047-4e7e-98ac-61a79a8ac5c2">Ruby SDK</a></li> <li 
data-lang="java"><a href="#tab-942211b3-3753-46d4-81b0-9a52d4405c09">Java 
SDK</a></li> </ul> <div data-tab
 ="REST API" data-lang="json" id="tab-7278ab43-176a-4ba8-b243-ceaf79184419"> 
<div class="highlight shell"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> </div> <p>Note that you can 
also set the properties for the user with multiple <code>$set</code> events 
(They will be aggregated during engine training).</p><p>To set properties 
&quot;attr0&quot;, &quot;attr1&quot; and &quot;attr2&quot;, and 
&quot;plan&quot; for user &quot;u1&quot; at different time, you can send 
follwing <code>$set</code> events for the user. To send these events, run the 
following <code>curl</code> command:</p><div class="tabs"> <ul class="control"> 
<li data-lang="json"><a href="#tab-7baef4fd-8f31-4bed-918e-bb60bfd2d025">REST 
API</a></li> <li data-lang="python"><a 
href="#tab-678cf1f1-19ab-42a2-920b-d7e627afc6d1">Python SDK</a></li> <li 
data-lang="php"><a href="#tab-2a03371e-e558-4f4e-8012-ecaf6b9af638">PHP 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-f7b9cbdb-0c7c-43ef-a354-6d884028fb9a">Ruby SDK</a></li> <li 
data-lang="java"><a href="#tab-add8a608-c4f2-4a86-a068-b92f0a9baeb4">Java 
SDK</a></li> </ul> <div data-tab
 ="REST API" data-lang="json" id="tab-7baef4fd-8f31-4bed-918e-bb60bfd2d025"> 
<div class="highlight shell"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -274,7 +274,7 @@ Your system is all ready to go.
   }
   "eventTime" : "2014-11-02T09:39:45.618-08:00"
 }'</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Python SDK" 
data-lang="python" id="tab-4790b43c-4728-4b16-b5cb-75ef202cbb1d"> <div 
class="highlight python"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Python SDK" 
data-lang="python" id="tab-678cf1f1-19ab-42a2-920b-d7e627afc6d1"> <div 
class="highlight python"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -327,7 +327,7 @@ Your system is all ready to go.
       <span class="s">"plan"</span> <span class="p">:</span> <span 
class="nb">int</span><span class="p">(</span><span class="o">&lt;</span><span 
class="n">VALUE</span> <span class="n">OF</span> <span 
class="n">PLAN</span><span class="o">&gt;</span><span class="p">)</span>
     <span class="p">}</span>
 <span class="p">)</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-4247bc7d-078e-419f-bf52-f38e5a1cab45"> <div 
class="highlight php"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-2a03371e-e558-4f4e-8012-ecaf6b9af638"> <div 
class="highlight php"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -390,7 +390,7 @@ Your system is all ready to go.
 <span class="p">));</span>
 
 <span class="cp">?&gt;</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-29c80579-5047-4e7e-98ac-61a79a8ac5c2"> <div 
class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-f7b9cbdb-0c7c-43ef-a354-6d884028fb9a"> <div 
class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -433,7 +433,7 @@ Your system is all ready to go.
 <span class="p">)</span>
 
 <span class="c1"># Etc...</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Java SDK" 
data-lang="java" id="tab-942211b3-3753-46d4-81b0-9a52d4405c09"> <div 
class="highlight java"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Java SDK" 
data-lang="java" id="tab-add8a608-c4f2-4a86-a068-b92f0a9baeb4"> <div 
class="highlight java"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -497,17 +497,17 @@ Your system is all ready to go.
 </pre></td></tr></tbody></table> </div> <p>When the engine is deployed 
successfully and running, you should see a console message similar to the 
following:</p><div class="highlight shell"><table style="border-spacing: 
0"><tbody><tr><td class="gutter gl" style="text-align: right"><pre 
class="lineno">1
 2</pre></td><td class="code"><pre><span class="o">[</span>INFO] <span 
class="o">[</span>HttpListener] Bound to /0.0.0.0:8000
 <span class="o">[</span>INFO] <span class="o">[</span>MasterActor] Bind 
successful. Ready to serve.
-</pre></td></tr></tbody></table> </div> <p>Do not kill the deployed engine 
process.</p><p>By default, the deployed engine binds to <a 
href="http://localhost:8000";><a 
href="http://localhost:8000";>http://localhost:8000</a></a>. You can visit that 
page in your web browser to check its status.</p><p><img alt="Engine Status" 
src="/images/engine-server-3246414b.png"/></p></p><h2 id='6.-use-the-engine' 
class='header-anchors'>6. Use the Engine</h2><p>Now, You can try to retrieve 
predicted results. For example, to predict the label (i.e. <em>plan</em> in 
this case) of a user with attr0=2, attr1=0 and attr2=0, you send this JSON 
<code>{ &quot;attr0&quot;:2, &quot;attr1&quot;:0, &quot;attr2&quot;:0 }</code> 
to the deployed engine and it will return a JSON of the predicted plan. Simply 
send a query by making a HTTP request or through the <code>EngineClient</code> 
of an SDK.</p><p>With the deployed engine running, open another temrinal and 
run the following <code>curl</code> command or use SDK t
 o send the query:</p><div class="tabs"> <ul class="control"> <li 
data-lang="bash"><a href="#tab-7c210944-3ce8-4411-bc87-64659f471af4">REST 
API</a></li> <li data-lang="python"><a 
href="#tab-504f8774-5fab-42c5-926a-d11b8daf55a2">Python SDK</a></li> <li 
data-lang="php"><a href="#tab-9b6586b0-3690-4587-8065-78ec79f6ac1b">PHP 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-af3536a9-847c-49d9-9eec-637fb41d86d0">Ruby SDK</a></li> <li 
data-lang="java"><a href="#tab-a16d614d-15b2-4156-a127-dcdb5350f8e8">Java 
SDK</a></li> </ul> <div data-tab="REST API" data-lang="bash" 
id="tab-7c210944-3ce8-4411-bc87-64659f471af4"> <div class="highlight shell"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
+</pre></td></tr></tbody></table> </div> <p>Do not kill the deployed engine 
process.</p><p>By default, the deployed engine binds to <a 
href="http://localhost:8000";><a 
href="http://localhost:8000";>http://localhost:8000</a></a>. You can visit that 
page in your web browser to check its status.</p><p><img alt="Engine Status" 
src="/images/engine-server-3246414b.png"/></p></p><h2 id='6.-use-the-engine' 
class='header-anchors'>6. Use the Engine</h2><p>Now, You can try to retrieve 
predicted results. For example, to predict the label (i.e. <em>plan</em> in 
this case) of a user with attr0=2, attr1=0 and attr2=0, you send this JSON 
<code>{ &quot;attr0&quot;:2, &quot;attr1&quot;:0, &quot;attr2&quot;:0 }</code> 
to the deployed engine and it will return a JSON of the predicted plan. Simply 
send a query by making a HTTP request or through the <code>EngineClient</code> 
of an SDK.</p><p>With the deployed engine running, open another temrinal and 
run the following <code>curl</code> command or use SDK t
 o send the query:</p><div class="tabs"> <ul class="control"> <li 
data-lang="bash"><a href="#tab-b81cf815-b6a8-4a71-9164-ede0e4aff34c">REST 
API</a></li> <li data-lang="python"><a 
href="#tab-39285d6c-d0ca-42fd-9288-d85f811f2453">Python SDK</a></li> <li 
data-lang="php"><a href="#tab-34d1503c-47f7-40a2-99ea-0a3f64ab9e29">PHP 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-15c5aa9e-3883-4089-b34b-2a1ba1ab6000">Ruby SDK</a></li> <li 
data-lang="java"><a href="#tab-4cbeabe0-1308-4f0b-a38a-19d917f19649">Java 
SDK</a></li> </ul> <div data-tab="REST API" data-lang="bash" 
id="tab-b81cf815-b6a8-4a71-9164-ede0e4aff34c"> <div class="highlight shell"> 
<table style="border-spacing: 0"><tbody><tr> <td class="gutter gl" 
style="text-align: right"><pre class="lineno">1
 2
 3</pre></td> <td class="code"><pre><span class="gp">$ </span>curl -H <span 
class="s2">"Content-Type: application/json"</span> <span class="se">\</span>
 -d <span class="s1">'{ "attr0":2, "attr1":0, "attr2":0 }'</span> 
http://localhost:8000/queries.json
 
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Python SDK" 
data-lang="python" id="tab-504f8774-5fab-42c5-926a-d11b8daf55a2"> <div 
class="highlight python"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Python SDK" 
data-lang="python" id="tab-39285d6c-d0ca-42fd-9288-d85f811f2453"> <div 
class="highlight python"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3</pre></td> <td class="code"><pre><span class="kn">import</span> <span 
class="nn">predictionio</span>
 <span class="n">engine_client</span> <span class="o">=</span> <span 
class="n">predictionio</span><span class="o">.</span><span 
class="n">EngineClient</span><span class="p">(</span><span 
class="n">url</span><span class="o">=</span><span 
class="s">"http://localhost:8000";</span><span class="p">)</span>
 <span class="k">print</span> <span class="n">engine_client</span><span 
class="o">.</span><span class="n">send_query</span><span 
class="p">({</span><span class="s">"attr0"</span><span class="p">:</span><span 
class="mi">2</span><span class="p">,</span> <span class="s">"attr1"</span><span 
class="p">:</span><span class="mi">0</span><span class="p">,</span> <span 
class="s">"attr2"</span><span class="p">:</span><span class="mi">0</span><span 
class="p">})</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-9b6586b0-3690-4587-8065-78ec79f6ac1b"> <div 
class="highlight php"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="PHP SDK" 
data-lang="php" id="tab-34d1503c-47f7-40a2-99ea-0a3f64ab9e29"> <div 
class="highlight php"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -526,7 +526,7 @@ Your system is all ready to go.
 <span class="nb">print_r</span><span class="p">(</span><span 
class="nv">$response</span><span class="p">);</span>
 
 <span class="cp">?&gt;</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-af3536a9-847c-49d9-9eec-637fb41d86d0"> <div 
class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Ruby SDK" 
data-lang="ruby" id="tab-15c5aa9e-3883-4089-b34b-2a1ba1ab6000"> <div 
class="highlight ruby"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4
@@ -539,7 +539,7 @@ Your system is all ready to go.
 <span class="n">response</span> <span class="o">=</span> <span 
class="n">client</span><span class="p">.</span><span 
class="nf">send_query</span><span class="p">(</span><span 
class="s1">'attr0'</span> <span class="o">=&gt;</span> <span 
class="mi">2</span><span class="p">,</span> <span class="s1">'attr1'</span> 
<span class="o">=&gt;</span> <span class="mi">0</span><span class="p">,</span> 
<span class="s1">'attr2'</span> <span class="o">=&gt;</span> <span 
class="mi">0</span><span class="p">)</span>
 
 <span class="nb">puts</span> <span class="n">response</span>
-</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Java SDK" 
data-lang="java" id="tab-a16d614d-15b2-4156-a127-dcdb5350f8e8"> <div 
class="highlight java"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
+</pre></td> </tr></tbody></table> </div> </div> <div data-tab="Java SDK" 
data-lang="java" id="tab-4cbeabe0-1308-4f0b-a38a-19d917f19649"> <div 
class="highlight java"> <table style="border-spacing: 0"><tbody><tr> <td 
class="gutter gl" style="text-align: right"><pre class="lineno">1
 2
 3
 4

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/templates/classification/quickstart/index.html.gz
----------------------------------------------------------------------
diff --git a/templates/classification/quickstart/index.html.gz 
b/templates/classification/quickstart/index.html.gz
index 9e87b70..0732f03 100644
Binary files a/templates/classification/quickstart/index.html.gz and 
b/templates/classification/quickstart/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/templates/classification/reading-custom-properties/index.html.gz
----------------------------------------------------------------------
diff --git a/templates/classification/reading-custom-properties/index.html.gz 
b/templates/classification/reading-custom-properties/index.html.gz
index c10e6ec..b739fcc 100644
Binary files a/templates/classification/reading-custom-properties/index.html.gz 
and b/templates/classification/reading-custom-properties/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/templates/classification/transform-data/index.html.gz
----------------------------------------------------------------------
diff --git a/templates/classification/transform-data/index.html.gz 
b/templates/classification/transform-data/index.html.gz
index e5bc3b4..5e53067 100644
Binary files a/templates/classification/transform-data/index.html.gz and 
b/templates/classification/transform-data/index.html.gz differ

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/08d48209/templates/complementarypurchase/dase/index.html.gz
----------------------------------------------------------------------
diff --git a/templates/complementarypurchase/dase/index.html.gz 
b/templates/complementarypurchase/dase/index.html.gz
index 09fcc9c..b603f3d 100644
Binary files a/templates/complementarypurchase/dase/index.html.gz and 
b/templates/complementarypurchase/dase/index.html.gz differ

Reply via email to