http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/c5d52816/samples/tabs/index.html
----------------------------------------------------------------------
diff --git a/samples/tabs/index.html b/samples/tabs/index.html
index 137a7ad..5692965 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="/gallery/template-gallery">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-wrapp
 er"><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="expand
 ible" 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 Eng
 ine</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><l
 i 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>Bu
 ilding 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="level
 -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-70158c7a-a011-4aec-b6f6-475a354a88c1">Ruby</a></li> <li 
data-lang=""><a href="#tab-d79c96d2-ff73-4570-ad44-b11689ad1193">Plain</a></li> 
<li data-lang="html"><a 
href="#tab-42e8b4fe-d25b-4be3-aaab-a993e3f82af8">HTML</a></li> <li 
data-lang=""><a href="#tab-f55e549e-3551-446e-b15b-4f5b46446d03">Test</a></li> 
</ul> <div data-tab="Ruby" data-lang="ruby" 
id="tab-70158c7a-a011-4aec-b6f6-475a354a88c1"> <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="/gallery/template-gallery">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-wrapp
 er"><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="expand
 ible" 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 Eng
 ine</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><l
 i 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>Bu
 ilding 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="level
 -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-29fc545c-f2ec-4ca2-b834-118e5ae850fc">Ruby</a></li> <li 
data-lang=""><a href="#tab-3daade9f-a9cd-4fb3-be88-114d2a34cf4f">Plain</a></li> 
<li data-lang="html"><a 
href="#tab-ef22b69e-bc62-4cfc-afc6-332540fd6a1a">HTML</a></li> <li 
data-lang=""><a href="#tab-45ba3552-cfad-499c-80bb-9ba5d5bfceb9">Test</a></li> 
</ul> <div data-tab="Ruby" data-lang="ruby" 
id="tab-29fc545c-f2ec-4ca2-b834-118e5ae850fc"> <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-d79c96d2-ff73-4570-ad44-b11689ad1193"> 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-3daade9f-a9cd-4fb3-be88-114d2a34cf4f"> 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-42e8b4fe-d25b-4be3-aaab-a993e3f82af8"> <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-f55e549e-3551-446e-b15b-4f5b46446d03"> <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-ef22b69e-bc62-4cfc-afc6-332540fd6a1a"> <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-45ba3552-cfad-499c-80bb-9ba5d5bfceb9"> <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-b88ae06e-1bb0-4d40-b4c1-11841d5842fe">Ruby</a></li> <li 
data-lang=""><a href="#tab-51c8e864-c2e6-4994-9c15-9de3b6ea709e">Plain</a></li> 
<li data-lang="html"><a 
href="#tab-2f5fb01d-d805-42e4-a069-daa8190896d1">HTML</a></li> <li 
data-lang="python"><a 
href="#tab-e633fc20-338a-4278-aaee-e28d6200fc94">Python</a></li> </ul> <div 
data-tab="Ruby" data-lang="ruby" id="tab-b88ae06e-1bb0-4d40-b4c1-11841d5842fe"> 
<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-64547947-2cf5-41e1-bedd-f69b73023a4f">Ruby</a></li> <li 
data-lang=""><a href="#tab-9c15cb33-51bb-4674-9e97-248a91ac0113">Plain</a></li> 
<li data-lang="html"><a 
href="#tab-84406803-b0ab-4f40-b7b6-4ca9e85a0e9a">HTML</a></li> <li 
data-lang="python"><a 
href="#tab-d0cf5c25-00c6-4b23-8bbf-0549c592ab3d">Python</a></li> </ul> <div 
data-tab="Ruby" data-lang="ruby" id="tab-64547947-2cf5-41e1-bedd-f69b73023a4f"> 
<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-51c8e864-c2e6-4994-9c15-9de3b6ea709e"> 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-9c15cb33-51bb-4674-9e97-248a91ac0113"> 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-2f5fb01d-d805-42e4-a069-daa8190896d1"> <p>This HTML is 
<b>hard coded</b>.</p> </div> <div data-tab="Python" data-lang="python" 
id="tab-e633fc20-338a-4278-aaee-e28d6200fc94"> <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-d1493555-f7c7-4184-a6da-5993e0293ace">Java</a></li> <li 
data-lang="html"><a 
href="#tab-8cec09d4-dd51-449f-b317-a2338c928b05">HTML</a></li> </ul> <div 
data-tab="Java" data-lang="java" id="tab-d1493555-f7c7-4184-a6da-5993e0293ace"> 
<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-8cec09d4-dd51-449f-b317-a2338c928b05"> 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:user-subscr...@predictionio.incubator.apache.org"; 
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:dev-subscr...@predictionio.incubator.apache.org"; 
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-84406803-b0ab-4f40-b7b6-4ca9e85a0e9a"> <p>This HTML is 
<b>hard coded</b>.</p> </div> <div data-tab="Python" data-lang="python" 
id="tab-d0cf5c25-00c6-4b23-8bbf-0549c592ab3d"> <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-b1576da6-8c7e-450e-bdf6-8fbd52cacb5d">Java</a></li> <li 
data-lang="html"><a 
href="#tab-efc69ee7-1fbc-412e-84fd-5f14776e6009">HTML</a></li> </ul> <div 
data-tab="Java" data-lang="java" id="tab-b1576da6-8c7e-450e-bdf6-8fbd52cacb5d"> 
<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-efc69ee7-1fbc-412e-84fd-5f14776e6009"> 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:user-subscr...@predictionio.incubator.apache.org"; 
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:dev-subscr...@predictionio.incubator.apache.org"; 
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/c5d52816/samples/tabs/index.html.gz
----------------------------------------------------------------------
diff --git a/samples/tabs/index.html.gz b/samples/tabs/index.html.gz
index 7cc40bf..fbab888 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/c5d52816/sdk/community/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/community/index.html.gz b/sdk/community/index.html.gz
index ba16453..eaa22e1 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/c5d52816/sdk/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/index.html.gz b/sdk/index.html.gz
index a921642..487abc9 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/c5d52816/sdk/java/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/java/index.html.gz b/sdk/java/index.html.gz
index e1fd27a..09edaa0 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/c5d52816/sdk/php/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/php/index.html.gz b/sdk/php/index.html.gz
index 0609c98..c34726e 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/c5d52816/sdk/python/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/python/index.html.gz b/sdk/python/index.html.gz
index 8421abd..95676e6 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/c5d52816/sdk/ruby/index.html.gz
----------------------------------------------------------------------
diff --git a/sdk/ruby/index.html.gz b/sdk/ruby/index.html.gz
index af454ca..ceb5659 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/c5d52816/search/index.html.gz
----------------------------------------------------------------------
diff --git a/search/index.html.gz b/search/index.html.gz
index 47f3efb..557d6a1 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/c5d52816/sitemap.xml
----------------------------------------------------------------------
diff --git a/sitemap.xml b/sitemap.xml
index 6a47acb..1be9c5d 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -44,7 +44,7 @@
   </url>
   <url>
     
<loc>//predictionio.incubator.apache.org/templates/leadscoring/quickstart/</loc>
-    <lastmod>2016-08-29T22:00:53+00:00</lastmod>
+    <lastmod>2016-09-21T18:27:05+00:00</lastmod>
     <changefreq>monthly</changefreq>
     <priority>0.5</priority>
   </url>
@@ -80,7 +80,7 @@
   </url>
   <url>
     
<loc>//predictionio.incubator.apache.org/templates/classification/quickstart/</loc>
-    <lastmod>2016-08-29T22:00:53+00:00</lastmod>
+    <lastmod>2016-09-21T18:27:05+00:00</lastmod>
     <changefreq>monthly</changefreq>
     <priority>0.5</priority>
   </url>
@@ -92,7 +92,7 @@
   </url>
   <url>
     
<loc>//predictionio.incubator.apache.org/templates/vanilla/quickstart/</loc>
-    <lastmod>2016-08-29T22:00:53+00:00</lastmod>
+    <lastmod>2016-09-21T18:27:05+00:00</lastmod>
     <changefreq>monthly</changefreq>
     <priority>0.5</priority>
   </url>
@@ -146,7 +146,7 @@
   </url>
   <url>
     
<loc>//predictionio.incubator.apache.org/templates/recommendation/quickstart/</loc>
-    <lastmod>2016-08-29T22:00:53+00:00</lastmod>
+    <lastmod>2016-09-21T18:27:05+00:00</lastmod>
     <changefreq>monthly</changefreq>
     <priority>0.5</priority>
   </url>
@@ -176,7 +176,7 @@
   </url>
   <url>
     
<loc>//predictionio.incubator.apache.org/templates/similarproduct/quickstart/</loc>
-    <lastmod>2016-08-29T22:00:53+00:00</lastmod>
+    <lastmod>2016-09-21T18:27:05+00:00</lastmod>
     <changefreq>monthly</changefreq>
     <priority>0.5</priority>
   </url>
@@ -200,7 +200,7 @@
   </url>
   <url>
     
<loc>//predictionio.incubator.apache.org/templates/ecommercerecommendation/quickstart/</loc>
-    <lastmod>2016-08-29T22:00:53+00:00</lastmod>
+    <lastmod>2016-09-21T18:27:05+00:00</lastmod>
     <changefreq>monthly</changefreq>
     <priority>0.5</priority>
   </url>
@@ -212,7 +212,7 @@
   </url>
   <url>
     
<loc>//predictionio.incubator.apache.org/templates/complementarypurchase/quickstart/</loc>
-    <lastmod>2016-08-29T22:00:53+00:00</lastmod>
+    <lastmod>2016-09-21T18:27:05+00:00</lastmod>
     <changefreq>monthly</changefreq>
     <priority>0.5</priority>
   </url>
@@ -224,7 +224,7 @@
   </url>
   <url>
     
<loc>//predictionio.incubator.apache.org/templates/javaecommercerecommendation/quickstart/</loc>
-    <lastmod>2016-08-29T22:00:53+00:00</lastmod>
+    <lastmod>2016-09-21T18:27:05+00:00</lastmod>
     <changefreq>monthly</changefreq>
     <priority>0.5</priority>
   </url>
@@ -236,7 +236,7 @@
   </url>
   <url>
     
<loc>//predictionio.incubator.apache.org/templates/productranking/quickstart/</loc>
-    <lastmod>2016-08-29T22:00:53+00:00</lastmod>
+    <lastmod>2016-09-21T18:27:05+00:00</lastmod>
     <changefreq>monthly</changefreq>
     <priority>0.5</priority>
   </url>
@@ -452,7 +452,7 @@
   </url>
   <url>
     <loc>//predictionio.incubator.apache.org/gallery/template-gallery/</loc>
-    <lastmod>2016-09-19T18:57:09+00:00</lastmod>
+    <lastmod>2016-09-21T18:27:10+00:00</lastmod>
     <changefreq>monthly</changefreq>
     <priority>0.5</priority>
   </url>

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-site/blob/c5d52816/start/customize/index.html.gz
----------------------------------------------------------------------
diff --git a/start/customize/index.html.gz b/start/customize/index.html.gz
index ba717c9..574015b 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/c5d52816/start/deploy/index.html.gz
----------------------------------------------------------------------
diff --git a/start/deploy/index.html.gz b/start/deploy/index.html.gz
index d20a266..d6a55df 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/c5d52816/start/download/index.html.gz
----------------------------------------------------------------------
diff --git a/start/download/index.html.gz b/start/download/index.html.gz
index e88839b..10bfedd 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/c5d52816/start/index.html.gz
----------------------------------------------------------------------
diff --git a/start/index.html.gz b/start/index.html.gz
index 8ad393a..98c8b19 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/c5d52816/stylesheets/application-a2a2f408.css.gz
----------------------------------------------------------------------
diff --git a/stylesheets/application-a2a2f408.css.gz 
b/stylesheets/application-a2a2f408.css.gz
index 59a6049..c086903 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/c5d52816/support/index.html.gz
----------------------------------------------------------------------
diff --git a/support/index.html.gz b/support/index.html.gz
index b8ccc55..8c4a286 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/c5d52816/system/anotherdatastore/index.html.gz
----------------------------------------------------------------------
diff --git a/system/anotherdatastore/index.html.gz 
b/system/anotherdatastore/index.html.gz
index e62deec..d966df8 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/c5d52816/system/deploy-cloudformation/index.html.gz
----------------------------------------------------------------------
diff --git a/system/deploy-cloudformation/index.html.gz 
b/system/deploy-cloudformation/index.html.gz
index fa04304..30d6293 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/c5d52816/system/index.html.gz
----------------------------------------------------------------------
diff --git a/system/index.html.gz b/system/index.html.gz
index 70644ac..ba235f6 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/c5d52816/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 85b27e3..5f4cfe6 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/c5d52816/templates/classification/dase/index.html.gz
----------------------------------------------------------------------
diff --git a/templates/classification/dase/index.html.gz 
b/templates/classification/dase/index.html.gz
index 012e139..04dff47 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/c5d52816/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 aa6c3d8..194943b 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/c5d52816/templates/classification/quickstart/index.html
----------------------------------------------------------------------
diff --git a/templates/classification/quickstart/index.html 
b/templates/classification/quickstart/index.html
index d13aa60..2f18122 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-b743340a-3e72-407a-96a6-b17c7dca34a0">REST API</a></li> <li 
data-lang="python"><a href="#tab-7b4d9be8-092e-4e34-813e-70216c75ad48">Python 
SDK</a></li> <li data-lang="php"><a 
href="#tab-e469bf79-cda2-4925-ba9b-773c8f133bf8">PHP SDK</a></li> <li 
data-lang="ruby"><a href="#tab-6127378b-f935-47db-85c7-595637526525">Ruby 
SDK</a></li> <li data-lang="java"><a href="#t
 ab-36a2c88c-8038-4e5f-ae8e-73d2369de404">Java SDK</a></li> </ul> <div 
data-tab="REST API" data-lang="json" 
id="tab-b743340a-3e72-407a-96a6-b17c7dca34a0"> <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-e3264ace-ad66-46a2-bf39-da9d35e83568">REST API</a></li> <li 
data-lang="python"><a href="#tab-1854a86c-1aca-4d19-b6f7-3778a5084c16">Python 
SDK</a></li> <li data-lang="php"><a 
href="#tab-8c72981b-12b2-4e01-8646-bd9e565214a9">PHP SDK</a></li> <li 
data-lang="ruby"><a href="#tab-9e026e14-9d09-4db1-a82e-48e69e193c9f">Ruby 
SDK</a></li> <li data-lang="java"><a href="#t
 ab-97bb519e-0b3e-4434-8088-7c9c8b329243">Java SDK</a></li> </ul> <div 
data-tab="REST API" data-lang="json" 
id="tab-e3264ace-ad66-46a2-bf39-da9d35e83568"> <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-7b4d9be8-092e-4e34-813e-70216c75ad48"> <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-1854a86c-1aca-4d19-b6f7-3778a5084c16"> <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-e469bf79-cda2-4925-ba9b-773c8f133bf8"> <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-8c72981b-12b2-4e01-8646-bd9e565214a9"> <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-6127378b-f935-47db-85c7-595637526525"> <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-9e026e14-9d09-4db1-a82e-48e69e193c9f"> <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-36a2c88c-8038-4e5f-ae8e-73d2369de404"> <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-97bb519e-0b3e-4434-8088-7c9c8b329243"> <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-97c295d7-e11f-450f-ba13-763bd09f4cb4">REST 
API</a></li> <li data-lang="python"><a 
href="#tab-70a3f2f3-8883-4fc8-88dc-3bab3dc280f1">Python SDK</a></li> <li 
data-lang="php"><a href="#tab-1937d511-419d-441d-9e5c-61b1a4a69ae3">PHP 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-04a6d26c-31e6-4144-9d03-f9d104e91439">Ruby SDK</a></li> <li 
data-lang="java"><a href="#tab-77e52cf6-e742-4db5-83b4-5600b850f5b0">Java 
SDK</a></li> </ul> <div data-tab
 ="REST API" data-lang="json" id="tab-97c295d7-e11f-450f-ba13-763bd09f4cb4"> 
<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-e90f0e23-82fc-4b6d-8260-019980c48ed1">REST 
API</a></li> <li data-lang="python"><a 
href="#tab-900b86fa-aa71-4766-a34e-eff11338f7ff">Python SDK</a></li> <li 
data-lang="php"><a href="#tab-a11d64c9-23c7-49c4-81dd-09cf8dcca898">PHP 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-6817c5e7-d82c-4995-b924-2043700482f3">Ruby SDK</a></li> <li 
data-lang="java"><a href="#tab-de3a2cae-b2e8-4603-84a1-cdc1e0ddf6cf">Java 
SDK</a></li> </ul> <div data-tab
 ="REST API" data-lang="json" id="tab-e90f0e23-82fc-4b6d-8260-019980c48ed1"> 
<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-70a3f2f3-8883-4fc8-88dc-3bab3dc280f1"> <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-900b86fa-aa71-4766-a34e-eff11338f7ff"> <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-1937d511-419d-441d-9e5c-61b1a4a69ae3"> <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-a11d64c9-23c7-49c4-81dd-09cf8dcca898"> <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-04a6d26c-31e6-4144-9d03-f9d104e91439"> <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-6817c5e7-d82c-4995-b924-2043700482f3"> <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-77e52cf6-e742-4db5-83b4-5600b850f5b0"> <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-de3a2cae-b2e8-4603-84a1-cdc1e0ddf6cf"> <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-ed91fc7d-354d-4f94-9a0b-43523570e987">REST 
API</a></li> <li data-lang="python"><a 
href="#tab-5cc077bb-318e-4f6c-92e4-6bde1ee1507c">Python SDK</a></li> <li 
data-lang="php"><a href="#tab-05de903f-ca4c-42fe-a412-40635bbb029d">PHP 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-2a5710db-ee6a-4731-a7e5-8218607986d9">Ruby SDK</a></li> <li 
data-lang="java"><a href="#tab-9bd8fce0-93df-4fca-9e73-702d0ea6e066">Java 
SDK</a></li> </ul> <div data-tab="REST API" data-lang="bash" 
id="tab-ed91fc7d-354d-4f94-9a0b-43523570e987"> <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 terminal 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-11a3c778-49af-4175-8a7e-54acbd587b88">REST 
API</a></li> <li data-lang="python"><a 
href="#tab-b201a41e-1e65-4724-aea7-1324970f6416">Python SDK</a></li> <li 
data-lang="php"><a href="#tab-6cb06040-1476-44e0-bf32-4819b7846786">PHP 
SDK</a></li> <li data-lang="ruby"><a 
href="#tab-6c62c7fc-3054-414a-82ac-149b33e137a0">Ruby SDK</a></li> <li 
data-lang="java"><a href="#tab-f590228f-b034-46f0-be8a-eb6cb2518d0b">Java 
SDK</a></li> </ul> <div data-tab="REST API" data-lang="bash" 
id="tab-11a3c778-49af-4175-8a7e-54acbd587b88"> <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-5cc077bb-318e-4f6c-92e4-6bde1ee1507c"> <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-b201a41e-1e65-4724-aea7-1324970f6416"> <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-05de903f-ca4c-42fe-a412-40635bbb029d"> <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-6cb06040-1476-44e0-bf32-4819b7846786"> <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-2a5710db-ee6a-4731-a7e5-8218607986d9"> <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-6c62c7fc-3054-414a-82ac-149b33e137a0"> <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-9bd8fce0-93df-4fca-9e73-702d0ea6e066"> <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-f590228f-b034-46f0-be8a-eb6cb2518d0b"> <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/c5d52816/templates/classification/quickstart/index.html.gz
----------------------------------------------------------------------
diff --git a/templates/classification/quickstart/index.html.gz 
b/templates/classification/quickstart/index.html.gz
index dbaf2cc..a618958 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/c5d52816/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 53bb52a..2d19081 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/c5d52816/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 ee67f69..3ef2bf6 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/c5d52816/templates/complementarypurchase/dase/index.html.gz
----------------------------------------------------------------------
diff --git a/templates/complementarypurchase/dase/index.html.gz 
b/templates/complementarypurchase/dase/index.html.gz
index f5eadd7..fa66487 100644
Binary files a/templates/complementarypurchase/dase/index.html.gz and 
b/templates/complementarypurchase/dase/index.html.gz differ

Reply via email to