You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by sh...@apache.org on 2018/09/19 05:48:11 UTC

[01/29] predictionio git commit: [PIO-147] Fix broken Scala API documentation

Repository: predictionio
Updated Branches:
  refs/heads/master 20a1c377c -> 1856635be


[PIO-147] Fix broken Scala API documentation


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/9547507e
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/9547507e
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/9547507e

Branch: refs/heads/master
Commit: 9547507e46ca8eacc3026d7646c3a352b0a6c680
Parents: 7169b69
Author: Donald Szeto <do...@apache.org>
Authored: Mon Feb 12 15:56:53 2018 -0800
Committer: Donald Szeto <ds...@salesforce.com>
Committed: Mon Feb 12 15:57:37 2018 -0800

----------------------------------------------------------------------
 build.sbt | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/9547507e/build.sbt
----------------------------------------------------------------------
diff --git a/build.sbt b/build.sbt
index c172aaa..0405cf7 100644
--- a/build.sbt
+++ b/build.sbt
@@ -195,8 +195,8 @@ val root = (project in file(".")).
   settings(commonSettings: _*).
   enablePlugins(ScalaUnidocPlugin).
   settings(
-    unidocProjectFilter in (ScalaUnidoc, unidoc) := inAnyProject -- inProjects(dataElasticsearch),
-    unidocProjectFilter in (JavaUnidoc, unidoc) := inAnyProject -- inProjects(dataElasticsearch),
+    unidocProjectFilter in (ScalaUnidoc, unidoc) := inAnyProject -- inProjects(dataElasticsearch, dataElasticsearch1),
+    unidocProjectFilter in (JavaUnidoc, unidoc) := inAnyProject -- inProjects(dataElasticsearch, dataElasticsearch1),
     scalacOptions in (ScalaUnidoc, unidoc) ++= Seq(
       "-groups",
       "-skip-packages",
@@ -208,8 +208,16 @@ val root = (project in file(".")).
         "org.apache.predictionio.controller.html",
         "org.apache.predictionio.controller.java",
         "org.apache.predictionio.data.api",
+        "org.apache.predictionio.data.storage.*",
+        "org.apache.predictionio.data.storage.hdfs",
+        "org.apache.predictionio.data.storage.jdbc",
+        "org.apache.predictionio.data.storage.localfs",
+        "org.apache.predictionio.data.storage.s3",
+        "org.apache.predictionio.data.storage.hbase",
         "org.apache.predictionio.data.view",
+        "org.apache.predictionio.data.webhooks",
         "org.apache.predictionio.tools",
+        "org.apache.predictionio.workflow.html",
         "scalikejdbc").mkString(":"),
       "-doc-title",
       "PredictionIO Scala API",


[02/29] predictionio git commit: [PIO-146] Change TM to (R) on text marks

Posted by sh...@apache.org.
[PIO-146] Change TM to (R) on text marks

This is a requirement of ASF


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/c178e15c
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/c178e15c
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/c178e15c

Branch: refs/heads/master
Commit: c178e15cd98b8a2cdae6f01ce420ad81ff396199
Parents: 9547507
Author: Donald Szeto <do...@apache.org>
Authored: Thu Mar 1 10:33:12 2018 -0800
Committer: Donald Szeto <do...@apache.org>
Committed: Thu Mar 1 10:33:12 2018 -0800

----------------------------------------------------------------------
 docs/manual/data/nav/main.yml        |  6 +++---
 docs/manual/source/index.html.md.erb | 12 ++++++------
 2 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/c178e15c/docs/manual/data/nav/main.yml
----------------------------------------------------------------------
diff --git a/docs/manual/data/nav/main.yml b/docs/manual/data/nav/main.yml
index 6973e39..24ad8d6 100644
--- a/docs/manual/data/nav/main.yml
+++ b/docs/manual/data/nav/main.yml
@@ -1,10 +1,10 @@
 root:
   -
-    body: 'Apache PredictionIO™ Documentation'
+    body: 'Apache PredictionIO® Documentation'
     url: '/'
     children:
       -
-        body: 'Welcome to Apache PredictionIO'
+        body: 'Welcome to Apache PredictionIO®'
         url: '/'
   -
     body: 'Getting Started'
@@ -163,7 +163,7 @@ root:
         body: 'Using Another Data Store'
         url: '/system/anotherdatastore/'
   -
-    body: 'PredictionIO Official Templates'
+    body: 'PredictionIO® Official Templates'
     url: '#'
     children:
       -

http://git-wip-us.apache.org/repos/asf/predictionio/blob/c178e15c/docs/manual/source/index.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/index.html.md.erb b/docs/manual/source/index.html.md.erb
index ba76ac8..2c8fe44 100644
--- a/docs/manual/source/index.html.md.erb
+++ b/docs/manual/source/index.html.md.erb
@@ -1,6 +1,6 @@
 ---
-title: Welcome to Apache PredictionIO™!
-description: Apache PredictionIO™ Open Source Machine Learning Server
+title: Welcome to Apache PredictionIO®!
+description: Apache PredictionIO® Open Source Machine Learning Server
 ---
 
 <!--
@@ -20,9 +20,9 @@ See the License for the specific language governing permissions and
 limitations under the License.
 -->
 
-## What is Apache PredictionIO?
+## What is Apache PredictionIO®?
 
-Apache PredictionIO is an **open source Machine Learning Server**
+Apache PredictionIO® is an **open source Machine Learning Server**
 built on top of a state-of-the-art open source stack for developers and data
 scientists to create predictive engines for any machine learning task. It lets you:
 
@@ -40,7 +40,7 @@ scientists to create predictive engines for any machine learning task. It lets y
   into your engine;
 * simplify data infrastructure management.
 
-Apache PredictionIO can be [installed](/install/) as a full machine
+Apache PredictionIO® can be [installed](/install/) as a full machine
 learning stack, bundled with **Apache Spark**, **MLlib**, **HBase**, **Spray**
 and **Elasticsearch**, which simplifies and accelerates scalable machine
 learning infrastructure management.
@@ -65,7 +65,7 @@ Foundation are on GitHub
 
 ## Licensing
 
-Apache PredictionIO is licensed under the Apache License, Version
+Apache PredictionIO® is licensed under the Apache License, Version
 2.0. See
 [LICENSE](https://github.com/apache/incubator-predictionio/blob/master/LICENSE.txt)
 for the full license text.


[16/29] predictionio git commit: Merge branch 'livedoc' into develop

Posted by sh...@apache.org.
Merge branch 'livedoc' into develop


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/f0903c64
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/f0903c64
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/f0903c64

Branch: refs/heads/master
Commit: f0903c6436476b8edc4e5b4ca2655078befdc21b
Parents: da4c9d6 54415e1
Author: Naoki Takezoe <ta...@apache.org>
Authored: Sat Aug 11 09:18:13 2018 +0900
Committer: Naoki Takezoe <ta...@apache.org>
Committed: Sat Aug 11 09:18:13 2018 +0900

----------------------------------------------------------------------
 docs/manual/source/deploy/index.html.md         |  2 +-
 .../source/evaluation/metricbuild.html.md       | 12 +++++-----
 .../source/evaluation/metricchoose.html.md      | 12 +++++-----
 .../source/evaluation/paramtuning.html.md       | 14 +++++-------
 docs/manual/source/gallery/templates.yaml       |  6 ++---
 docs/manual/source/install/index.html.md.erb    |  1 -
 .../install/install-sourcecode.html.md.erb      | 23 ++++++++++++--------
 docs/manual/source/resources/faq.html.md        |  2 +-
 docs/manual/source/sdk/python.html.md.erb       | 13 ++++++-----
 docs/manual/source/sdk/ruby.html.md.erb         | 12 +++++-----
 .../complementarypurchase/dase.html.md.erb      |  6 ++---
 .../quickstart.html.md.erb                      |  2 +-
 .../ecommercerecommendation/dase.html.md.erb    |  2 +-
 .../quickstart.html.md.erb                      |  2 +-
 .../templates/leadscoring/dase.html.md.erb      |  2 +-
 .../recommendation/batch-evaluator.html.md      |  2 +-
 .../recommendation/evaluation.html.md.erb       |  2 +-
 .../recommendation/quickstart.html.md.erb       |  2 +-
 .../templates/similarproduct/dase.html.md.erb   |  2 +-
 .../multi-events-multi-algos.html.md.erb        |  4 ++--
 docs/manual/source/tryit/index.html.slim        |  6 ++---
 21 files changed, 66 insertions(+), 63 deletions(-)
----------------------------------------------------------------------



[18/29] predictionio git commit: Add template contributed by Masashi OKADA

Posted by sh...@apache.org.
Add template contributed by Masashi OKADA

Bayesian Nonparametric Chinese Restaurant Process Clustering

Closes #458


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/fc481c9c
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/fc481c9c
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/fc481c9c

Branch: refs/heads/master
Commit: fc481c9c82989e1b484ea5bfeb540bc96758bed5
Parents: 54415e1
Author: jirotubuyaki <ok...@gmail.com>
Authored: Fri Aug 24 10:24:14 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Fri Aug 24 10:26:22 2018 -0700

----------------------------------------------------------------------
 docs/manual/source/gallery/templates.yaml | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/fc481c9c/docs/manual/source/gallery/templates.yaml
----------------------------------------------------------------------
diff --git a/docs/manual/source/gallery/templates.yaml b/docs/manual/source/gallery/templates.yaml
index e936ad5..d60fa70 100644
--- a/docs/manual/source/gallery/templates.yaml
+++ b/docs/manual/source/gallery/templates.yaml
@@ -86,6 +86,20 @@
     apache_pio_convesion_required: "already compatible"
     support_link: '<a href="https://github.com/peoplehum/template-Labelling-Topics-with-wikipedia/issues">Github issues</a>'
 
+- template:
+    name: Bayesian Nonparametric Chinese Restaurant Process Clustering
+    repo: "https://github.com/jirotubuyaki/predictionio-template-crp-clustering"
+    description: |-
+      Chinese restaurant process is stochastic process for statistical inference. The clustering which uses Chinese restaurant process does not need to decide the number of clusters in advance. This algorithm automatically adjusts it.
+    tags: [clustering]
+    type: Parallel
+    language: Scala
+    license: "Apache Licence 2.0"
+    status: alpha
+    pio_min_version: 0.10.0-incubating
+    apache_pio_convesion_required: "already compatible"
+    support_link: '<a href="https://github.com/jirotubuyaki/predictionio-template-crp-clustering/issues">Github issues</a>'
+
 # Recommenders
 
 - template:


[11/29] predictionio git commit: [PIO-155] Fix template link

Posted by sh...@apache.org.
[PIO-155] Fix template link

Closes #454


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/a7c94c31
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/a7c94c31
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/a7c94c31

Branch: refs/heads/master
Commit: a7c94c313f0f1ad5d1a0737202e784324cb5e869
Parents: c11eba8
Author: Donald Szeto <do...@apache.org>
Authored: Fri Apr 27 14:54:50 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Fri Apr 27 14:54:50 2018 -0700

----------------------------------------------------------------------
 doap.rdf                                  | 2 +-
 docs/manual/source/gallery/templates.yaml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/a7c94c31/doap.rdf
----------------------------------------------------------------------
diff --git a/doap.rdf b/doap.rdf
index 0f59524..26f430f 100644
--- a/doap.rdf
+++ b/doap.rdf
@@ -26,7 +26,7 @@
     <license rdf:resource="http://spdx.org/licenses/Apache-2.0" />
     <name>Apache PredictionIO</name>
     <homepage rdf:resource="http://predictionio.apache.org/" />
-    <asfext:pmc rdf:resource="http://apache.org" />
+    <asfext:pmc rdf:resource="http://predictionio.apache.org" />
     <shortdesc>PredictionIO is an open source Machine Learning Server built on top of state-of-the-art open source stack, that enables developers to manage and deploy production-ready predictive services for various kinds of machine learning tasks.</shortdesc>
     <description>PredictionIO is an open source Machine Learning Server built on top of state-of-the-art open source stack, that enables developers to manage and deploy production-ready predictive services for various kinds of machine learning tasks.</description>
     <bug-database rdf:resource="https://issues.apache.org/jira/browse/PIO" />

http://git-wip-us.apache.org/repos/asf/predictionio/blob/a7c94c31/docs/manual/source/gallery/templates.yaml
----------------------------------------------------------------------
diff --git a/docs/manual/source/gallery/templates.yaml b/docs/manual/source/gallery/templates.yaml
index ddb4547..d3aae5f 100644
--- a/docs/manual/source/gallery/templates.yaml
+++ b/docs/manual/source/gallery/templates.yaml
@@ -74,7 +74,7 @@
 
 - template:
     name: Topic Labelling with Wikipedia
-    repo: "https://github.com/peoplehum/template-Labelling-Topics-with-wikipedia"
+    repo: "https://github.com/rajdeepd/template-Labelling-Topics-with-wikipedia"
     description: |-
       This template will label topics (e.g. topic generated through LDA topic modeling) with relevant category by referring to Wikipedia as a knowledge base.
     tags: [clustering, nlp]


[03/29] predictionio git commit: Disable gzip to avoid large commits on site repo

Posted by sh...@apache.org.
Disable gzip to avoid large commits on site repo


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/29fb5f2e
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/29fb5f2e
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/29fb5f2e

Branch: refs/heads/master
Commit: 29fb5f2e13a950704a522e3ba681c99d7e5e2a66
Parents: c178e15
Author: Donald Szeto <do...@apache.org>
Authored: Thu Mar 1 10:43:05 2018 -0800
Committer: Donald Szeto <do...@apache.org>
Committed: Thu Mar 1 10:43:05 2018 -0800

----------------------------------------------------------------------
 docs/manual/config.rb | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/29fb5f2e/docs/manual/config.rb
----------------------------------------------------------------------
diff --git a/docs/manual/config.rb b/docs/manual/config.rb
index 26d4b65..d836133 100644
--- a/docs/manual/config.rb
+++ b/docs/manual/config.rb
@@ -25,7 +25,6 @@ set :images_dir,    'images'
 set :partials_dir,  'partials'
 
 activate :directory_indexes
-activate :gzip
 activate :syntax, line_numbers: true
 activate :autoprefixer
 


[20/29] predictionio git commit: [PIO-158] Deprecate Scala 2.10 and Spark 1.x

Posted by sh...@apache.org.
[PIO-158] Deprecate Scala 2.10 and Spark 1.x

Closes #459


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/ff6a076a
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/ff6a076a
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/ff6a076a

Branch: refs/heads/master
Commit: ff6a076a5079232e383be3ccb7b7d96366190a53
Parents: 7ad9be4
Author: shimamoto <sh...@apache.org>
Authored: Mon Aug 27 16:08:44 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Mon Aug 27 16:09:29 2018 -0700

----------------------------------------------------------------------
 bin/pio-class                                                | 2 +-
 build.sbt                                                    | 8 ++++++--
 docs/manual/source/install/index.html.md.erb                 | 3 +++
 docs/manual/source/install/install-sourcecode.html.md.erb    | 6 +++---
 docs/manual/source/system/index.html.md                      | 7 -------
 docs/scaladoc/README.md                                      | 2 +-
 .../org/apache/predictionio/tools/commands/Management.scala  | 2 +-
 7 files changed, 15 insertions(+), 15 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/ff6a076a/bin/pio-class
----------------------------------------------------------------------
diff --git a/bin/pio-class b/bin/pio-class
index 94cc520..9e01a40 100755
--- a/bin/pio-class
+++ b/bin/pio-class
@@ -44,7 +44,7 @@ fi
 
 # Make sure the Apache Spark version meets the prerequisite if it is a binary
 # distribution
-MIN_SPARK_VERSION="1.3.0"
+MIN_SPARK_VERSION="1.6.3"
 if [ -z "$SPARK_HOME" ]; then
   echo -e "\033[0;31mSPARK_HOME must be set in conf/pio-env.sh, or in the environment!\033[0m"
   exit 1

http://git-wip-us.apache.org/repos/asf/predictionio/blob/ff6a076a/build.sbt
----------------------------------------------------------------------
diff --git a/build.sbt b/build.sbt
index ec54104..0243610 100644
--- a/build.sbt
+++ b/build.sbt
@@ -50,7 +50,7 @@ lazy val scalaSparkDepsVersion = Map(
 
 name := "apache-predictionio-parent"
 
-version in ThisBuild := "0.12.1"
+version in ThisBuild := "0.13.0-SNAPSHOT"
 
 organization in ThisBuild := "org.apache.predictionio"
 
@@ -65,7 +65,7 @@ scalacOptions in ThisBuild ++= Seq("-deprecation", "-unchecked", "-feature")
 scalacOptions in (ThisBuild, Test) ++= Seq("-Yrangepos")
 fork in (ThisBuild, run) := true
 
-javacOptions in (ThisBuild, compile) ++= Seq("-source", "1.7", "-target", "1.7",
+javacOptions in (ThisBuild, compile) ++= Seq("-source", "1.8", "-target", "1.8",
   "-Xlint:deprecation", "-Xlint:unchecked")
 
 // Ignore differentiation of Spark patch levels
@@ -323,6 +323,10 @@ parallelExecution in Global := false
 testOptions in Test += Tests.Argument("-oDF")
 
 printBuildInfo := {
+  if (scalaBinaryVersion.value == "2.10")
+    streams.value.log.warn("Support for Scala 2.10 is deprecated. Please upgrade to a newer version of Scala.")
+  if (sparkBinaryVersion.value == "1.6")
+    streams.value.log.warn("Support for Spark 1.6 is deprecated. Please upgrade to a newer version of Spark.")
   println(s"PIO_SCALA_VERSION=${scalaVersion.value}")
   println(s"PIO_SPARK_VERSION=${sparkVersion.value}")
   println(s"PIO_ELASTICSEARCH_VERSION=${elasticsearchVersion.value}")

http://git-wip-us.apache.org/repos/asf/predictionio/blob/ff6a076a/docs/manual/source/install/index.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/install/index.html.md.erb b/docs/manual/source/install/index.html.md.erb
index 167d3bf..3b34871 100644
--- a/docs/manual/source/install/index.html.md.erb
+++ b/docs/manual/source/install/index.html.md.erb
@@ -41,6 +41,9 @@ or
 * Apache HBase 0.98.5
 * Elasticsearch 1.7.6
 
+WARNING: **Note that support for Scala 2.10 and Spark 1.6.x are deprecated as of PredictionIO 0.13.0,
+and may be removed in a future release.**
+
 If you are running on a single machine, we recommend a minimum of 2GB memory.
 
 INFO: If you are using Linux, Apache Spark local mode, which is the default

http://git-wip-us.apache.org/repos/asf/predictionio/blob/ff6a076a/docs/manual/source/install/install-sourcecode.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/install/install-sourcecode.html.md.erb b/docs/manual/source/install/install-sourcecode.html.md.erb
index a16acde..8abc448 100644
--- a/docs/manual/source/install/install-sourcecode.html.md.erb
+++ b/docs/manual/source/install/install-sourcecode.html.md.erb
@@ -108,9 +108,9 @@ Starting from version 0.11.0, PredictionIO can be built against different
 versions of dependencies. As of writing, one could build PredictionIO against
 these different dependencies:
 
-* Scala 2.10.x, 2.11.x
-* Spark 1.6.x, 2.0.x, 2.1.x
-* Hadoop 2.4.x to 2.7.x
+* Scala 2.10.x(deprecated), 2.11.x
+* Spark 1.6.x(deprecated), 2.0.x, 2.1.x
+* Hadoop 2.6.x, 2.7.x
 * Elasticsearch 1.7.x, 5.x
 
 As an example, if you want to build PredictionIO to support Scala 2.11.8,

http://git-wip-us.apache.org/repos/asf/predictionio/blob/ff6a076a/docs/manual/source/system/index.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/system/index.html.md b/docs/manual/source/system/index.html.md
index 1030fec..dcff342 100644
--- a/docs/manual/source/system/index.html.md
+++ b/docs/manual/source/system/index.html.md
@@ -19,13 +19,6 @@ See the License for the specific language governing permissions and
 limitations under the License.
 -->
 
-During the [installation](/install), you have installed the latest stable versions of the following software:
-
-* Apache Hadoop up to 2.7.2 (required only if YARN and HDFS are needed)
-* Apache HBase up to 1.2.4
-* Apache Spark up to 1.6.3 for Hadoop 2.6 (not Spark 2.x version)
-* Elasticsearch up to 1.7.5 (not the Elasticsearch 2.x version)
-
 This section explains general rules-of-thumb for how they are used in PredictionIO. The actual implementation of the Template will define how much of this applies. PredictionIO is flexible about much of this configuration but its Templates generally fit the Lambda model for integrating real-time serving with background periodic model updates.
 
 ![PredictionIO Systems](/images/pio-architecture.svg)

http://git-wip-us.apache.org/repos/asf/predictionio/blob/ff6a076a/docs/scaladoc/README.md
----------------------------------------------------------------------
diff --git a/docs/scaladoc/README.md b/docs/scaladoc/README.md
index 2f64966..2faa7e3 100644
--- a/docs/scaladoc/README.md
+++ b/docs/scaladoc/README.md
@@ -23,4 +23,4 @@ Scala API Documentation
     $ sbt/sbt pioUnidoc
     ```
 
-2.  Point your web browser at `target/scala-2.10/unidoc/index.html`.
+2.  Point your web browser at `target/scala-2.11/unidoc/index.html`.

http://git-wip-us.apache.org/repos/asf/predictionio/blob/ff6a076a/tools/src/main/scala/org/apache/predictionio/tools/commands/Management.scala
----------------------------------------------------------------------
diff --git a/tools/src/main/scala/org/apache/predictionio/tools/commands/Management.scala b/tools/src/main/scala/org/apache/predictionio/tools/commands/Management.scala
index ee8cd50..cd71fdd 100644
--- a/tools/src/main/scala/org/apache/predictionio/tools/commands/Management.scala
+++ b/tools/src/main/scala/org/apache/predictionio/tools/commands/Management.scala
@@ -109,7 +109,7 @@ object Management extends EitherLogging {
     val sparkHomePath = Common.getSparkHome(sparkHome)
     if (new File(s"$sparkHomePath/bin/spark-submit").exists) {
       info(s"Apache Spark is installed at $sparkHomePath")
-      val sparkMinVersion = "1.3.0"
+      val sparkMinVersion = "1.6.3"
       pioStatus = pioStatus.copy(
         sparkHome = sparkHomePath,
         sparkMinVersion = sparkMinVersion)


[04/29] predictionio git commit: [PIO-146] Change TM to (R) on site download/install pages

Posted by sh...@apache.org.
[PIO-146] Change TM to (R) on site download/install pages


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/06de8af5
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/06de8af5
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/06de8af5

Branch: refs/heads/master
Commit: 06de8af546d3c688bc8a832a5d09fba57961b1b5
Parents: 29fb5f2
Author: Chan Lee <ch...@gmail.com>
Authored: Thu Mar 1 14:49:21 2018 -0800
Committer: Chan Lee <ch...@gmail.com>
Committed: Thu Mar 1 16:07:01 2018 -0800

----------------------------------------------------------------------
 docs/manual/source/community/projects.html.md             | 8 ++++----
 docs/manual/source/install/index.html.md.erb              | 8 ++++----
 docs/manual/source/install/install-sourcecode.html.md.erb | 4 ++--
 docs/manual/source/partials/_footer.html.slim             | 2 +-
 docs/manual/source/partials/_header.html.slim             | 2 +-
 5 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/06de8af5/docs/manual/source/community/projects.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/community/projects.html.md b/docs/manual/source/community/projects.html.md
index eef3f9f..0b7787e 100644
--- a/docs/manual/source/community/projects.html.md
+++ b/docs/manual/source/community/projects.html.md
@@ -41,7 +41,7 @@ Personalised Products is a Magento 2 module that will serve realtime predicted s
 
 - Status: It works with PredictionIO v0.9.5 - Under active development
 
-## Vagrant Installation for PredictionIO
+## Vagrant Installation for Apache PredictionIO®
 
 URL: https://github.com/PredictionIO/PredictionIO-Vagrant
 
@@ -52,7 +52,7 @@ Bring Up PredictionIO 0.9.x VM with Vagrant.
 - Status: It works with PredictionIO v0.8 - Under active development
 
 
-## Docker Installation for PredictionIO
+## Docker Installation for Apache PredictionIO®
 
 URL: https://github.com/mingfang/docker-predictionio
 
@@ -63,7 +63,7 @@ Run PredictionIO inside Docker.
 - Status: It works with PredictionIO v0.8 - Under active development
 
 
-## Another Docker Installation for PredictionIO
+## Another Docker Installation for Apache PredictionIO®
 
 URL: https://github.com/sphereio/docker-predictionio
 
@@ -74,7 +74,7 @@ Docker container for PredictionIO-based machine learning services.
 - Status: It works with PredictionIO v0.9.3 - Under active development
 
 
-## Third Docker Installation for PredictionIO
+## Third Docker Installation for Apache PredictionIO®
 
 URL: https://github.com/steveny2k/docker-predictionio
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/06de8af5/docs/manual/source/install/index.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/install/index.html.md.erb b/docs/manual/source/install/index.html.md.erb
index 98f9d76..92259be 100644
--- a/docs/manual/source/install/index.html.md.erb
+++ b/docs/manual/source/install/index.html.md.erb
@@ -1,5 +1,5 @@
 ---
-title: Installing Apache PredictionIO
+title: Installing Apache PredictionIO®
 ---
 
 <!--
@@ -22,7 +22,7 @@ limitations under the License.
 ## Prerequisites
 
 It is **very important** to meet the minimum version of the following
-technologies that power Apache PredictionIO.
+technologies that power Apache PredictionIO®.
 
 * Apache Hadoop 2.6.5 (optional, required only if YARN and HDFS are needed)
 * Apache Spark 1.6.3 for Hadoop 2.6
@@ -50,13 +50,13 @@ mode](http://spark.apache.org/docs/latest/spark-standalone.html).
 
 ## Installation
 
-Apache PredictionIO runs on a Java virtual machine, so it runs on
+Apache PredictionIO® runs on a Java virtual machine, so it runs on
 most platforms. Choose your platform below:
 
 * [Installing Apache PredictionIO from Source Code](install-sourcecode.html)
 
 You may also use one of the community-contributed packages to install
-Apache PredictionIO:
+Apache PredictionIO®:
 
 * [Installing Apache PredictionIO with
   Docker](/community/projects.html#docker-installation-for-predictionio)

http://git-wip-us.apache.org/repos/asf/predictionio/blob/06de8af5/docs/manual/source/install/install-sourcecode.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/install/install-sourcecode.html.md.erb b/docs/manual/source/install/install-sourcecode.html.md.erb
index 8f5f2a9..4d4a366 100644
--- a/docs/manual/source/install/install-sourcecode.html.md.erb
+++ b/docs/manual/source/install/install-sourcecode.html.md.erb
@@ -1,5 +1,5 @@
 ---
-title: Installing Apache PredictionIO from Source Code
+title: Installing Apache PredictionIO® from Source Code
 ---
 
 <!--
@@ -48,7 +48,7 @@ gpg: Good signature from "Chan Lee <ch...@apache.org>" [ultimate]
 ## Building
 
 Run the following at the directory where you downloaded the source code to build
-Apache PredictionIO. By default, the build will be against
+Apache PredictionIO®. By default, the build will be against
 
 * Scala 2.11.8
 * Spark 2.1.1

http://git-wip-us.apache.org/repos/asf/predictionio/blob/06de8af5/docs/manual/source/partials/_footer.html.slim
----------------------------------------------------------------------
diff --git a/docs/manual/source/partials/_footer.html.slim b/docs/manual/source/partials/_footer.html.slim
index a365d9b..5544e8f 100644
--- a/docs/manual/source/partials/_footer.html.slim
+++ b/docs/manual/source/partials/_footer.html.slim
@@ -32,7 +32,7 @@ footer
         .col-md-12
           #footer-logo-wrapper
             = image_tag 'logos/logo-white.png', alt: 'PredictionIO'
-            span ™
+            span ®
           #social-icons-wrapper
             a.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.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

http://git-wip-us.apache.org/repos/asf/predictionio/blob/06de8af5/docs/manual/source/partials/_header.html.slim
----------------------------------------------------------------------
diff --git a/docs/manual/source/partials/_header.html.slim b/docs/manual/source/partials/_header.html.slim
index 33406ed..ce8c7b8 100644
--- a/docs/manual/source/partials/_header.html.slim
+++ b/docs/manual/source/partials/_header.html.slim
@@ -7,7 +7,7 @@ header
           a href="#"
           = link_to 'http://predictionio.apache.org/' do
             = image_tag 'logos/logo.png', alt: 'Apache PredictionIO', id: 'logo'
-          span ™
+          span ®
         #menu-wrapper
           #pill-wrapper
             a.pill.left> href="/gallery/template-gallery" TEMPLATES


[25/29] predictionio git commit: [PIO-156] Direct links to sigs and hashes

Posted by sh...@apache.org.
[PIO-156] Direct links to sigs and hashes


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/fdd3e845
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/fdd3e845
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/fdd3e845

Branch: refs/heads/master
Commit: fdd3e8457e76fee2f54e71484f5b5a9436dead47
Parents: 1a8babe
Author: Donald Szeto <do...@apache.org>
Authored: Mon Sep 10 12:02:26 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Mon Sep 10 12:02:26 2018 -0700

----------------------------------------------------------------------
 .../install/install-sourcecode.html.md.erb      | 54 +++++++++++++++++---
 1 file changed, 47 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/fdd3e845/docs/manual/source/install/install-sourcecode.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/install/install-sourcecode.html.md.erb b/docs/manual/source/install/install-sourcecode.html.md.erb
index a16acde..edb6cdb 100644
--- a/docs/manual/source/install/install-sourcecode.html.md.erb
+++ b/docs/manual/source/install/install-sourcecode.html.md.erb
@@ -32,9 +32,41 @@ building against
 * Hadoop 2.7.3
 * Elasticsearch 5.5.2
 
-Download binary release from an [Apache mirror](https://www.apache.org/dyn/closer.cgi/predictionio/<%=
-data.versions.pio %>/apache-predictionio-<%= data.versions.pio %>-bin.tar.gz)
-and verify the release.
+Download [binary release from an Apache
+mirror](https://www.apache.org/dyn/closer.lua/predictionio/<%= data.versions.pio
+%>/apache-predictionio-<%= data.versions.pio %>-bin.tar.gz) and verify the
+release with the corresponding
+[signature](https://archive.apache.org/dist/predictionio/<%=
+data.versions.pio %>/apache-predictionio-<%= data.versions.pio
+%>-bin.tar.gz.asc) and
+[checksum](https://archive.apache.org/dist/predictionio/<%=
+data.versions.pio %>/apache-predictionio-<%= data.versions.pio
+%>-bin.tar.gz.sha512).
+
+### Verifying Release
+
+Verify binary/source release using [signatures and checksums]
+(https://www.apache.org/dist/predictionio/<%= data.versions.pio %>/)
+and [project release KEYS](https://www.apache.org/dist/predictionio/KEYS).
+
+```
+$ gpg --import KEYS
+$ gpg --verify apache-predictionio-<%= data.versions.pio %>.tar.gz.asc apache-predictionio-<%= data.versions.pio %>.tar.gz
+```
+
+You should see something like this.
+
+```
+gpg: Signature made Tue Sep 26 22:55:22 2017 PDT
+gpg:                using RSA key 7E2363D84719A8F4
+gpg: Good signature from "Chan Lee <ch...@apache.org>" [ultimate]
+```
+
+For further information, the [official guide from
+Apache](https://www.apache.org/info/verification.html) has the most up-to-date
+and complete information.
+
+### Installation
 
 Extract the binary distribution and proceed to
 [Installing Dependencies](#installing-dependencies).
@@ -45,10 +77,14 @@ $ tar zxvf apache-predictionio-<%= data.versions.pio %>.tar.gz
 
 ## Downloading Source Code
 
-Download Apache PredictionIO source <%= data.versions.pio %> from an
-[Apache mirror](https://www.apache.org/dyn/closer.cgi/predictionio/<%=
-data.versions.pio %>/apache-predictionio-<%= data.versions.pio %>.tar.gz) and
-verify the release.
+Download [source release from an Apache
+mirror](https://www.apache.org/dyn/closer.cgi/predictionio/<%= data.versions.pio
+%>/apache-predictionio-<%= data.versions.pio %>.tar.gz) and verify the release
+with the corresponding
+[signature](https://archive.apache.org/dist/predictionio/<%= data.versions.pio
+%>/apache-predictionio-<%= data.versions.pio %>.tar.gz.asc) and
+[checksum](https://archive.apache.org/dist/predictionio/<%= data.versions.pio
+%>/apache-predictionio-<%= data.versions.pio %>.tar.gz.sha512).
 
 ### Verifying Release
 
@@ -69,6 +105,10 @@ gpg:                using RSA key 7E2363D84719A8F4
 gpg: Good signature from "Chan Lee <ch...@apache.org>" [ultimate]
 ```
 
+For further information, the [official guide from
+Apache](https://www.apache.org/info/verification.html) has the most up-to-date
+and complete information.
+
 ## Building
 
 Run the following at the directory where you downloaded the source code to build


[09/29] predictionio git commit: Fix broken hyperlink in installation page

Posted by sh...@apache.org.
Fix broken hyperlink in installation page


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/66c0acf6
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/66c0acf6
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/66c0acf6

Branch: refs/heads/master
Commit: 66c0acf65bdd25cb5763d4b22fe6765174d93391
Parents: b630367
Author: Chan Lee <ch...@gmail.com>
Authored: Thu Mar 15 14:01:32 2018 -0700
Committer: Chan Lee <ch...@gmail.com>
Committed: Thu Mar 15 14:01:32 2018 -0700

----------------------------------------------------------------------
 .../manual/source/install/install-sourcecode.html.md.erb | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/66c0acf6/docs/manual/source/install/install-sourcecode.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/install/install-sourcecode.html.md.erb b/docs/manual/source/install/install-sourcecode.html.md.erb
index fda6ee9..a16acde 100644
--- a/docs/manual/source/install/install-sourcecode.html.md.erb
+++ b/docs/manual/source/install/install-sourcecode.html.md.erb
@@ -32,13 +32,12 @@ building against
 * Hadoop 2.7.3
 * Elasticsearch 5.5.2
 
-Download binary release from an Apache [mirror](
-https://www.apache.org/dyn/closer.cgi/predictionio/<%= data.versions.pio
-%>/apache-predictionio-<%= data.versions.pio %>-bin.tar.gz)
+Download binary release from an [Apache mirror](https://www.apache.org/dyn/closer.cgi/predictionio/<%=
+data.versions.pio %>/apache-predictionio-<%= data.versions.pio %>-bin.tar.gz)
 and verify the release.
 
-Extract the binary distribution and proceed to [Installing Dependencies](
-#installing-dependencies).
+Extract the binary distribution and proceed to
+[Installing Dependencies](#installing-dependencies).
 
 ```
 $ tar zxvf apache-predictionio-<%= data.versions.pio %>.tar.gz
@@ -47,7 +46,7 @@ $ tar zxvf apache-predictionio-<%= data.versions.pio %>.tar.gz
 ## Downloading Source Code
 
 Download Apache PredictionIO source <%= data.versions.pio %> from an
-Apache [mirror](https://www.apache.org/dyn/closer.cgi/predictionio/<%=
+[Apache mirror](https://www.apache.org/dyn/closer.cgi/predictionio/<%=
 data.versions.pio %>/apache-predictionio-<%= data.versions.pio %>.tar.gz) and
 verify the release.
 


[14/29] predictionio git commit: Fix several minor typos detected by github.com/client9/misspell

Posted by sh...@apache.org.
Fix several minor typos detected by github.com/client9/misspell

Closes #456


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/da4c9d66
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/da4c9d66
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/da4c9d66

Branch: refs/heads/master
Commit: da4c9d66e81a64084c36f15f50eaa8c07665e5ca
Parents: f19d015
Author: Kazuhiro Sera <se...@gmail.com>
Authored: Sat Aug 11 09:12:11 2018 +0900
Committer: Naoki Takezoe <ta...@apache.org>
Committed: Sat Aug 11 09:13:38 2018 +0900

----------------------------------------------------------------------
 .../org/apache/predictionio/controller/Engine.scala     |  4 ++--
 .../org/apache/predictionio/core/AbstractDoer.scala     |  2 +-
 .../predictionio/core/SelfCleaningDataSource.scala      |  4 ++--
 .../org/apache/predictionio/workflow/FakeWorkflow.scala |  2 +-
 .../webhooks/mailchimp/MailChimpConnectorSpec.scala     | 12 ++++++------
 data/test.sh                                            |  2 +-
 .../predictionio/data/storage/hbase/HBEventsUtil.scala  |  2 +-
 tests/pio_tests/README.md                               |  4 ++--
 tests/pio_tests/utils.py                                |  2 +-
 .../org/apache/predictionio/tools/commands/App.scala    |  2 +-
 10 files changed, 18 insertions(+), 18 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/da4c9d66/core/src/main/scala/org/apache/predictionio/controller/Engine.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/predictionio/controller/Engine.scala b/core/src/main/scala/org/apache/predictionio/controller/Engine.scala
index 1f9d0ab..3b5f363 100644
--- a/core/src/main/scala/org/apache/predictionio/controller/Engine.scala
+++ b/core/src/main/scala/org/apache/predictionio/controller/Engine.scala
@@ -268,7 +268,7 @@ class Engine[TD, EI, PD, Q, P, A](
 
   /** Extract model for persistent layer.
     *
-    * PredictionIO presist models for future use. It allows custom
+    * PredictionIO persists models for future use. It allows custom
     * implementation for persisting models. You need to implement the
     * [[org.apache.predictionio.controller.PersistentModel]] interface. This method
     * traverses all models in the workflow. If the model is a
@@ -642,7 +642,7 @@ object Engine {
       dataSource.readTrainingBase(sc)
     } catch {
       case e: StorageClientException =>
-        logger.error(s"Error occured reading from data source. (Reason: " +
+        logger.error(s"Error occurred reading from data source. (Reason: " +
           e.getMessage + ") Please see the log for debugging details.", e)
         sys.exit(1)
     }

http://git-wip-us.apache.org/repos/asf/predictionio/blob/da4c9d66/core/src/main/scala/org/apache/predictionio/core/AbstractDoer.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/predictionio/core/AbstractDoer.scala b/core/src/main/scala/org/apache/predictionio/core/AbstractDoer.scala
index 5da48ce..04d781f 100644
--- a/core/src/main/scala/org/apache/predictionio/core/AbstractDoer.scala
+++ b/core/src/main/scala/org/apache/predictionio/core/AbstractDoer.scala
@@ -48,7 +48,7 @@ object Doer extends Logging {
 
     // Subclasses only allows two kind of constructors.
     // 1. Constructor with P <: Params.
-    // 2. Emtpy constructor.
+    // 2. Empty constructor.
     // First try (1), if failed, try (2).
     try {
       val constr = cls.getConstructor(params.getClass)

http://git-wip-us.apache.org/repos/asf/predictionio/blob/da4c9d66/core/src/main/scala/org/apache/predictionio/core/SelfCleaningDataSource.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/predictionio/core/SelfCleaningDataSource.scala b/core/src/main/scala/org/apache/predictionio/core/SelfCleaningDataSource.scala
index cadf6b8..be3fe05 100644
--- a/core/src/main/scala/org/apache/predictionio/core/SelfCleaningDataSource.scala
+++ b/core/src/main/scala/org/apache/predictionio/core/SelfCleaningDataSource.scala
@@ -69,7 +69,7 @@ trait SelfCleaningDataSource {
 
   /** :: DeveloperApi ::
     *
-    * Returns RDD of events happend after duration in event window params.
+    * Returns RDD of events happened after duration in event window params.
     *
     * @return RDD[Event] most recent PEvents.
     */
@@ -87,7 +87,7 @@ trait SelfCleaningDataSource {
 
   /** :: DeveloperApi ::
     *
-    * Returns Iterator of events happend after duration in event window params.
+    * Returns Iterator of events happened after duration in event window params.
     *
     * @return Iterator[Event] most recent LEvents.
     */

http://git-wip-us.apache.org/repos/asf/predictionio/blob/da4c9d66/core/src/main/scala/org/apache/predictionio/workflow/FakeWorkflow.scala
----------------------------------------------------------------------
diff --git a/core/src/main/scala/org/apache/predictionio/workflow/FakeWorkflow.scala b/core/src/main/scala/org/apache/predictionio/workflow/FakeWorkflow.scala
index c9b1d23..8e4db51 100644
--- a/core/src/main/scala/org/apache/predictionio/workflow/FakeWorkflow.scala
+++ b/core/src/main/scala/org/apache/predictionio/workflow/FakeWorkflow.scala
@@ -72,7 +72,7 @@ private[predictionio] case class FakeEvalResult() extends BaseEvaluatorResult {
   override val noSave: Boolean = true
 }
 
-/** FakeRun allows user to implement custom function under the exact enviroment
+/** FakeRun allows user to implement custom function under the exact environment
   * as other PredictionIO workflow.
   *
   * Useful for developing new features. Only need to extend this trait and

http://git-wip-us.apache.org/repos/asf/predictionio/blob/da4c9d66/data/src/test/scala/org/apache/predictionio/data/webhooks/mailchimp/MailChimpConnectorSpec.scala
----------------------------------------------------------------------
diff --git a/data/src/test/scala/org/apache/predictionio/data/webhooks/mailchimp/MailChimpConnectorSpec.scala b/data/src/test/scala/org/apache/predictionio/data/webhooks/mailchimp/MailChimpConnectorSpec.scala
index add9c6f..9bb1847 100644
--- a/data/src/test/scala/org/apache/predictionio/data/webhooks/mailchimp/MailChimpConnectorSpec.scala
+++ b/data/src/test/scala/org/apache/predictionio/data/webhooks/mailchimp/MailChimpConnectorSpec.scala
@@ -24,7 +24,7 @@ import org.specs2.mutable._
 
 class MailChimpConnectorSpec extends Specification with ConnectorTestUtil {
 
-  // TOOD: test other events
+  // TODO: test other events
   // TODO: test different optional fields
 
   "MailChimpConnector" should {
@@ -87,7 +87,7 @@ class MailChimpConnectorSpec extends Specification with ConnectorTestUtil {
         "data[merges][EMAIL]" -> "api+unsub@mailchimp.com",
         "data[merges][FNAME]" -> "MailChimp",
         "data[merges][LNAME]" -> "API",
-        "data[merges][INTERESTS]" -> "Group1,Group2", //optional 
+        "data[merges][INTERESTS]" -> "Group1,Group2", //optional
         "data[ip_opt]" -> "10.20.10.30",
         "data[campaign_id]" -> "cb398d21d2"
       )
@@ -120,7 +120,7 @@ class MailChimpConnectorSpec extends Specification with ConnectorTestUtil {
       check(MailChimpConnector, unsubscribe, expected)
     }
 
-    //check profile update to event Json 
+    //check profile update to event Json
     "convert profile update to event JSON" in {
 
       val profileUpdate = Map(
@@ -162,7 +162,7 @@ class MailChimpConnectorSpec extends Specification with ConnectorTestUtil {
       check(MailChimpConnector, profileUpdate, expected)
     }
 
-    //check email update to event Json 
+    //check email update to event Json
     "convert email update to event JSON" in {
 
       val emailUpdate = Map(
@@ -192,7 +192,7 @@ class MailChimpConnectorSpec extends Specification with ConnectorTestUtil {
       check(MailChimpConnector, emailUpdate, expected)
     }
 
-    //check cleaned email to event Json 
+    //check cleaned email to event Json
     "convert cleaned email to event JSON" in {
 
       val cleanedEmail = Map(
@@ -221,7 +221,7 @@ class MailChimpConnectorSpec extends Specification with ConnectorTestUtil {
       check(MailChimpConnector, cleanedEmail, expected)
     }
 
-    //check campaign sending status to event Json 
+    //check campaign sending status to event Json
     "convert campaign sending status to event JSON" in {
 
       val campaign = Map(

http://git-wip-us.apache.org/repos/asf/predictionio/blob/da4c9d66/data/test.sh
----------------------------------------------------------------------
diff --git a/data/test.sh b/data/test.sh
index be0eb07..8481f47 100755
--- a/data/test.sh
+++ b/data/test.sh
@@ -481,7 +481,7 @@ testdata='[{
 checkPOST "/batch/events.json?accessKey=$accessKey" "$testdata" 200
 
 # request with a malformed event (2nd event)
-# the response code is succesful but the error for individual event is reflected in the response's body.
+# the response code is successful but the error for individual event is reflected in the response's body.
 testdata='[{
   "event" : "my_event_1",
   "entityType" : "user",

http://git-wip-us.apache.org/repos/asf/predictionio/blob/da4c9d66/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/HBEventsUtil.scala
----------------------------------------------------------------------
diff --git a/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/HBEventsUtil.scala b/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/HBEventsUtil.scala
index 64487fb..4b0ad9a 100644
--- a/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/HBEventsUtil.scala
+++ b/storage/hbase/src/main/scala/org/apache/predictionio/data/storage/hbase/HBEventsUtil.scala
@@ -148,7 +148,7 @@ object HBEventsUtil {
     val rowKey = event.eventId.map { id =>
       RowKey(id) // create rowKey from eventId
     }.getOrElse {
-      // TOOD: use real UUID. not pseudo random
+      // TODO: use real UUID. not pseudo random
       val uuidLow: Long = UUID.randomUUID().getLeastSignificantBits
       RowKey(
         entityType = event.entityType,

http://git-wip-us.apache.org/repos/asf/predictionio/blob/da4c9d66/tests/pio_tests/README.md
----------------------------------------------------------------------
diff --git a/tests/pio_tests/README.md b/tests/pio_tests/README.md
index 070ac8b..cb426da 100644
--- a/tests/pio_tests/README.md
+++ b/tests/pio_tests/README.md
@@ -33,14 +33,14 @@ has to download the following python-3 packages:
 You can pass it arguments to:
 * suppress the output of executed shell commands within the tests
 * enable logging
-* specify which tests should be exectued (by names)
+* specify which tests should be executed (by names)
 
 For more information run:
 ```shell
 python3 tests.py -h
 ```
 
-As soon as the tests are finishied an XML file with JUnit-like test reports 
+As soon as the tests are finished an XML file with JUnit-like test reports
 is created in the directory of execution.
 
 ### Adding new tests

http://git-wip-us.apache.org/repos/asf/predictionio/blob/da4c9d66/tests/pio_tests/utils.py
----------------------------------------------------------------------
diff --git a/tests/pio_tests/utils.py b/tests/pio_tests/utils.py
index 4659e54..6eecf89 100644
--- a/tests/pio_tests/utils.py
+++ b/tests/pio_tests/utils.py
@@ -55,7 +55,7 @@ def repository_dirname(template):
 
 def obtain_template(engine_dir, template):
   """Given a directory with engines and a template downloads an engine
-  if neccessary
+  if necessary
   Args:
     engine_dir (str): directory where engines are stored
     template (str): either the name of an engine from the engines directory

http://git-wip-us.apache.org/repos/asf/predictionio/blob/da4c9d66/tools/src/main/scala/org/apache/predictionio/tools/commands/App.scala
----------------------------------------------------------------------
diff --git a/tools/src/main/scala/org/apache/predictionio/tools/commands/App.scala b/tools/src/main/scala/org/apache/predictionio/tools/commands/App.scala
index 5884ebd..06c1641 100644
--- a/tools/src/main/scala/org/apache/predictionio/tools/commands/App.scala
+++ b/tools/src/main/scala/org/apache/predictionio/tools/commands/App.scala
@@ -298,7 +298,7 @@ object App extends EitherLogging {
               Right(channel.copy(id = chanId))
             } else {
               errStr = s"""Unable to create new channel.
-                          |Failed to initalize Event Store.""".stripMargin
+                          |Failed to initialize Event Store.""".stripMargin
               error(errStr)
               // reverted back the meta data
               try {


[15/29] predictionio git commit: [livedoc] Fix several minor typos detected by github.com/client9/misspell

Posted by sh...@apache.org.
[livedoc] Fix several minor typos detected by github.com/client9/misspell

Closes #457


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/54415e10
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/54415e10
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/54415e10

Branch: refs/heads/master
Commit: 54415e1066ae2d646eef62ebfdf801ace1de2097
Parents: 65b2fa4
Author: Kazuhiro Sera <se...@gmail.com>
Authored: Sat Aug 11 09:15:49 2018 +0900
Committer: Naoki Takezoe <ta...@apache.org>
Committed: Sat Aug 11 09:16:20 2018 +0900

----------------------------------------------------------------------
 docs/manual/source/deploy/index.html.md                 |  2 +-
 docs/manual/source/evaluation/metricbuild.html.md       |  4 ++--
 docs/manual/source/evaluation/metricchoose.html.md      | 12 ++++++------
 docs/manual/source/evaluation/paramtuning.html.md       |  6 +++---
 docs/manual/source/gallery/templates.yaml               |  4 ++--
 docs/manual/source/resources/faq.html.md                |  2 +-
 .../templates/complementarypurchase/dase.html.md.erb    |  6 +++---
 .../complementarypurchase/quickstart.html.md.erb        |  2 +-
 .../templates/ecommercerecommendation/dase.html.md.erb  |  2 +-
 .../ecommercerecommendation/quickstart.html.md.erb      |  2 +-
 .../source/templates/leadscoring/dase.html.md.erb       |  2 +-
 .../templates/recommendation/batch-evaluator.html.md    |  2 +-
 .../templates/recommendation/evaluation.html.md.erb     |  2 +-
 .../templates/recommendation/quickstart.html.md.erb     |  2 +-
 .../source/templates/similarproduct/dase.html.md.erb    |  2 +-
 .../similarproduct/multi-events-multi-algos.html.md.erb |  4 ++--
 docs/manual/source/tryit/index.html.slim                |  6 +++---
 17 files changed, 31 insertions(+), 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/deploy/index.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/deploy/index.html.md b/docs/manual/source/deploy/index.html.md
index b6c6964..99aceec 100644
--- a/docs/manual/source/deploy/index.html.md
+++ b/docs/manual/source/deploy/index.html.md
@@ -94,5 +94,5 @@ The down time is usually not more than a few seconds though it can be more.
 The last thing to do is to add this to your *crontab*:
 
 ```
-0 0 * * *   /path/to/script >/dev/null 2>/dev/null # mute both stdout and stderr to supress email sent from cron
+0 0 * * *   /path/to/script >/dev/null 2>/dev/null # mute both stdout and stderr to suppress email sent from cron
 ```

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/evaluation/metricbuild.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/evaluation/metricbuild.html.md b/docs/manual/source/evaluation/metricbuild.html.md
index e9f5875..7560a28 100644
--- a/docs/manual/source/evaluation/metricbuild.html.md
+++ b/docs/manual/source/evaluation/metricbuild.html.md
@@ -30,7 +30,7 @@ A simplistic form of metric is a function which takes a
 `(Query, PredictedResult, ActualResult)`-tuple (*QPA-tuple*) as input
 and return a score.
 Exploiting this properties allows us to implement custom metric with a single
-line of code (plus some boilerplates). We demonstate this with two metrics:
+line of code (plus some boilerplates). We demonstrate this with two metrics:
 accuracy and precision.
 
 <!--
@@ -101,7 +101,7 @@ Lines 3 to 4 is the method signature of `calcuate` method. The key difference
 is that the return value is a `Option[Double]`, in contrast to `Double` for
 `AverageMetric`. This class only computes the average of `Some(.)` results.
 Lines 5 to 13 are the actual logic. The first `if` factors out the
-positively predicted case, and the computation is simliar to the accuracy
+positively predicted case, and the computation is similiar to the accuracy
 metric. The negatively predicted case are the *don't cares*, which we return
 `None`.
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/evaluation/metricchoose.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/evaluation/metricchoose.html.md b/docs/manual/source/evaluation/metricchoose.html.md
index 90f478e..3cde2ec 100644
--- a/docs/manual/source/evaluation/metricchoose.html.md
+++ b/docs/manual/source/evaluation/metricchoose.html.md
@@ -22,10 +22,10 @@ limitations under the License.
 The [hyperparameter tuning module](/evaluation/paramtuning/) allows us to select
 the optimal engine parameter defined by a `Metric`.
 `Metric` determines the quality of an engine variant.
-We have skimmmed through the process of choosing the right `Metric` in previous
+We have skimmed through the process of choosing the right `Metric` in previous
 sections.
 
-This secion discusses basic evaluation metrics commonly used for
+This section discusses basic evaluation metrics commonly used for
 classification problems.
 If you are more interested in knowing how to *implement* a custom metric, please
 skip to [the next section](/evaluation/metricbuild/).
@@ -43,7 +43,7 @@ goal is to minimize the loss function.
 During tuning, it is important for us to understand the definition of the
 metric, to make sure it is aligned with the prediction engine's goal.
 
-In the classificaiton template, we use *Accuracy* as our metric.
+In the classification template, we use *Accuracy* as our metric.
 *Accuracy* is defined as:
 the percentage
 of queries which the engine is able to predict the correct label.
@@ -51,7 +51,7 @@ of queries which the engine is able to predict the correct label.
 ## Common Metrics
 
 We illustrate the choice of metric with the following confusion matrix. Row
-represents the engine predicted label, column represents the acutal label.
+represents the engine predicted label, column represents the actual label.
 The second row means that of the 200 testing data points,
 the engine predicted 60 (15 + 35 + 10) of them as label 2.0,
 among which 35 are correct prediction (i.e. actual label is 2.0, matches with
@@ -77,7 +77,7 @@ which measures the correctness among all positive labels.
 A binary classifier gives only two
 output values (i.e. positive and negative).
 For problem where there are multiple values (3 in our example),
-we first have to tranform our problem into
+we first have to transform our problem into
 a binary classification problem. For example, we can have problem whether
 label = 1.0. The confusion matrix now becomes:
 
@@ -99,7 +99,7 @@ which measures how many positive labels are successfully predicted amongst
 all positive labels.
 Formally, it is the ratio between the number of correct positive answer
 (true positive) and the sum of correct positive answer (true positive) and
-wrongly negatively labeled asnwer (false negative).
+wrongly negatively labeled answer (false negative).
 In this case, the recall is 30 / (30 + 15) = ~0.6667.
 
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/evaluation/paramtuning.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/evaluation/paramtuning.html.md b/docs/manual/source/evaluation/paramtuning.html.md
index f9d9a9e..7046bed 100644
--- a/docs/manual/source/evaluation/paramtuning.html.md
+++ b/docs/manual/source/evaluation/paramtuning.html.md
@@ -292,7 +292,7 @@ For each point in the validation set, we construct the `Query` and
 
 We define a `Metric` which gives a *score* to engine params. The higher the
 score, the better the engine params are.
-In this template, we use accuray score which measures
+In this template, we use accuracy score which measures
 the portion of correct prediction among all data points.
 
 In MyClassification/src/main/scala/**Evaluation.scala**, the class
@@ -345,7 +345,7 @@ object EngineParamsList extends EngineParamsGenerator {
 }
 ```
 
-A good practise is to first define a base engine params, it contains the common
+A good practice is to first define a base engine params, it contains the common
 parameters used in all evaluations (lines 7 to 8). With the base params, we
 construct the list of engine params we want to evaluation by
 adding or replacing the controller parameter. Lines 13 to 16 generate 3 engine
@@ -417,7 +417,7 @@ The best variant params can be found in best.json
 
 ## Notes
 
-- We deliberately not metion ***test set*** in this hyperparameter tuning guide.
+- We deliberately not mention ***test set*** in this hyperparameter tuning guide.
 In machine learning literature, the ***test set*** is a separate piece of data
 which is used to evaluate the final engine params outputted by the evaluation
 process. This guarantees that no information in the training / validation set is

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/gallery/templates.yaml
----------------------------------------------------------------------
diff --git a/docs/manual/source/gallery/templates.yaml b/docs/manual/source/gallery/templates.yaml
index d3aae5f..e936ad5 100644
--- a/docs/manual/source/gallery/templates.yaml
+++ b/docs/manual/source/gallery/templates.yaml
@@ -227,7 +227,7 @@
     name: Viewed This Bought That
     repo: "https://github.com/vngrs/template-scala-parallel-viewedthenbought"
     description: |-
-      This Engine uses co-occurence algorithm to match viewed items to bought items. Using this engine you may predict which item the user will buy, given the item(s) browsed.
+      This Engine uses co-occurrence algorithm to match viewed items to bought items. Using this engine you may predict which item the user will buy, given the item(s) browsed.
     tags: [recommender]
     type: Parallel
     language: Scala
@@ -465,7 +465,7 @@
     name: classifier-kafka-streaming-template
     repo: "https://github.com/singsanj/classifier-kafka-streaming-template"
     description: |-
-      The template will provide a simple integration of DASE with kafka using spark streaming capabilites in order to play around with real time notification, messages ..
+      The template will provide a simple integration of DASE with kafka using spark streaming capabilities in order to play around with real time notification, messages ..
     tags: [classification]
     type: Parallel
     language: Scala

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/resources/faq.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/resources/faq.html.md b/docs/manual/source/resources/faq.html.md
index 10412e3..b999f58 100644
--- a/docs/manual/source/resources/faq.html.md
+++ b/docs/manual/source/resources/faq.html.md
@@ -145,7 +145,7 @@ url, etc.) with it. You can supply these as pass-through arguments at the end of
 
 If the engine training seems stuck, it's possible that the the executor doesn't have enough memory.
 
-First, follow [instruction here]( http://spark.apache.org/docs/latest/spark-standalone.html) to start standalone Spark cluster and get the master URL. If you use the provided quick install script to install PredictionIO, the Spark is installed at `PredictionIO/vendors/spark-1.2.0/` where you could run the Spark commands in `sbin/` as described in the Spark documentation. Then use following train commmand to specify executor memory (default is only 512 MB) and driver memory.
+First, follow [instruction here]( http://spark.apache.org/docs/latest/spark-standalone.html) to start standalone Spark cluster and get the master URL. If you use the provided quick install script to install PredictionIO, the Spark is installed at `PredictionIO/vendors/spark-1.2.0/` where you could run the Spark commands in `sbin/` as described in the Spark documentation. Then use following train command to specify executor memory (default is only 512 MB) and driver memory.
 
 For example, the follow command set the Spark master to `spark://localhost:7077`
 (the default url of standalone cluster), set the driver memory to 16G and set the executor memory to 24G for `pio train`.

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/templates/complementarypurchase/dase.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/complementarypurchase/dase.html.md.erb b/docs/manual/source/templates/complementarypurchase/dase.html.md.erb
index 7fc8522..75a9193 100644
--- a/docs/manual/source/templates/complementarypurchase/dase.html.md.erb
+++ b/docs/manual/source/templates/complementarypurchase/dase.html.md.erb
@@ -239,13 +239,13 @@ Parameter description:
 
 - **basketWindow**: The buy event is considered as the same basket as previous one if the time difference is within this window (in unit of seconds). For example, if it's set to 120, it means that if the user buys item B within 2 minutes of previous purchase (item A), then the item set [A, B] is considered as the same basket. The purchase of this *basket* is referred as one *transaction*.
 - **maxRuleLength**: The maximum length of the association rule length. Must be at least 2. For example, rule of "A implies B" has length of 2 while rule "A, B implies C" has a length of 3. Increasing this number will incrase the training time significantly because more combinations are considered.
-- **minSupport**: The minimum required *support* for the item set to be considered as rule (valid range is 0 to 1). It's the percentage of the item set appearing among all transcations. This is used to filter out infrequent item set. For example, setting to 0.1 means that the item set must appear in 10 % of all transactions.
+- **minSupport**: The minimum required *support* for the item set to be considered as rule (valid range is 0 to 1). It's the percentage of the item set appearing among all transactions. This is used to filter out infrequent item set. For example, setting to 0.1 means that the item set must appear in 10 % of all transactions.
 - **minConfidence**: The minimum *confidence* required for the rules (valid range is 0 to 1). The confidence indicates the probability of the condition and conseuquence appear in the same transaction. For example, if A appears in 30 transactions and the item set [A, B] appears in 20 transactions, then the rule "A implies B" has confidence of 0.66.
 - **minLift**: The minimum *lift* required for the rule. It should be set to 1 to find high quality rule. It's the confidence of the rule divided by the support of the consequence. It is used to filter out rules that the consequence is very frequent anyway regardless of the condition.
 - **minBasketSize**: The minimum number of items in basket to be considered by algorithm. This value must be at least 2.
 - **maxNumRulesPerCond**: Maximum number of rules generated per condition and stored in the model. By default, the top rules are sorted by *lift* score.
 
-INFO: If you import your own data and the engine doesn't return any results, it could be caused by the following reasons: (1) the algorithm parameter constraint is too high and the algo couldn't find rules that satisfy the condition. you could try setting the following param to 0: **minSupport**, **minConfidence**, **minLift** and then see if anything returned (regardless of recommendation quality), and then adjust the parameter accordingly. (2) the complementary purchase engine requires buy event with correct eventTime. If you import data without specifying eventTime, the SDK will use current time because it assumes the event happens in real time (which is not the case if you import as batch offline), resulting in that all buy events are treated as one big transcation while they should be treated as multiple transcations.
+INFO: If you import your own data and the engine doesn't return any results, it could be caused by the following reasons: (1) the algorithm parameter constraint is too high and the algo couldn't find rules that satisfy the condition. you could try setting the following param to 0: **minSupport**, **minConfidence**, **minLift** and then see if anything returned (regardless of recommendation quality), and then adjust the parameter accordingly. (2) the complementary purchase engine requires buy event with correct eventTime. If you import data without specifying eventTime, the SDK will use current time because it assumes the event happens in real time (which is not the case if you import as batch offline), resulting in that all buy events are treated as one big transaction while they should be treated as multiple transactions.
 
 
 The values of these parameters can be specified in *algorithms* of
@@ -283,7 +283,7 @@ class Algorithm(val ap: AlgorithmParams)
 
 ### train(...)
 
-`train` is called when you run **pio train** to train a predictive model. The algorithm first find all basket transcations, generates and filters the association rules based on the algorithm parameters:
+`train` is called when you run **pio train** to train a predictive model. The algorithm first find all basket transactions, generates and filters the association rules based on the algorithm parameters:
 
 ```scala
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/templates/complementarypurchase/quickstart.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/complementarypurchase/quickstart.html.md.erb b/docs/manual/source/templates/complementarypurchase/quickstart.html.md.erb
index 720f9b8..09a4e15 100644
--- a/docs/manual/source/templates/complementarypurchase/quickstart.html.md.erb
+++ b/docs/manual/source/templates/complementarypurchase/quickstart.html.md.erb
@@ -244,7 +244,7 @@ User u10 buys item s2i1 at 2014-10-19 15:43:15.618000-07:53
 
 ## 6. Use the Engine
 
-Now, You can query the engine. For example, return top 3 items which are frequently bought with item "s2i1". You can sending this JSON '{ "items" : ["s2i1"], "num" : 3 }' to the deployed engine. The engine will return a JSON with the recommeded items.
+Now, You can query the engine. For example, return top 3 items which are frequently bought with item "s2i1". You can sending this JSON '{ "items" : ["s2i1"], "num" : 3 }' to the deployed engine. The engine will return a JSON with the recommended items.
 
 If you include one or more items in the query, the engine will use each combination of the query items as condition, and return recommended items if there is any for this condition. For example, if you query items are ["A", "B"], then the engine will use ["A"], ["B"], and ["A", "B"] as condition and try to find top n recommended items for each combination.
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/templates/ecommercerecommendation/dase.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/ecommercerecommendation/dase.html.md.erb b/docs/manual/source/templates/ecommercerecommendation/dase.html.md.erb
index d59435a..baa0017 100644
--- a/docs/manual/source/templates/ecommercerecommendation/dase.html.md.erb
+++ b/docs/manual/source/templates/ecommercerecommendation/dase.html.md.erb
@@ -375,7 +375,7 @@ Parameter description:
 ### train(...)
 
 `train` is called when you run **pio train**. This is where MLlib ALS algorithm,
-i.e. `ALS.trainImplicit()`, is used to train a predictive model. In addition, we also count the number of items being bought for each item as default model which will be used when there is no ALS model avaiable or other useful information about the user is avaiable during `predict`.
+i.e. `ALS.trainImplicit()`, is used to train a predictive model. In addition, we also count the number of items being bought for each item as default model which will be used when there is no ALS model available or other useful information about the user is available during `predict`.
 
 ```scala
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb b/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb
index 4fe3955..2f2670c 100644
--- a/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb
+++ b/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb
@@ -548,7 +548,7 @@ The following is sample JSON response:
 
 Now let's send a item contraint "unavailableItems" (replace accessKey with your Access Key):
 
-NOTE: You can also use SDK to send this event as decribed in the SDK sample above.
+NOTE: You can also use SDK to send this event as described in the SDK sample above.
 
 <div class="tabs">
   <div data-tab="REST API" data-lang="json">

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/templates/leadscoring/dase.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/leadscoring/dase.html.md.erb b/docs/manual/source/templates/leadscoring/dase.html.md.erb
index e8abda2..6cee64c 100644
--- a/docs/manual/source/templates/leadscoring/dase.html.md.erb
+++ b/docs/manual/source/templates/leadscoring/dase.html.md.erb
@@ -441,7 +441,7 @@ http://localhost:8000/queries.json. PredictionIO converts the query, such as '{
 The `predict()` function does the following:
 
 1. convert the Query to the required feature vector input
-2. use the `RandomForestModel` to predict the probabilty of conversion given this feature.
+2. use the `RandomForestModel` to predict the probability of conversion given this feature.
 
 ```scala
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/templates/recommendation/batch-evaluator.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/recommendation/batch-evaluator.html.md b/docs/manual/source/templates/recommendation/batch-evaluator.html.md
index 4e872bc..d5eb8b2 100644
--- a/docs/manual/source/templates/recommendation/batch-evaluator.html.md
+++ b/docs/manual/source/templates/recommendation/batch-evaluator.html.md
@@ -70,7 +70,7 @@ NOTE: Alternatively, you can create a new DataSource extending original DataSour
 
 ## 2. Add a new Evaluator
 
-Create a new file `BatchPersistableEvaluator.scala`. Unlike the `MetricEvaluator`, this Evaluator simply writes the Query and correpsonding PredictedResult to the output directory without performaning any metrics calculation.
+Create a new file `BatchPersistableEvaluator.scala`. Unlike the `MetricEvaluator`, this Evaluator simply writes the Query and corresponding PredictedResult to the output directory without performing any metrics calculation.
 
 Note that output directory is specified by the variable `outputDir`.
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/templates/recommendation/evaluation.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/recommendation/evaluation.html.md.erb b/docs/manual/source/templates/recommendation/evaluation.html.md.erb
index 564c83c..fc4ca43 100644
--- a/docs/manual/source/templates/recommendation/evaluation.html.md.erb
+++ b/docs/manual/source/templates/recommendation/evaluation.html.md.erb
@@ -151,7 +151,7 @@ event is mapped to a rating of 4. When we
 implement the metric, we have to specify a rating threshold, only the rating
 above the threshold is considered 'good'.
 
-- The absense of complete rating. It is extremely unlikely that the training
+- The absence of complete rating. It is extremely unlikely that the training
 data contains rating for all user-item tuples. In contrast, of a system containing
 1000 items, a user may only have rated 20 of them, leaving 980 items unrated. There
 is no way for us to certainly tell if the user likes an unrated product.

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/templates/recommendation/quickstart.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/recommendation/quickstart.html.md.erb b/docs/manual/source/templates/recommendation/quickstart.html.md.erb
index 164095e..b5dae35 100644
--- a/docs/manual/source/templates/recommendation/quickstart.html.md.erb
+++ b/docs/manual/source/templates/recommendation/quickstart.html.md.erb
@@ -42,7 +42,7 @@ NOTE: You can customize to use other event.
 ### Input Query
 
 - user ID
-- num of recomended items
+- num of recommended items
 
 ### Output PredictedResult
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/templates/similarproduct/dase.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/similarproduct/dase.html.md.erb b/docs/manual/source/templates/similarproduct/dase.html.md.erb
index d9dd677..030ee75 100644
--- a/docs/manual/source/templates/similarproduct/dase.html.md.erb
+++ b/docs/manual/source/templates/similarproduct/dase.html.md.erb
@@ -454,7 +454,7 @@ case class ALSAlgorithmParams(
 
 The `seed` parameter is an optional parameter, which is used by MLlib ALS algorithm internally to generate random values. If the `seed` is not specified, current system time would be used and hence each train may produce different reuslts. Specify a fixed value for the `seed` if you want to have deterministic result (For example, when you are testing).
 
-`ALS.trainImplicit()` then returns a `MatrixFactorizationModel` model which contains two RDDs: userFeatures and productFeatures. They correspond to the user X latent features matrix and item X latent features matrix, respectively. In this case, we will make use of the productFeatures matrix to find simliar products by comparing the similarity of the latent features. Hence, we store this productFeatures as defined in `ALSModel` class:
+`ALS.trainImplicit()` then returns a `MatrixFactorizationModel` model which contains two RDDs: userFeatures and productFeatures. They correspond to the user X latent features matrix and item X latent features matrix, respectively. In this case, we will make use of the productFeatures matrix to find similar products by comparing the similarity of the latent features. Hence, we store this productFeatures as defined in `ALSModel` class:
 
 ```scala
 class ALSModel(

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/templates/similarproduct/multi-events-multi-algos.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/similarproduct/multi-events-multi-algos.html.md.erb b/docs/manual/source/templates/similarproduct/multi-events-multi-algos.html.md.erb
index d8f2d4b..1e21b49 100644
--- a/docs/manual/source/templates/similarproduct/multi-events-multi-algos.html.md.erb
+++ b/docs/manual/source/templates/similarproduct/multi-events-multi-algos.html.md.erb
@@ -25,7 +25,7 @@ The [default algorithm described in DASE](dase.html#algorithm) uses user-to-item
 
 In this example, we will add another algorithm to process like/dislike events. The final PredictedResults will be the combined outputs of both algorithms.
 
-NOTE: This is just one of the ways to handle mutliple types of events. We use this use case to demonstrate how one can build an engine with multiple algorithms. You may also build one single algorithm which takes different events into account without using multiple algorithms.
+NOTE: This is just one of the ways to handle multiple types of events. We use this use case to demonstrate how one can build an engine with multiple algorithms. You may also build one single algorithm which takes different events into account without using multiple algorithms.
 
 This example will demonstrate the following:
 
@@ -397,7 +397,7 @@ Next, in order to train and deploy two algorithms for this engine, we also need
 
 ```
 
-INFO: You may notice that the parameters of the new `"likealgo"` contains the same fields as `"als"`. It is just becasuse the `LikeAlgorithm` class extends the original `ALSAlgorithm` class and shares the same algorithm parameter class defintion. If the other algorithm you add has its own parameter class, you just need to specify them inside its `params` field accordingly.
+INFO: You may notice that the parameters of the new `"likealgo"` contains the same fields as `"als"`. It is just becasuse the `LikeAlgorithm` class extends the original `ALSAlgorithm` class and shares the same algorithm parameter class definition. If the other algorithm you add has its own parameter class, you just need to specify them inside its `params` field accordingly.
 
 That's it! Now you have a engine configured with two algorithms.
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/54415e10/docs/manual/source/tryit/index.html.slim
----------------------------------------------------------------------
diff --git a/docs/manual/source/tryit/index.html.slim b/docs/manual/source/tryit/index.html.slim
index ccadcf0..a9bae7a 100644
--- a/docs/manual/source/tryit/index.html.slim
+++ b/docs/manual/source/tryit/index.html.slim
@@ -20,12 +20,12 @@ title: Try PredictionIO
 
           li
             h2 Start
-            p Start PredictionIO and it's dependancies with:
+            p Start PredictionIO and it's dependencies with:
             p <code>$ pio-start-all</code>
             h2 Check Status
             p At any time you can run:
             p <code>$ pio status</code>
-            p Which checks the status of PredictionIO and it's dependancies.
+            p Which checks the status of PredictionIO and it's dependencies.
 
           li
             h2 Build
@@ -49,7 +49,7 @@ title: Try PredictionIO
             h2 Querying Results
             p You can query results using cURL with after you see "Ready to serve":
             p <code>$ curl -H "Content-Type: application/json" -d '{ "items": ["296"], "num": 5 }' http://localhost:8000/queries.json</code>
-            p This will return 5 recomended movies for movie 296 (Pulp Fiction).
+            p This will return 5 recommended movies for movie 296 (Pulp Fiction).
 
           li
             h2 Next Steps


[07/29] predictionio git commit: Merge remote-tracking branch 'origin/release/0.12.1' into livedoc

Posted by sh...@apache.org.
Merge remote-tracking branch 'origin/release/0.12.1' into livedoc


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/439b87e0
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/439b87e0
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/439b87e0

Branch: refs/heads/master
Commit: 439b87e07a59021839ea3fe2cd40f98fb8d4cc5f
Parents: 06de8af 20a1c37
Author: Chan Lee <ch...@gmail.com>
Authored: Tue Mar 13 17:10:32 2018 -0700
Committer: Chan Lee <ch...@gmail.com>
Committed: Tue Mar 13 17:10:32 2018 -0700

----------------------------------------------------------------------
 .travis.yml                                     |  24 +++++
 LICENSE.txt                                     |   3 +-
 PMC.md                                          | 108 +++++++++++++------
 README.md                                       |   2 +-
 RELEASE.md                                      |  45 +++++++-
 bin/install.sh                                  |  11 +-
 build.sbt                                       |  14 ++-
 data/build.sbt                                  |   1 +
 doap.rdf                                        |  49 +++++++++
 docs/manual/Gemfile.lock                        |   8 +-
 docs/manual/data/versions.yml                   |   2 +-
 docs/manual/helpers/application_helpers.rb      |   2 +-
 .../source/community/contribute-code.html.md    |   4 +-
 .../community/contribute-documentation.html.md  |   6 +-
 .../source/community/contribute-sdk.html.md     |   4 +-
 .../source/community/contribute-webhook.html.md |  12 +--
 docs/manual/source/community/index.html.md      |   6 +-
 docs/manual/source/community/projects.html.md   |   4 +-
 .../analytics-tableau.html.md.erb               |   2 +-
 .../analytics-zeppelin.html.md.erb              |   2 +-
 .../source/datacollection/channel.html.md.erb   |   4 +-
 .../source/datacollection/eventapi.html.md      |   4 +-
 .../manual/source/datacollection/plugin.html.md |   2 +-
 docs/manual/source/demo/community.html.md       |   2 +-
 docs/manual/source/demo/tapster.html.md         |  20 ++--
 .../source/demo/textclassification.html.md.erb  |  10 +-
 docs/manual/source/deploy/index.html.md         |   2 +-
 docs/manual/source/deploy/plugin.html.md        |   2 +-
 docs/manual/source/gallery/templates.yaml       |  16 +--
 docs/manual/source/index.html.md.erb            |   2 +-
 .../source/install/install-linux.html.md.erb    |   4 +-
 .../install/install-sourcecode.html.md.erb      |  27 ++++-
 .../dimensionalityreduction.html.md             |   2 +-
 docs/manual/source/partials/_footer.html.slim   |   8 +-
 docs/manual/source/partials/_header.html.slim   |   2 +-
 docs/manual/source/resources/upgrade.html.md    |   2 +-
 docs/manual/source/support/index.html.md.erb    |   2 +-
 .../source/system/anotherdatastore.html.md      |  45 +++++++-
 .../classification/add-algorithm.html.md        |   2 +-
 .../classification/quickstart.html.md.erb       |   2 +-
 .../reading-custom-properties.html.md           |   2 +-
 .../adjust-score.html.md.erb                    |   2 +-
 .../quickstart.html.md.erb                      |   2 +-
 .../train-with-rate-event.html.md.erb           |   2 +-
 .../quickstart.html.md.erb                      |   2 +-
 .../recommendation/blacklist-items.html.md      |   2 +-
 .../recommendation/customize-data-prep.html.md  |   2 +-
 .../recommendation/customize-serving.html.md    |   2 +-
 .../recommendation/quickstart.html.md.erb       |   2 +-
 .../reading-custom-events.html.md               |   2 +-
 .../training-with-implicit-preference.html.md   |   2 +-
 .../multi-events-multi-algos.html.md.erb        |   2 +-
 .../similarproduct/quickstart.html.md.erb       |   2 +-
 .../similarproduct/recommended-user.html.md.erb |   2 +-
 .../return-item-properties.html.md.erb          |   2 +-
 .../rid-user-set-event.html.md.erb              |   2 +-
 .../train-with-rate-event.html.md.erb           |   2 +-
 .../templates/vanilla/quickstart.html.md.erb    |   2 +-
 .../add-algorithm/build.sbt                     |   2 +-
 .../reading-custom-properties/build.sbt         |   2 +-
 .../adjust-score/build.sbt                      |   2 +-
 .../train-with-rate-event/build.sbt             |   2 +-
 .../blacklist-items/build.sbt                   |   2 +-
 .../customize-data-prep/build.sbt               |   2 +-
 .../customize-serving/build.sbt                 |   2 +-
 .../reading-custom-events/build.sbt             |   2 +-
 .../train-with-view-event/build.sbt             |   2 +-
 .../multi-events-multi-algos/build.sbt          |   2 +-
 .../recommended-user/build.sbt                  |   2 +-
 .../return-item-properties/build.sbt            |   2 +-
 .../rid-user-set-event/build.sbt                |   2 +-
 .../train-with-rate-event/build.sbt             |   2 +-
 python/pypio/shell.py                           |   2 +
 python/pypio/workflow/__init__.py               |  25 +++++
 python/pypio/workflow/cleanup_functions.py      |  32 ++++++
 storage/jdbc/build.sbt                          |   2 +-
 .../data/storage/jdbc/JDBCPEvents.scala         |  18 ++--
 tests/README.md                                 |   2 +-
 tests/docker-files/env-conf/hbase-site.xml      |   5 +
 .../engines/recommendation-engine/build.sbt     |   8 +-
 80 files changed, 454 insertions(+), 173 deletions(-)
----------------------------------------------------------------------



[10/29] predictionio git commit: Revert "Add Heroku Buildpack to community-contributed packages for installation"

Posted by sh...@apache.org.
Revert "Add Heroku Buildpack to community-contributed packages for installation"

This reverts commit 0acaa004debb0835880304fe2f173132a74f1498.


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/c11eba8d
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/c11eba8d
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/c11eba8d

Branch: refs/heads/master
Commit: c11eba8d8d815eb166a63f850818b95aaa2cd7cf
Parents: 66c0acf
Author: Mars Hall <ma...@heroku.com>
Authored: Wed Mar 28 16:46:51 2018 -0700
Committer: Mars Hall <ma...@heroku.com>
Committed: Wed Mar 28 16:46:51 2018 -0700

----------------------------------------------------------------------
 docs/manual/source/install/index.html.md.erb | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/c11eba8d/docs/manual/source/install/index.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/install/index.html.md.erb b/docs/manual/source/install/index.html.md.erb
index 92259be..167d3bf 100644
--- a/docs/manual/source/install/index.html.md.erb
+++ b/docs/manual/source/install/index.html.md.erb
@@ -60,7 +60,6 @@ Apache PredictionIO®:
 
 * [Installing Apache PredictionIO with
   Docker](/community/projects.html#docker-installation-for-predictionio)
-* [Heroku Buildpack](https://github.com/heroku/predictionio-buildpack) for [local development](https://github.com/heroku/predictionio-buildpack/blob/master/DEV.md) and [deployment](https://github.com/heroku/predictionio-buildpack/blob/master/CUSTOM.md)
 
 
 [//]: # (* *(coming soon)* Installing Apache PredictionIO with Homebrew)


[24/29] predictionio git commit: [PIO-160] Fix JDBCUtils.stringToMap()

Posted by sh...@apache.org.
[PIO-160] Fix JDBCUtils.stringToMap()

Closes #463


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/18fa9b7a
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/18fa9b7a
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/18fa9b7a

Branch: refs/heads/master
Commit: 18fa9b7af1c968a60b5a78e532a4499726cccfca
Parents: eac83c5
Author: Donald Szeto <ds...@salesforce.com>
Authored: Mon Sep 10 20:35:18 2018 +0900
Committer: Naoki Takezoe <ta...@apache.org>
Committed: Mon Sep 10 20:36:37 2018 +0900

----------------------------------------------------------------------
 .../data/storage/jdbc/JDBCUtils.scala           | 12 +++--
 .../data/storage/jdbc/JDBCUtilsSpec.scala       | 50 ++++++++++++++++++++
 2 files changed, 58 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/18fa9b7a/storage/jdbc/src/main/scala/org/apache/predictionio/data/storage/jdbc/JDBCUtils.scala
----------------------------------------------------------------------
diff --git a/storage/jdbc/src/main/scala/org/apache/predictionio/data/storage/jdbc/JDBCUtils.scala b/storage/jdbc/src/main/scala/org/apache/predictionio/data/storage/jdbc/JDBCUtils.scala
index 3eb55ba..98fa257 100644
--- a/storage/jdbc/src/main/scala/org/apache/predictionio/data/storage/jdbc/JDBCUtils.scala
+++ b/storage/jdbc/src/main/scala/org/apache/predictionio/data/storage/jdbc/JDBCUtils.scala
@@ -76,10 +76,14 @@ object JDBCUtils {
     * @return Map of String to String, e.g. Map("FOO" -> "BAR", "X" -> "Y", ...)
     */
   def stringToMap(str: String): Map[String, String] = {
-    str.split(",").map { x =>
-      val y = x.split("=")
-      y(0) -> y(1)
-    }.toMap[String, String]
+    if (str.isEmpty) {
+      Map.empty[String, String]
+    } else {
+      str.split(",").map { x =>
+        val y = x.split("=")
+        y(0) -> y(1)
+      }.toMap[String, String]
+    }
   }
 
   /** Generate 32-character random ID using UUID with - stripped */

http://git-wip-us.apache.org/repos/asf/predictionio/blob/18fa9b7a/storage/jdbc/src/test/scala/org/apache/predictionio/data/storage/jdbc/JDBCUtilsSpec.scala
----------------------------------------------------------------------
diff --git a/storage/jdbc/src/test/scala/org/apache/predictionio/data/storage/jdbc/JDBCUtilsSpec.scala b/storage/jdbc/src/test/scala/org/apache/predictionio/data/storage/jdbc/JDBCUtilsSpec.scala
new file mode 100644
index 0000000..2282643
--- /dev/null
+++ b/storage/jdbc/src/test/scala/org/apache/predictionio/data/storage/jdbc/JDBCUtilsSpec.scala
@@ -0,0 +1,50 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *    http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.predictionio.data.storage.jdbc
+
+import org.specs2.Specification
+
+class JDBCUtilsSpec extends Specification {
+  def is = s2"""
+
+  PredictionIO JDBC Utilities Specification
+
+  driverType should extract the correct portion from a JDBC URL ${driverType}
+  mapToString should return an empty string with empty map input ${mapToStringEmptyInput}
+  stringToMap should correctly create mapping ${stringToMap}
+  stringToMap should return an empty map with empty string input ${stringToMapEmptyInput}
+
+  """
+
+  def driverType = {
+    JDBCUtils.driverType("jdbc:postgresql://remotehost:5432/somedbname") must beEqualTo("postgresql")
+  }
+
+  def mapToStringEmptyInput = {
+    JDBCUtils.mapToString(Map.empty[String, String]) must be empty
+  }
+
+  def stringToMap = {
+    val m = JDBCUtils.stringToMap("FOO=BAR,DEAD=BEEF")
+    m must havePairs("FOO" -> "BAR", "DEAD" -> "BEEF")
+  }
+
+  def stringToMapEmptyInput = {
+    JDBCUtils.stringToMap("") must be empty
+  }
+}


[19/29] predictionio git commit: [PIO-159] Update IntelliJ documentation

Posted by sh...@apache.org.
[PIO-159] Update IntelliJ documentation


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/1c8ea8af
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/1c8ea8af
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/1c8ea8af

Branch: refs/heads/master
Commit: 1c8ea8afecfcd56cc29c18f81c0a4d28bd29e05c
Parents: fc481c9
Author: Donald Szeto <do...@apache.org>
Authored: Sun Aug 26 17:30:02 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Sun Aug 26 17:30:02 2018 -0700

----------------------------------------------------------------------
 .../images/intellij/intelliJ-scala-plugin.png   | Bin 89212 -> 187820 bytes
 .../images/intellij/intellij-config-2.png       | Bin 259619 -> 0 bytes
 .../images/intellij/intellij-dependencies.png   | Bin 238042 -> 0 bytes
 .../intellij/intellij-module-settings.png       | Bin 0 -> 471191 bytes
 .../images/intellij/intellij-scala-plugin-2.png | Bin 128386 -> 244855 bytes
 .../images/intellij/pio-runtime-jar-deps.png    | Bin 258163 -> 0 bytes
 .../source/images/intellij/pio-runtime-jars.png | Bin 650385 -> 0 bytes
 .../images/intellij/pio-train-env-vars.png      | Bin 0 -> 212997 bytes
 .../manual/source/images/intellij/pio-train.png | Bin 0 -> 274725 bytes
 .../source/resources/intellij.html.md.erb       | 218 +++++++++++--------
 10 files changed, 122 insertions(+), 96 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/1c8ea8af/docs/manual/source/images/intellij/intelliJ-scala-plugin.png
----------------------------------------------------------------------
diff --git a/docs/manual/source/images/intellij/intelliJ-scala-plugin.png b/docs/manual/source/images/intellij/intelliJ-scala-plugin.png
index 8725257..7de0023 100644
Binary files a/docs/manual/source/images/intellij/intelliJ-scala-plugin.png and b/docs/manual/source/images/intellij/intelliJ-scala-plugin.png differ

http://git-wip-us.apache.org/repos/asf/predictionio/blob/1c8ea8af/docs/manual/source/images/intellij/intellij-config-2.png
----------------------------------------------------------------------
diff --git a/docs/manual/source/images/intellij/intellij-config-2.png b/docs/manual/source/images/intellij/intellij-config-2.png
deleted file mode 100644
index 5d84ee8..0000000
Binary files a/docs/manual/source/images/intellij/intellij-config-2.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/predictionio/blob/1c8ea8af/docs/manual/source/images/intellij/intellij-dependencies.png
----------------------------------------------------------------------
diff --git a/docs/manual/source/images/intellij/intellij-dependencies.png b/docs/manual/source/images/intellij/intellij-dependencies.png
deleted file mode 100644
index ff6ec0c..0000000
Binary files a/docs/manual/source/images/intellij/intellij-dependencies.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/predictionio/blob/1c8ea8af/docs/manual/source/images/intellij/intellij-module-settings.png
----------------------------------------------------------------------
diff --git a/docs/manual/source/images/intellij/intellij-module-settings.png b/docs/manual/source/images/intellij/intellij-module-settings.png
new file mode 100644
index 0000000..63c3234
Binary files /dev/null and b/docs/manual/source/images/intellij/intellij-module-settings.png differ

http://git-wip-us.apache.org/repos/asf/predictionio/blob/1c8ea8af/docs/manual/source/images/intellij/intellij-scala-plugin-2.png
----------------------------------------------------------------------
diff --git a/docs/manual/source/images/intellij/intellij-scala-plugin-2.png b/docs/manual/source/images/intellij/intellij-scala-plugin-2.png
index 76066ce..d121255 100644
Binary files a/docs/manual/source/images/intellij/intellij-scala-plugin-2.png and b/docs/manual/source/images/intellij/intellij-scala-plugin-2.png differ

http://git-wip-us.apache.org/repos/asf/predictionio/blob/1c8ea8af/docs/manual/source/images/intellij/pio-runtime-jar-deps.png
----------------------------------------------------------------------
diff --git a/docs/manual/source/images/intellij/pio-runtime-jar-deps.png b/docs/manual/source/images/intellij/pio-runtime-jar-deps.png
deleted file mode 100644
index 84410ed..0000000
Binary files a/docs/manual/source/images/intellij/pio-runtime-jar-deps.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/predictionio/blob/1c8ea8af/docs/manual/source/images/intellij/pio-runtime-jars.png
----------------------------------------------------------------------
diff --git a/docs/manual/source/images/intellij/pio-runtime-jars.png b/docs/manual/source/images/intellij/pio-runtime-jars.png
deleted file mode 100644
index 587bf04..0000000
Binary files a/docs/manual/source/images/intellij/pio-runtime-jars.png and /dev/null differ

http://git-wip-us.apache.org/repos/asf/predictionio/blob/1c8ea8af/docs/manual/source/images/intellij/pio-train-env-vars.png
----------------------------------------------------------------------
diff --git a/docs/manual/source/images/intellij/pio-train-env-vars.png b/docs/manual/source/images/intellij/pio-train-env-vars.png
new file mode 100644
index 0000000..5c9675b
Binary files /dev/null and b/docs/manual/source/images/intellij/pio-train-env-vars.png differ

http://git-wip-us.apache.org/repos/asf/predictionio/blob/1c8ea8af/docs/manual/source/images/intellij/pio-train.png
----------------------------------------------------------------------
diff --git a/docs/manual/source/images/intellij/pio-train.png b/docs/manual/source/images/intellij/pio-train.png
new file mode 100644
index 0000000..d5c4647
Binary files /dev/null and b/docs/manual/source/images/intellij/pio-train.png differ

http://git-wip-us.apache.org/repos/asf/predictionio/blob/1c8ea8af/docs/manual/source/resources/intellij.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/resources/intellij.html.md.erb b/docs/manual/source/resources/intellij.html.md.erb
index 137f0fb..aa10743 100644
--- a/docs/manual/source/resources/intellij.html.md.erb
+++ b/docs/manual/source/resources/intellij.html.md.erb
@@ -25,6 +25,9 @@ This documentation assumes that you have a fully functional PredictionIO setup.
 If you have not installed PredictionIO yet, please follow [these
 instructions](/install/).
 
+The following instructions have been tested with IntelliJ IDEA 2018.2.2
+Community Edition.
+
 
 ## Preparing IntelliJ for Engine Development
 
@@ -51,29 +54,28 @@ IDEA if asked to do so.
 
 ### Setting Up the Engine Directory
 
-INFO: It is very important to run at least `pio build` once in your engine
-directory so that the project correctly recognizes the version of PredictionIO
-that you are using. If you upgraded your PredictionIO installation later, you
-will need to run `pio build` again in order for the engine to pick up the latest
-version of PredictionIO.
-
-Create an engine directory from a template. This requires that you install a
+Create an engine directory from a template. This requires that you download a
 template that you wish to start from or modify.
-Follow template [install](/start/download) and [deploy](/start/deploy) instructions
-or go through the [Quick Start](/templates/recommendation/quickstart/) if you are
-planning to modify a recommender. Make sure to build, train, and deploy the
-engine to make sure all is configured properly.
+
+Follow template [install](/start/download) and [deploy](/start/deploy)
+instructions or go through the [Quick
+Start](/templates/recommendation/quickstart/) if you are planning to modify a
+recommender. Make sure to build, train, and deploy the engine to make sure all
+is configured properly.
 
 From IntelliJ IDEA, choose *File* > *New* > *Project from Existing Sources...*.
-When asked to select a directory to import, browse to the engine directory that you
-downloaded too and proceed. Make sure you pick *Import project from external model* > *SBT*,
-then proceed to finish.
+When asked to select a directory to import, browse to the engine directory that
+you downloaded too and proceed. Make sure you pick *Import project from external
+model* > *SBT*, then proceed to finish.
 
-You should be able to build the project at this point. To run and debug
-PredictionIO server, continue on to the rest of the steps.
+You should be able to build the project at this point. To run and debug your
+template, continue on to the rest of the steps.
 
-INFO: If you are running on OS X, you will need to do the following due to
-this [known issue](http://bit.ly/12Abtvn).
+
+### Optional: Issues with Snappy on macOS
+
+If you are running on macOS and run into the following [known
+issue](http://bit.ly/12Abtvn), follow steps in this section.
 
 Edit `build.sbt` and add the following under `libraryDependencies`
 
@@ -83,35 +85,71 @@ Edit `build.sbt` and add the following under `libraryDependencies`
 
 ![Updating build.sbt](/images/intellij/intellij-buildsbt.png)
 
-When you are done editing, IntelliJ should either refresh the project
-automatically or prompt you to refresh.
+When you are done editing, IntelliJ should prompt you to import new changes,
+unless you have already enabled auto import. Import this change to make it
+effective.
+
+
+### Module Settings
+
+INFO: IntelliJ will recreate module settings whenever it imports changes of your
+project. You will need to repeat this section whenever that happens.
+
+Due to the way how `pio` command sources required classes during runtime, it is
+necessary to add them manually in module settings for *Run/Debug Configurations*
+to work properly.
+
+Right click on the project and click *Open Module Settings*. Hit the **+**
+button right below the list of dependencies, and select *JARs or
+directories...*.
+
+The first JAR that you need to add is the `pio-assembly-<%= data.versions.pio
+%>.jar` that contains all necessary classes. It can be found inside the
+`dist/lib` directory of your PredictionIO source installation directory (if you
+have built from sources) or the `lib` directory of your PredictionIO binary
+installation directory.
 
+Next, you will need to make sure some configuration files from your PredictionIO
+installation can be found during runtime. Add the `conf` directory of your
+PredictionIO installation directory. When asked about categories of the
+directory, pick *Classes*.
 
-### Dependencies
+Finally, you will need to add storage classes. The exact list of JARs that you
+will need to add depends on your storage configuration. These JARs can be found
+inside the `dist/lib/spark` directory of your PredictionIO source installation
+directory (if you have built from sources) or the `lib/spark` directory of your
+PredictionIO binary installation directory.
 
-IntelliJ has the annoying tendency to drop some dependencies when you refresh your build.sbt after any changes.
-To avoid this we put any jars that must be available at runtime into a separate empty module in the project then
-we make the main engine project depend on this dummy module for runtime classes.
+*   `pio-data-elasticsearch-assembly-<%= data.versions.pio %>.jar`
 
-Right click on the project and click *Open Module Settings*. In the second modules column hit **+** and create a
-new Scala module. Name it pio-runtime-jars and add these assemblies under the module dependencies tab and remember to
-change the scope of the jars to **runtime**:
+    Add this JAR if your configuration uses Elasticsearch.
 
--   `pio-assembly-<%= data.versions.pio %>.jar`
+*   `pio-data-hbase-assembly-<%= data.versions.pio %>.jar`
 
-    This JAR can be found inside the `assembly` or `lib` directory of your PredictionIO
-    installation directory.
+    Add this JAR if your configuration uses Apache HBase.
 
--   `spark-assembly-<%= data.versions.spark %>-hadoop2.4.0.jar`
+*   `pio-data-hdfs-assembly-<%= data.versions.pio %>.jar`
 
-    This JAR can be found inside the `assembly` or `lib` directory of your Apache Spark
-    installation directory.
+    Add this JAR if your configuration uses HDFS.
 
-![Create empty module and add dependencies](/images/intellij/pio-runtime-jar-deps.png)
+*   `pio-data-jdbc-assembly-<%= data.versions.pio %>.jar`
 
-Now make your engine module dependent on the pio-runtime-jars module for scope = runtime.
+    Add this JAR if your configuration uses JDBC. Notice that you must also add any
+    additional JDBC driver JARs.
 
-![Create empty module and add dependencies](/images/intellij/pio-runtime-jars.png)
+*   `pio-data-localfs-assembly-<%= data.versions.pio %>.jar`
+
+    Add this JAR if your configuration uses local filesystem.
+
+*   `pio-data-s3-assembly-<%= data.versions.pio %>.jar`
+
+    Add this JAR if your configuration uses Amazon Web Services S3.
+
+Make sure to change all these additions to *Runtime* scope. The following shows
+an example that uses the JDBC storage backend with PostgreSQL driver.
+
+![Example module settings for a JDBC and PostgreSQL
+configuration](/images/intellij/intellij-module-settings.png)
 
 
 ## Running and Debugging in IntelliJ IDEA
@@ -121,47 +159,41 @@ Now make your engine module dependent on the pio-runtime-jars module for scope =
 
 Create a new *Run/Debug Configuration* by going to *Run* > *Edit
 Configurations...*. Click on the **+** button and select *Application*. Name it
-`pio train` and put in the following.
+`pio train` and put in the following:
 
-```
-Main class: org.apache.predictionio.workflow.CreateWorkflow
-VM options: -Dspark.master=local -Dlog4j.configuration=file:/**replace_with_your_PredictionIO_path**/conf/log4j.properties
-Program arguments: --engine-id dummy --engine-version dummy --engine-variant engine.json
-```
+*   Main class:
 
-Click the **...** button to the right of *Environment variables*, and paste the
-following.
+    ```
+    org.apache.predictionio.workflow.CreateWorkflow
+    ```
 
-```
-SPARK_HOME=/**reaplce_w_your_spark_binary_path**
-PIO_FS_BASEDIR=/**replace_w_your_path_to**/.pio_store
-PIO_FS_ENGINESDIR=/**replace_w_your_path_to**/.pio_store/engines
-PIO_FS_TMPDIR=/**replace_w_your_path_to*/.pio_store/tmp
-PIO_STORAGE_REPOSITORIES_METADATA_NAME=predictionio_metadata
-PIO_STORAGE_REPOSITORIES_METADATA_SOURCE=ELASTICSEARCH
-PIO_STORAGE_REPOSITORIES_MODELDATA_NAME=pio_
-PIO_STORAGE_REPOSITORIES_MODELDATA_SOURCE=LOCALFS
-PIO_STORAGE_REPOSITORIES_APPDATA_NAME=predictionio_appdata
-PIO_STORAGE_REPOSITORIES_APPDATA_SOURCE=ELASTICSEARCH
-PIO_STORAGE_REPOSITORIES_EVENTDATA_NAME=predictionio_eventdata
-PIO_STORAGE_REPOSITORIES_EVENTDATA_SOURCE=HBASE
-PIO_STORAGE_SOURCES_ELASTICSEARCH_TYPE=elasticsearch
-PIO_STORAGE_SOURCES_ELASTICSEARCH_HOSTS=localhost
-PIO_STORAGE_SOURCES_ELASTICSEARCH_PORTS=9300
-PIO_STORAGE_SOURCES_LOCALFS_TYPE=localfs
-PIO_STORAGE_SOURCES_LOCALFS_HOSTS=/**replace_w_your_path_to**/.pio_store/models
-PIO_STORAGE_SOURCES_LOCALFS_PORTS=0
-PIO_STORAGE_SOURCES_HBASE_TYPE=hbase
-PIO_STORAGE_SOURCES_HBASE_HOSTS=0
-PIO_STORAGE_SOURCES_HBASE_PORTS=0
-```
+*   VM options:
+
+    ```
+    -Dspark.master=local -Dlog4j.configuration=file:/<your_pio_path>/conf/log4j.properties -Dpio.log.dir=<path_of_log_file>
+    ```
 
-INFO: Remember to replace all paths that start with `**replace` with actual
-values. The directory `.pio_store` typically locates inside your home directory.
+*   Program arguments:
+
+    ```
+    --engine-id dummy --engine-version dummy --engine-variant engine.json --env dummy=dummy
+    ```
+
+Make sure *Working directory* is set to the base directory of the template that
+you are working on.
+
+Click the folder button to the right of *Environment variables*, and paste the
+relevant values from `conf/pio-env.sh` in your PredictionIO installation
+directory. The following shows an example using JDBC and PostgreSQL.
+
+![Example environment variables
+settings](/images/intellij/pio-train-env-vars.png)
+
+Make sure *Include dependencies with "Provided" scope* is checked.
 
 The end result should look something similar to this.
 
-![Run Configuration](/images/intellij/intellij-config.png)
+![Run Configuration](/images/intellij/pio-train.png)
 
 Save and you can run or debug `pio train` with the new configuration!
 
@@ -171,20 +203,30 @@ Save and you can run or debug `pio train` with the new configuration!
 For `pio deploy`, simply duplicate the previous configuration and replace with
 the following.
 
-```
-Main class: org.apache.predictionio.workflow.CreateServer
-Program Arguments: --engineInstanceId **replace_with_the_id_from_pio_train**
-```
+*   Main class:
+
+    ```
+    org.apache.predictionio.workflow.CreateServer
+    ```
+
+*   Program Arguments:
+
+    ```
+    --engineInstanceId <id_from_pio_train> --engine-variant engine.json
+    ```
+
 
 ### Executing a Query
 
-You can execute a query with the correct SDK. For a recommender  that has been
-trained with the sample MovieLens dataset perhaps the easiest query is a curl
-one.  Start by running or debuging your `deploy` config so the service is
-waiting for the query. Then go  to the "Terminal" tab at the very bottom of the
-IDEA window and enter the curl request:
+You can execute a query with the correct SDK. For a recommender that has been
+trained with the sample MovieLens dataset perhaps the easiest query is a `curl`
+one. Start by running or debuging your `pio deploy` config so the service is
+waiting for the query. Then go to the "Terminal" tab at the very bottom of the
+IntelliJ IDEA window and enter the `curl` request:
 
-```$ curl -H "Content-Type: application/json" -d '{ "user": "1", "num": 4 }' http://localhost:8000/queries.json```
+```
+curl -H "Content-Type: application/json" -d '{ "user": "1", "num": 4 }' http://localhost:8000/queries.json
+```
 
 This should return something like:
 
@@ -200,19 +242,3 @@ This should return something like:
 INFO: If you hit a breakpoint you are likely to get a connection timeout. To see
 the data that would have been returned, just place a breakpoint where the
 response is created or run the query with no breakpoints.
-
-## Loading a Template Into Intellij IDEA
-
-To customize an existing [template](/gallery/template-gallery) using Intellij IDEA, first pull it from the template gallery:
-
-```bash
-$ git clone <Template Source> <New Engine Directory>
-```
-
-Now, before opening the template with Intellij, run the following command in the new engine template directory
-
-```bash
-$ pio build
-```
-
-This should update the pioVersion key in SBT to the version of PredictionIO you have installed, so that Intellij loads the correct JARS via its Auto-Import feature. Now, you can go ahead and open the file `build.sbt` with Intellij IDEA. You are now ready to [customize](/customize/) your new engine template.


[28/29] predictionio git commit: Prepare 0.13.0-rc1

Posted by sh...@apache.org.
Prepare 0.13.0-rc1


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/e7ef2c80
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/e7ef2c80
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/e7ef2c80

Branch: refs/heads/master
Commit: e7ef2c8045bea9380e7ed998e886d971c97d5bb0
Parents: 3f637e5
Author: shimamoto <sh...@apache.org>
Authored: Tue Sep 11 22:00:26 2018 +0900
Committer: shimamoto <sh...@apache.org>
Committed: Wed Sep 12 14:56:41 2018 +0900

----------------------------------------------------------------------
 KEYS                                            | 58 ++++++++++++++++++++
 build.sbt                                       |  2 +-
 docs/manual/data/versions.yml                   |  2 +-
 .../manual/source/datacollection/plugin.html.md |  2 +-
 docs/manual/source/deploy/plugin.html.md        |  2 +-
 .../scala-parallel-classification/README.md     |  2 +-
 .../add-algorithm/build.sbt                     |  2 +-
 .../reading-custom-properties/build.sbt         |  2 +-
 .../README.md                                   |  2 +-
 .../adjust-score/build.sbt                      |  2 +-
 .../train-with-rate-event/build.sbt             |  2 +-
 .../scala-parallel-recommendation/README.md     |  2 +-
 .../blacklist-items/build.sbt                   |  2 +-
 .../customize-data-prep/build.sbt               |  2 +-
 .../customize-serving/build.sbt                 |  2 +-
 .../reading-custom-events/build.sbt             |  2 +-
 .../train-with-view-event/build.sbt             |  2 +-
 .../scala-parallel-similarproduct/README.md     |  2 +-
 .../multi-events-multi-algos/build.sbt          |  2 +-
 .../recommended-user/build.sbt                  |  2 +-
 .../return-item-properties/build.sbt            |  2 +-
 .../rid-user-set-event/build.sbt                |  2 +-
 .../train-with-rate-event/build.sbt             |  2 +-
 .../engines/recommendation-engine/build.sbt     |  2 +-
 24 files changed, 81 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/KEYS
----------------------------------------------------------------------
diff --git a/KEYS b/KEYS
index 0dcd781..029eb68 100644
--- a/KEYS
+++ b/KEYS
@@ -186,3 +186,61 @@ LxEW+096aYvYBaxyb9GdKZzUplRHOZWg89DjGM5EVIy8yST1XDyCCMQeK/XglWCA
 gslTn9eM5A==
 =Jacn
 -----END PGP PUBLIC KEY BLOCK-----
+pub   rsa4096/9F4FBC3D 2018-09-11 [SC]
+uid         [ultimate] Takako Shimamoto (CODE SIGNING KEY) <sh...@apache.org>
+sig 3        9F4FBC3D 2018-09-11  Takako Shimamoto (CODE SIGNING KEY) <sh...@apache.org>
+sub   rsa4096/EC151981 2018-09-11 [E]
+sig          9F4FBC3D 2018-09-11  Takako Shimamoto (CODE SIGNING KEY) <sh...@apache.org>
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+
+mQINBFuXgEQBEADA2p47lLog6fWkm3yXB7+jcvzzhZVkLweePBkEi5I0QBOX7PpL
+CFNGGDdJW0L6p+8PhHWkzEeCdzYEJj74TGuMT9pZ+ibbjw3BLw3CvFaJa24/g83j
+1jfoKOBLL7xdsvYyrMr/U3ZZYOpD6UkW4LjMWooGYcthlQgpuTXhmLswrym+b1YA
+9xJbjFFL7gktB9O/XPf80nKDv+/duCtCcLKsWRuVsfFmnabJGJsok17wT9j5gjjc
+GfADZvsQdXJDYFS8Z7Os5fczPzx+xpIKioqLUN1bmXDuwF1+e+hgQuK4WS3RfOu6
+N9bp2R/cnYOcPWIGi955wKkjbUo6ujFFg7ICxhWTEqALZuXXScDoA0SkjtD/E8u6
+d8L43Hb64v4TA6qc7sTzyUGsKjzs/j8iTCFu7H9rl+MvpTZj6BnovHKcqufWO9Aj
+ndPPdVsnNse8MoBL7yxZ/eohVILA0LdHu/AnolfQTHtKkKFiCke18OhnS7x8Vg8j
+Q1rUDllsG77LhyA3EwecR//E518nOrxreD4PVXzQvkQz3HK9V2LBAeKrAzCtn0h8
+fpBfCgcN3r5+f8eA34Y3f4b6SGgyRRYYQtIwJ1w0CLGCWm06CKK8rKBK1wa988QA
+3W4r+vCNVKEKUjPBltOvSpebk3DS4Ymk6plRXxLWedS8c89UJE7jb9wF3wARAQAB
+tDpUYWtha28gU2hpbWFtb3RvIChDT0RFIFNJR05JTkcgS0VZKSA8c2hpbWFtb3Rv
+QGFwYWNoZS5vcmc+iQJOBBMBCgA4FiEEGRmUSApCN8H1BfYxFyTwJ59PvD0FAluX
+gEQCGwMFCwkIBwMFFQoJCAsFFgIDAQACHgECF4AACgkQFyTwJ59PvD3quw/+KJ7k
+lNPkF0ogvBW48bn9HZgm3M6I/fxmHoqqEF1q8uCjnSXuHboEb1LhQO+BKLA4WH+F
+fXUAlAIdzbGrUVIvuExr5QMhVY5oDofUMbUOouJSPG/1JXjikjnS3UP2eZYKyWst
+bNZH7OrMiXqKtGaF8HT0BgVsNYxIEeKAKo4N0QWaUS0n1ep/GqdCBKuFGfXnxH7e
+qMzJCEyuRhXu+S7t7EGdBUGz/2kYAHcfsuAj4y24xzyQOUYYox1wBGoMwg4MGzIy
+WmVflIO7Unqz33dquEfNrOopK6kAbHmI1MBloHcNOVclF8sDTBH2kkkBfnFPy+H7
+munXFMg4Dtk+4fMsdPp8+wkvQd6J67ao67D9KBN/jnUSohw4bEuzOl6cy+dVlTf9
+XI+t/vKNJq+N8gRRTHvbaDfT9j5JgH51abFnh7Y9UDILU9JmvIFbjkBIQPpUg/ZV
+CPaNzafFPvTn3G/KTVkpc75IDMjgEX4i9scPosvJL8rpGJnfMIEjt7tSwlLJ8lWf
+DsW7XkWo6KpKdlve0e36KV23EdyUAAZ3+Oy05nAdZo/DhaC9LmmSlJwg9l/dwoUG
+HEdPFdEWquoqkAQCbw3JXNuISugrpq7l6gD2cckAEOMg4ub5nGUVCLgojrWa3vGN
+eb0YLBR5HlcRHhCnAQj69l7jgID4/VLNCUMjKfi5Ag0EW5eARAEQANf2H038aioy
+0wFO27pERyVbPQrDr9kmN3AX4QoJBQ8U67jEkO+/vjz8S33H/Y/x8crMm8QCly6l
+ECukdPCFmne+gloHlJm2pL2Qre/6YKuEDHMq/wut1/HDfKrkA86zfKkX5aut+Vtx
+jdh7awf8ub6XcSTmmACBk+g/bvVoKCBD21bdw6h1I1/rYR+X+cCSCTSzvDLlv8ye
+JeMEeLdld0/lTDUHXUyYf/z8AVr2IrtcFJFlA27ixtCqU3getyhBT1zGhlSFtQar
+4tBzQ7UMOKQcxczHOCHM7lyB58zRsDv2PSr5LCV9tysR/CzNHdxIxvsK8qCf4wNp
+YQLqwZa0bMdk/1vfiHf2f9L5PIWvfXUcfLFEUqG0GvARia1JC/YCA2vFEluVRPPg
+EZgMsrUWoBOj+4qPaABAYFe8Tv7WW+vHKB9/+sETzUmo3TV0wcZz9qKiQwYoxWZQ
+/hME5q7SLWHd7kLfyTbHBZrYtIvYLRFBljH9RZQR7i+VMThG9yWPrmpiY9Pcxxfv
+sefGISNwlNWmXbK55+LuFHIcjPI+FTUQBF0SqvxJuCXjMmTsxjP3w+BiCrKgJEt4
+ZVWN7VI8LYHP6IIctg65TPNti/rkd1AU4MDpSESN0o8b5R+04dIb05s2oEIGPY2R
+tr2WUZY6YwuEmcKQ/igsYq0TwOtIqEtdABEBAAGJAjYEGAEKACAWIQQZGZRICkI3
+wfUF9jEXJPAnn0+8PQUCW5eARAIbDAAKCRAXJPAnn0+8PenjEADAIkw4B/AC7cP+
+xJzjYsE0kVOKLRYo+2+5jRvyoLWffcU6WMs44sF9XI4BRDHAGgDC0xvK03LPeh0d
+mfhIMVEiqG8Zz+6Qkt4upCkXDuJ5QnjKZh4SWXNpW/avzOwCOX2f8JWz11Qoq+J4
+Vnd0BbIjjI+rDiBbccr5Kc6tN43QhihLclJ5hO2QpdWIHGFjCaekIX6zWVYAkkFk
+UB4vHG/eghXJA44lP2kUtVb0Ay5Fl23G8bNqC30/DoswE5bJZjgEbKWUGHBCAA+q
+GtYDG6ttj1AzQuwhaW3mjCaspRHYbPp76Jqh/dw1mRuwWsgw/rYhw/Ptydpzeyad
+W3NlHFj0NweMmstfmvwMd6VOP9cXni87Ynra8pWUvzCO2kzCL+IpUylPFAOvsSHe
+M0exU5/K+ClKlsL5J9oL+6Nc02LDgk56H3aQimKc4sO7/TWqIhHtvYMHJj2PK+Da
+P0qc0vJo6f3wYNU3VhzX/IZg/94luTeMiQgCBie5jXrv3EtBqCg/B/+TzOIrl6pO
+TPFJ9Q5iQiLgoJNrBc2AjV34YaCa8esLRLTZQYoVX/9pN4ECcskNX3TxF45zExUi
+8LMAftwE+fVt7zsJe3oZhPwtLN1RZoLJI/zvXJhXKAP/1LK57Ezrws0AwFSazc0I
+wEvmHAxp9J8DJY97zR+oCp/Or62cNw==
+=8icF
+-----END PGP PUBLIC KEY BLOCK-----

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/build.sbt
----------------------------------------------------------------------
diff --git a/build.sbt b/build.sbt
index c753f76..308b409 100644
--- a/build.sbt
+++ b/build.sbt
@@ -54,7 +54,7 @@ lazy val scalaSparkDepsVersion = Map(
 
 name := "apache-predictionio-parent"
 
-version in ThisBuild := "0.13.0-SNAPSHOT"
+version in ThisBuild := "0.13.0"
 
 organization in ThisBuild := "org.apache.predictionio"
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/docs/manual/data/versions.yml
----------------------------------------------------------------------
diff --git a/docs/manual/data/versions.yml b/docs/manual/data/versions.yml
index d21c99b..31a0659 100644
--- a/docs/manual/data/versions.yml
+++ b/docs/manual/data/versions.yml
@@ -1,4 +1,4 @@
-pio: 0.12.1
+pio: 0.13.0
 spark: 2.1.1
 spark_download_filename: spark-2.1.1-bin-hadoop2.6
 elasticsearch_download_filename: elasticsearch-5.5.2

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/docs/manual/source/datacollection/plugin.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/datacollection/plugin.html.md b/docs/manual/source/datacollection/plugin.html.md
index db8e671..f99cb4f 100644
--- a/docs/manual/source/datacollection/plugin.html.md
+++ b/docs/manual/source/datacollection/plugin.html.md
@@ -32,7 +32,7 @@ At first, create a sbt project with following `build.sbt`:
 name := "pio-plugin-example"
 version := "1.0"
 scalaVersion := "2.11.11"
-libraryDependencies += "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1"
+libraryDependencies += "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0"
 ```
 
 Event server plug-ins must extend `EventServerPlugin`. Here is an example of event server plug-in:

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/docs/manual/source/deploy/plugin.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/deploy/plugin.html.md b/docs/manual/source/deploy/plugin.html.md
index d20f130..c9a120c 100644
--- a/docs/manual/source/deploy/plugin.html.md
+++ b/docs/manual/source/deploy/plugin.html.md
@@ -32,7 +32,7 @@ At first, create a sbt project with following `build.sbt`:
 name := "pio-plugin-example"
 version := "1.0"
 scalaVersion := "2.11.11"
-libraryDependencies += "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1"
+libraryDependencies += "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0"
 ```
 
 Engine server plug-ins must extend `EngineServerPlugin`. Here is an example of engine server plug-in:

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-classification/README.md
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-classification/README.md b/examples/scala-parallel-classification/README.md
index 20f6956..82fcda0 100644
--- a/examples/scala-parallel-classification/README.md
+++ b/examples/scala-parallel-classification/README.md
@@ -15,6 +15,6 @@ See the License for the specific language governing permissions and
 limitations under the License.
 -->
 
-This is based on Classification Engine Template v0.12.0-incubating.
+This is based on Classification Engine Template v0.13.0.
 
 Please refer to http://predictionio.apache.org/templates/classification/how-to/

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-classification/add-algorithm/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-classification/add-algorithm/build.sbt b/examples/scala-parallel-classification/add-algorithm/build.sbt
index 703b5be..e929f9e 100644
--- a/examples/scala-parallel-classification/add-algorithm/build.sbt
+++ b/examples/scala-parallel-classification/add-algorithm/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-classification"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-classification/reading-custom-properties/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-classification/reading-custom-properties/build.sbt b/examples/scala-parallel-classification/reading-custom-properties/build.sbt
index 703b5be..e929f9e 100644
--- a/examples/scala-parallel-classification/reading-custom-properties/build.sbt
+++ b/examples/scala-parallel-classification/reading-custom-properties/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-classification"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-ecommercerecommendation/README.md
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-ecommercerecommendation/README.md b/examples/scala-parallel-ecommercerecommendation/README.md
index e8f5ed4..0063fde 100644
--- a/examples/scala-parallel-ecommercerecommendation/README.md
+++ b/examples/scala-parallel-ecommercerecommendation/README.md
@@ -15,6 +15,6 @@ See the License for the specific language governing permissions and
 limitations under the License.
 -->
 
-This is based on E-Commerce Recommendation Template v0.12.0-incubating.
+This is based on E-Commerce Recommendation Template v0.13.0.
 
 Please refer to http://predictionio.apache.org/templates/ecommercerecommendation/how-to/

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-ecommercerecommendation/adjust-score/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-ecommercerecommendation/adjust-score/build.sbt b/examples/scala-parallel-ecommercerecommendation/adjust-score/build.sbt
index e45e277..7899d60 100644
--- a/examples/scala-parallel-ecommercerecommendation/adjust-score/build.sbt
+++ b/examples/scala-parallel-ecommercerecommendation/adjust-score/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-ecommercerecommendation"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-ecommercerecommendation/train-with-rate-event/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-ecommercerecommendation/train-with-rate-event/build.sbt b/examples/scala-parallel-ecommercerecommendation/train-with-rate-event/build.sbt
index e45e277..7899d60 100644
--- a/examples/scala-parallel-ecommercerecommendation/train-with-rate-event/build.sbt
+++ b/examples/scala-parallel-ecommercerecommendation/train-with-rate-event/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-ecommercerecommendation"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-recommendation/README.md
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-recommendation/README.md b/examples/scala-parallel-recommendation/README.md
index c8ddd4a..379a750 100644
--- a/examples/scala-parallel-recommendation/README.md
+++ b/examples/scala-parallel-recommendation/README.md
@@ -15,6 +15,6 @@ See the License for the specific language governing permissions and
 limitations under the License.
 -->
 
-This is based on Recommendation Template v0.12.0-incubating.
+This is based on Recommendation Template v0.13.0.
 
 Please refer to http://predictionio.apache.org/templates/recommendation/how-to/

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-recommendation/blacklist-items/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-recommendation/blacklist-items/build.sbt b/examples/scala-parallel-recommendation/blacklist-items/build.sbt
index 0251958..bc124a1 100644
--- a/examples/scala-parallel-recommendation/blacklist-items/build.sbt
+++ b/examples/scala-parallel-recommendation/blacklist-items/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-recommendation"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-recommendation/customize-data-prep/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-recommendation/customize-data-prep/build.sbt b/examples/scala-parallel-recommendation/customize-data-prep/build.sbt
index 0251958..bc124a1 100644
--- a/examples/scala-parallel-recommendation/customize-data-prep/build.sbt
+++ b/examples/scala-parallel-recommendation/customize-data-prep/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-recommendation"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-recommendation/customize-serving/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-recommendation/customize-serving/build.sbt b/examples/scala-parallel-recommendation/customize-serving/build.sbt
index 0251958..bc124a1 100644
--- a/examples/scala-parallel-recommendation/customize-serving/build.sbt
+++ b/examples/scala-parallel-recommendation/customize-serving/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-recommendation"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-recommendation/reading-custom-events/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-recommendation/reading-custom-events/build.sbt b/examples/scala-parallel-recommendation/reading-custom-events/build.sbt
index 0251958..bc124a1 100644
--- a/examples/scala-parallel-recommendation/reading-custom-events/build.sbt
+++ b/examples/scala-parallel-recommendation/reading-custom-events/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-recommendation"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-recommendation/train-with-view-event/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-recommendation/train-with-view-event/build.sbt b/examples/scala-parallel-recommendation/train-with-view-event/build.sbt
index 0251958..bc124a1 100644
--- a/examples/scala-parallel-recommendation/train-with-view-event/build.sbt
+++ b/examples/scala-parallel-recommendation/train-with-view-event/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-recommendation"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-similarproduct/README.md
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-similarproduct/README.md b/examples/scala-parallel-similarproduct/README.md
index 9f5f34a..9daae15 100644
--- a/examples/scala-parallel-similarproduct/README.md
+++ b/examples/scala-parallel-similarproduct/README.md
@@ -15,6 +15,6 @@ See the License for the specific language governing permissions and
 limitations under the License.
 -->
 
-This is based on Similar Product Template v0.12.0-incubating.
+This is based on Similar Product Template v0.13.0.
 
 Please refer to http://predictionio.apache.org/templates/similarproduct/how-to/

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-similarproduct/multi-events-multi-algos/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-similarproduct/multi-events-multi-algos/build.sbt b/examples/scala-parallel-similarproduct/multi-events-multi-algos/build.sbt
index c03fd46..e72b6f2 100644
--- a/examples/scala-parallel-similarproduct/multi-events-multi-algos/build.sbt
+++ b/examples/scala-parallel-similarproduct/multi-events-multi-algos/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-similarproduct"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-similarproduct/recommended-user/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-similarproduct/recommended-user/build.sbt b/examples/scala-parallel-similarproduct/recommended-user/build.sbt
index d40f4f0..f5b86f5 100644
--- a/examples/scala-parallel-similarproduct/recommended-user/build.sbt
+++ b/examples/scala-parallel-similarproduct/recommended-user/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-recommendeduser"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-similarproduct/return-item-properties/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-similarproduct/return-item-properties/build.sbt b/examples/scala-parallel-similarproduct/return-item-properties/build.sbt
index c03fd46..e72b6f2 100644
--- a/examples/scala-parallel-similarproduct/return-item-properties/build.sbt
+++ b/examples/scala-parallel-similarproduct/return-item-properties/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-similarproduct"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-similarproduct/rid-user-set-event/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-similarproduct/rid-user-set-event/build.sbt b/examples/scala-parallel-similarproduct/rid-user-set-event/build.sbt
index c03fd46..e72b6f2 100644
--- a/examples/scala-parallel-similarproduct/rid-user-set-event/build.sbt
+++ b/examples/scala-parallel-similarproduct/rid-user-set-event/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-similarproduct"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/examples/scala-parallel-similarproduct/train-with-rate-event/build.sbt
----------------------------------------------------------------------
diff --git a/examples/scala-parallel-similarproduct/train-with-rate-event/build.sbt b/examples/scala-parallel-similarproduct/train-with-rate-event/build.sbt
index c03fd46..e72b6f2 100644
--- a/examples/scala-parallel-similarproduct/train-with-rate-event/build.sbt
+++ b/examples/scala-parallel-similarproduct/train-with-rate-event/build.sbt
@@ -20,5 +20,5 @@ name := "template-scala-parallel-similarproduct"
 organization := "org.apache.predictionio"
 scalaVersion := "2.11.8"
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-mllib"              % "2.1.1" % "provided")

http://git-wip-us.apache.org/repos/asf/predictionio/blob/e7ef2c80/tests/pio_tests/engines/recommendation-engine/build.sbt
----------------------------------------------------------------------
diff --git a/tests/pio_tests/engines/recommendation-engine/build.sbt b/tests/pio_tests/engines/recommendation-engine/build.sbt
index 798995c..4688165 100644
--- a/tests/pio_tests/engines/recommendation-engine/build.sbt
+++ b/tests/pio_tests/engines/recommendation-engine/build.sbt
@@ -26,6 +26,6 @@ name := "template-scala-parallel-recommendation"
 organization := "org.apache.predictionio"
 
 libraryDependencies ++= Seq(
-  "org.apache.predictionio" %% "apache-predictionio-core" % "0.12.1" % "provided",
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.13.0" % "provided",
   "org.apache.spark"        %% "spark-core"    % sys.env.getOrElse("PIO_SPARK_VERSION", "2.1.1") % "provided",
   "org.apache.spark"        %% "spark-mllib"   % sys.env.getOrElse("PIO_SPARK_VERSION", "2.1.1") % "provided")


[13/29] predictionio git commit: [PIO-157] SDK documentation fix

Posted by sh...@apache.org.
[PIO-157] SDK documentation fix

Fixes for Python and Ruby SDKs


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/65b2fa4f
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/65b2fa4f
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/65b2fa4f

Branch: refs/heads/master
Commit: 65b2fa4f952d1bb595c12046e077b8cd7e8970d8
Parents: 37c1793
Author: Donald Szeto <do...@apache.org>
Authored: Tue Jul 31 14:20:00 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Tue Jul 31 14:20:00 2018 -0700

----------------------------------------------------------------------
 docs/manual/source/sdk/python.html.md.erb | 13 +++++++------
 docs/manual/source/sdk/ruby.html.md.erb   | 12 +++++++-----
 2 files changed, 14 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/65b2fa4f/docs/manual/source/sdk/python.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/sdk/python.html.md.erb b/docs/manual/source/sdk/python.html.md.erb
index e3e7396..68bd689 100644
--- a/docs/manual/source/sdk/python.html.md.erb
+++ b/docs/manual/source/sdk/python.html.md.erb
@@ -21,19 +21,20 @@ limitations under the License.
 
 ## API Docs
 
-[View API documentation](http://pythonhosted.org/PredictionIO/) for version <%= data.versions.pio %>.
+[View API documentation](http://pythonhosted.org/PredictionIO/) (compatible with
+PredictionIO <%= data.versions.pio %>).
 
-## PyPl
+## PyPI
 
 [Browse](https://pypi.python.org/pypi/PredictionIO)
 
 ## GitHub
 
-<iframe src="/github/?user=PredictionIO&repo=PredictionIO-Python-SDK&type=fork&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
-<iframe src="/github/?user=PredictionIO&repo=PredictionIO-Python-SDK&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
+<iframe src="/github/?user=apache&repo=predictionio-sdk-python&type=fork&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
+<iframe src="/github/?user=apache&repo=predictionio-sdk-python&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
 
-[View code](https://github.com/PredictionIO/PredictionIO-Python-SDK) on GitHub.
+[View code](https://github.com/apache/predictionio-sdk-python) on GitHub.
 
 ## License
 
-[Apache License 2.0](https://github.com/PredictionIO/PredictionIO-Python-SDK/blob/develop/LICENSE.txt).
+[Apache License 2.0](https://github.com/apache/predictionio-sdk-python/blob/develop/LICENSE.txt).

http://git-wip-us.apache.org/repos/asf/predictionio/blob/65b2fa4f/docs/manual/source/sdk/ruby.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/sdk/ruby.html.md.erb b/docs/manual/source/sdk/ruby.html.md.erb
index f5b03c0..edeabaf 100644
--- a/docs/manual/source/sdk/ruby.html.md.erb
+++ b/docs/manual/source/sdk/ruby.html.md.erb
@@ -21,7 +21,9 @@ limitations under the License.
 
 ## API Docs
 
-[View API documentation](http://predictionio.apache.org/ruby/api/PredictionIO.html) for version <%= data.versions.pio %>.
+[View API
+documentation](https://www.rubydoc.info/github/apache/predictionio-sdk-ruby/master)
+(compatible with PredictionIO <%= data.versions.pio %>).
 
 ## RubyGems
 
@@ -29,11 +31,11 @@ limitations under the License.
 
 ## GitHub
 
-<iframe src="/github/?user=PredictionIO&repo=PredictionIO-Ruby-SDK&type=fork&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
-<iframe src="/github/?user=PredictionIO&repo=PredictionIO-Ruby-SDK&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
+<iframe src="/github/?user=apache&repo=predictionio-sdk-ruby&type=fork&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
+<iframe src="/github/?user=apache&repo=predictionio-sdk-ruby&type=watch&count=true&size=large" allowtransparency="true" frameborder="0" scrolling="0" width="170" height="30"></iframe>
 
-[View code](https://github.com/PredictionIO/PredictionIO-Ruby-SDK) on GitHub.
+[View code](https://github.com/apache/predictionio-sdk-ruby) on GitHub.
 
 ## License
 
-[Apache License 2.0](https://github.com/PredictionIO/PredictionIO-Ruby-SDK/blob/develop/LICENSE).
+[Apache License 2.0](https://github.com/apache/predictionio-sdk-ruby/blob/develop/LICENSE).


[06/29] predictionio git commit: Merge remote-tracking branch 'origin/release/0.12.1' into develop

Posted by sh...@apache.org.
Merge remote-tracking branch 'origin/release/0.12.1' into develop


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/f19d0154
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/f19d0154
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/f19d0154

Branch: refs/heads/master
Commit: f19d0154d36aa8b596f1f041e092cc56e23c030a
Parents: ca0e050 20a1c37
Author: Chan Lee <ch...@gmail.com>
Authored: Tue Mar 13 17:07:55 2018 -0700
Committer: Chan Lee <ch...@gmail.com>
Committed: Tue Mar 13 17:07:55 2018 -0700

----------------------------------------------------------------------
 RELEASE.md                                      | 39 +++++++++++++++++++-
 build.sbt                                       |  2 +-
 .../add-algorithm/build.sbt                     |  2 +-
 .../reading-custom-properties/build.sbt         |  2 +-
 .../adjust-score/build.sbt                      |  2 +-
 .../train-with-rate-event/build.sbt             |  2 +-
 .../blacklist-items/build.sbt                   |  2 +-
 .../customize-data-prep/build.sbt               |  2 +-
 .../customize-serving/build.sbt                 |  2 +-
 .../reading-custom-events/build.sbt             |  2 +-
 .../train-with-view-event/build.sbt             |  2 +-
 .../multi-events-multi-algos/build.sbt          |  2 +-
 .../recommended-user/build.sbt                  |  2 +-
 .../return-item-properties/build.sbt            |  2 +-
 .../rid-user-set-event/build.sbt                |  2 +-
 .../train-with-rate-event/build.sbt             |  2 +-
 .../engines/recommendation-engine/build.sbt     |  2 +-
 17 files changed, 54 insertions(+), 17 deletions(-)
----------------------------------------------------------------------



[23/29] predictionio git commit: [PIO-161] Spark 2.3 support

Posted by sh...@apache.org.
[PIO-161] Spark 2.3 support

Closes #461


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/eac83c5b
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/eac83c5b
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/eac83c5b

Branch: refs/heads/master
Commit: eac83c5b3c52317ac5124021c8cd95671badb7ff
Parents: a18475a
Author: Donald Szeto <do...@apache.org>
Authored: Sun Sep 2 20:13:20 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Sun Sep 2 20:13:20 2018 -0700

----------------------------------------------------------------------
 .travis.yml           | 29 +++++++++++++++++++++++++++++
 build.sbt             |  4 ++++
 conf/pio-vendors.sh   |  3 ++-
 tests/build_docker.sh |  7 +++++--
 4 files changed, 40 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/eac83c5b/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index d2a8d2f..49cbb65 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -132,6 +132,35 @@ env:
       PIO_SPARK_VERSION=2.2.0
       PIO_ELASTICSEARCH_VERSION=5.5.2
 
+    - BUILD_TYPE=Unit
+      METADATA_REP=PGSQL EVENTDATA_REP=PGSQL MODELDATA_REP=PGSQL
+      PIO_SCALA_VERSION=2.11.12
+      PIO_SPARK_VERSION=2.3.1
+      PIO_HADOOP_VERSION=2.7.7
+    - BUILD_TYPE=Integration
+      METADATA_REP=PGSQL EVENTDATA_REP=PGSQL MODELDATA_REP=PGSQL
+      PIO_SCALA_VERSION=2.11.12
+      PIO_SPARK_VERSION=2.3.1
+      PIO_HADOOP_VERSION=2.7.7
+    - BUILD_TYPE=Integration
+      METADATA_REP=ELASTICSEARCH EVENTDATA_REP=HBASE MODELDATA_REP=LOCALFS
+      PIO_SCALA_VERSION=2.11.12
+      PIO_SPARK_VERSION=2.3.1
+      PIO_ELASTICSEARCH_VERSION=1.7.3
+      PIO_HADOOP_VERSION=2.7.7
+    - BUILD_TYPE=Integration
+      METADATA_REP=ELASTICSEARCH EVENTDATA_REP=PGSQL MODELDATA_REP=HDFS
+      PIO_SCALA_VERSION=2.11.12
+      PIO_SPARK_VERSION=2.3.1
+      PIO_ELASTICSEARCH_VERSION=5.5.2
+      PIO_HADOOP_VERSION=2.7.7
+    - BUILD_TYPE=Integration
+      METADATA_REP=ELASTICSEARCH EVENTDATA_REP=ELASTICSEARCH MODELDATA_REP=S3
+      PIO_SCALA_VERSION=2.11.12
+      PIO_SPARK_VERSION=2.3.1
+      PIO_ELASTICSEARCH_VERSION=5.5.2
+      PIO_HADOOP_VERSION=2.7.7
+
     - BUILD_TYPE=LicenseCheck
 
 before_install:

http://git-wip-us.apache.org/repos/asf/predictionio/blob/eac83c5b/build.sbt
----------------------------------------------------------------------
diff --git a/build.sbt b/build.sbt
index 0243610..c753f76 100644
--- a/build.sbt
+++ b/build.sbt
@@ -46,6 +46,10 @@ lazy val scalaSparkDepsVersion = Map(
     "2.2" -> Map(
       "akka" -> "2.4.17",
       "hadoop" -> "2.7.3",
+      "json4s" -> "3.2.11"),
+    "2.3" -> Map(
+      "akka" -> "2.4.17",
+      "hadoop" -> "2.7.3",
       "json4s" -> "3.2.11")))
 
 name := "apache-predictionio-parent"

http://git-wip-us.apache.org/repos/asf/predictionio/blob/eac83c5b/conf/pio-vendors.sh
----------------------------------------------------------------------
diff --git a/conf/pio-vendors.sh b/conf/pio-vendors.sh
index 6420207..162372f 100644
--- a/conf/pio-vendors.sh
+++ b/conf/pio-vendors.sh
@@ -51,7 +51,8 @@ PGSQL_DOWNLOAD=https://jdbc.postgresql.org/download/${PGSQL_JAR}
 HADOOP_MAJOR=`echo $PIO_HADOOP_VERSION | awk -F. '{print $1 "." $2}'`
 SPARK_DIR=spark-${PIO_SPARK_VERSION}-bin-hadoop${HADOOP_MAJOR}
 SPARK_ARCHIVE=${SPARK_DIR}.tgz
-SPARK_DOWNLOAD=http://d3kbcqa49mib13.cloudfront.net/${SPARK_ARCHIVE}
+SPARK_DOWNLOAD_MIRROR=https://www.apache.org/dyn/closer.lua\?action=download\&filename=spark/spark-${PIO_SPARK_VERSION}/${SPARK_ARCHIVE}
+SPARK_DOWNLOAD_ARCHIVE=https://archive.apache.org/dist/spark/spark-${PIO_SPARK_VERSION}/${SPARK_ARCHIVE}
 # ELASTICSEARCH_DOWNLOAD
 #   5.x https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-${PIO_ELASTICSEARCH_VERSION}.tar.gz
 #   1.x https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-${PIO_ELASTICSEARCH_VERSION}.tar.gz

http://git-wip-us.apache.org/repos/asf/predictionio/blob/eac83c5b/tests/build_docker.sh
----------------------------------------------------------------------
diff --git a/tests/build_docker.sh b/tests/build_docker.sh
index b17a304..2c6f8f8 100755
--- a/tests/build_docker.sh
+++ b/tests/build_docker.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -ex
+#!/usr/bin/env bash
 
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
@@ -28,7 +28,10 @@ if [ ! -f $DIR/docker-files/${PGSQL_JAR} ]; then
   mv ${PGSQL_JAR} $DIR/docker-files/
 fi
 if [ ! -f $DIR/docker-files/${SPARK_ARCHIVE} ]; then
-  wget $SPARK_DOWNLOAD
+  curl -fLo $SPARK_ARCHIVE $SPARK_DOWNLOAD_MIRROR
+  if [[ $? -ne 0 ]]; then
+    curl -fLo $SPARK_ARCHIVE $SPARK_DOWNLOAD_ARCHIVE
+  fi
   mv $SPARK_ARCHIVE $DIR/docker-files/
 fi
 


[29/29] predictionio git commit: Update RELEASE.md

Posted by sh...@apache.org.
Update RELEASE.md


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/1856635b
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/1856635b
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/1856635b

Branch: refs/heads/master
Commit: 1856635be6f9f77622c567fecba9568538f1fc16
Parents: e7ef2c8
Author: shimamoto <sh...@apache.org>
Authored: Wed Sep 19 14:13:08 2018 +0900
Committer: shimamoto <sh...@apache.org>
Committed: Wed Sep 19 14:13:08 2018 +0900

----------------------------------------------------------------------
 RELEASE.md | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/1856635b/RELEASE.md
----------------------------------------------------------------------
diff --git a/RELEASE.md b/RELEASE.md
index 1257915..1b40ce1 100644
--- a/RELEASE.md
+++ b/RELEASE.md
@@ -21,6 +21,32 @@ limitations under the License.
 
 ## Version History
 
+### 0.13.0
+
+Sep 20, 2018
+
+#### New Features
+
+- [PIO-161](https://issues.apache.org/jira/browse/PIO-161): Spark 2.3 support.
+
+#### Behavior Changes
+
+- [PIO-158](https://issues.apache.org/jira/browse/PIO-158): More officially deprecate support for Scala 2.10 and Spark 1.x.
+
+#### Other Changes
+
+- [PIO-152](https://issues.apache.org/jira/browse/PIO-152): DOAP syntax error.
+- [PIO-155](https://issues.apache.org/jira/browse/PIO-155): Fix 'Topic Labelling with Wikipedia' Template Link.
+- [PIO-156](https://issues.apache.org/jira/browse/PIO-156): Stale release on download page.
+- [PIO-160](https://issues.apache.org/jira/browse/PIO-160): Array out of bound exception in JDBCUtils when --env is not supplied to CreateWorkflow.
+
+#### Credits
+
+The following contributors have spent a great deal of effort to bring to you
+this release:
+
+Donald Szeto, Takako Shimamoto
+
 ### 0.12.1
 
 Mar 11, 2018


[17/29] predictionio git commit: Adding travis_retry on steps with network timeouts

Posted by sh...@apache.org.
Adding travis_retry on steps with network timeouts


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/7ad9be47
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/7ad9be47
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/7ad9be47

Branch: refs/heads/master
Commit: 7ad9be47484475b95e10b8e08c9b46f1dc84b949
Parents: f0903c6
Author: Donald Szeto <do...@apache.org>
Authored: Thu Aug 16 18:32:00 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Thu Aug 16 18:32:00 2018 -0700

----------------------------------------------------------------------
 .travis.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/7ad9be47/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index 65f4166..d2a8d2f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -137,17 +137,17 @@ env:
 before_install:
   - unset SBT_OPTS JVM_OPTS
   - sudo rm /usr/local/bin/docker-compose
-  - curl -L https://github.com/docker/compose/releases/download/1.11.1/docker-compose-`uname -s`-`uname -m` > docker-compose
+  - travis_retry curl -L https://github.com/docker/compose/releases/download/1.11.1/docker-compose-`uname -s`-`uname -m` > docker-compose
   - chmod +x docker-compose
   - sudo mv docker-compose /usr/local/bin
 
 before_script:
   - sudo sysctl -w vm.max_map_count=262144
   - docker-compose -v
-  - ./tests/before_script.travis.sh
+  - travis_retry ./tests/before_script.travis.sh
 
 script:
-  - ./tests/script.travis.sh
+  - travis_retry ./tests/script.travis.sh
 
 after_script:
   - ./tests/after_script.travis.sh


[27/29] predictionio git commit: Merge branch 'livedoc' into develop

Posted by sh...@apache.org.
Merge branch 'livedoc' into develop


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/3f637e54
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/3f637e54
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/3f637e54

Branch: refs/heads/master
Commit: 3f637e54f290733e8cb1f741d156a97436d33c8d
Parents: 18fa9b7 52a0891
Author: shimamoto <sh...@apache.org>
Authored: Tue Sep 11 19:59:09 2018 +0900
Committer: shimamoto <sh...@apache.org>
Committed: Tue Sep 11 19:59:09 2018 +0900

----------------------------------------------------------------------
 docs/manual/data/nav/main.yml                   |  2 +-
 .../source/community/contribute-sdk.html.md     |  6 +--
 docs/manual/source/demo/community.html.md       |  4 +-
 docs/manual/source/evaluation/index.html.md     |  2 +-
 docs/manual/source/index.html.md.erb            | 11 ++--
 .../install/install-sourcecode.html.md.erb      | 54 +++++++++++++++++---
 docs/manual/source/partials/_footer.html.slim   |  4 +-
 7 files changed, 60 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/3f637e54/docs/manual/source/install/install-sourcecode.html.md.erb
----------------------------------------------------------------------


[12/29] predictionio git commit: fix "$pio eval" command

Posted by sh...@apache.org.
fix "$pio eval" command

"$pio eval" command parameters are broken: package name in command does not match the package name in Evaluation.scala

Closes #455


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/37c17935
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/37c17935
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/37c17935

Branch: refs/heads/master
Commit: 37c17935475cf9f753f6be4d9ab22dbbd7d3cd4a
Parents: a7c94c3
Author: Tom Chan <to...@salesforce.com>
Authored: Thu Jun 28 20:01:17 2018 -0700
Committer: Tom Chan <to...@salesforce.com>
Committed: Thu Jun 28 20:01:17 2018 -0700

----------------------------------------------------------------------
 docs/manual/source/evaluation/metricbuild.html.md | 8 +++-----
 docs/manual/source/evaluation/paramtuning.html.md | 8 +++-----
 2 files changed, 6 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/37c17935/docs/manual/source/evaluation/metricbuild.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/evaluation/metricbuild.html.md b/docs/manual/source/evaluation/metricbuild.html.md
index ad9d105..e9f5875 100644
--- a/docs/manual/source/evaluation/metricbuild.html.md
+++ b/docs/manual/source/evaluation/metricbuild.html.md
@@ -67,8 +67,7 @@ object. We can run the following command to kick start the evaluation.
 ```
 $ pio build
 ...
-$ pio eval org.template.classification.AccuracyEvaluation \
-    org.template.classification.EngineParamsList
+$ pio eval org.example.classification.AccuracyEvaluation org.example.classification.EngineParamsList
 ...
 ```
 
@@ -140,8 +139,7 @@ separation of concern when we conduct hyperparameter tuning.
 ```
 $ pio build
 ...
-$ pio eval org.template.classification.PrecisionEvaluation \
-    org.template.classification.EngineParamsList
+$ pio eval org.example.classification.PrecisionEvaluation org.example.classification.EngineParamsList
 ...
 [INFO] [CoreWorkflow$] Starting evaluation instance ID: SMhzYbJ9QgKkD0fQzTA7MA
 ...
@@ -183,7 +181,7 @@ Optimal Engine Params:
   }
 }
 Metrics:
-  org.template.classification.Precision: 0.8846153846153846
+  org.example.classification.Precision: 0.8846153846153846
 ```
 
 (See MyClassification/src/main/scala/***PrecisionEvaluation.scala*** for

http://git-wip-us.apache.org/repos/asf/predictionio/blob/37c17935/docs/manual/source/evaluation/paramtuning.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/evaluation/paramtuning.html.md b/docs/manual/source/evaluation/paramtuning.html.md
index e360750..f9d9a9e 100644
--- a/docs/manual/source/evaluation/paramtuning.html.md
+++ b/docs/manual/source/evaluation/paramtuning.html.md
@@ -59,8 +59,7 @@ workflow for the classification template.
 ```
 $ pio build
 ...
-$ pio eval org.template.classification.AccuracyEvaluation \
-    org.template.classification.EngineParamsList
+$ pio eval org.example.classification.AccuracyEvaluation org.example.classification.EngineParamsList
 ```
 
 You will see the following output:
@@ -108,7 +107,7 @@ Optimal Engine Params:
   }
 }
 Metrics:
-  org.template.classification.Accuracy: 0.9281045751633987
+  org.example.classification.Accuracy: 0.9281045751633987
 The best variant params can be found in best.json
 [INFO] [CoreWorkflow$] runEvaluation completed
 ```
@@ -363,8 +362,7 @@ from the console.
 ```
 $ pio build
 ...
-$ pio eval org.template.classification.AccuracyEvaluation \
-    org.template.classification.EngineParamsList
+$ pio eval org.example.classification.AccuracyEvaluation org.example.classification.EngineParamsList
 ```
 
 You will see the following output:


[05/29] predictionio git commit: [PIO-152] Fix DOAP PMC field value

Posted by sh...@apache.org.
[PIO-152] Fix DOAP PMC field value


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/ca0e0508
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/ca0e0508
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/ca0e0508

Branch: refs/heads/master
Commit: ca0e05080e2a4e1a54292819835e0c26d2993dce
Parents: afbbe75
Author: Donald Szeto <do...@apache.org>
Authored: Mon Mar 12 09:50:07 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Mon Mar 12 09:50:07 2018 -0700

----------------------------------------------------------------------
 doap.rdf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/ca0e0508/doap.rdf
----------------------------------------------------------------------
diff --git a/doap.rdf b/doap.rdf
index 0f59524..26f430f 100644
--- a/doap.rdf
+++ b/doap.rdf
@@ -26,7 +26,7 @@
     <license rdf:resource="http://spdx.org/licenses/Apache-2.0" />
     <name>Apache PredictionIO</name>
     <homepage rdf:resource="http://predictionio.apache.org/" />
-    <asfext:pmc rdf:resource="http://apache.org" />
+    <asfext:pmc rdf:resource="http://predictionio.apache.org" />
     <shortdesc>PredictionIO is an open source Machine Learning Server built on top of state-of-the-art open source stack, that enables developers to manage and deploy production-ready predictive services for various kinds of machine learning tasks.</shortdesc>
     <description>PredictionIO is an open source Machine Learning Server built on top of state-of-the-art open source stack, that enables developers to manage and deploy production-ready predictive services for various kinds of machine learning tasks.</description>
     <bug-database rdf:resource="https://issues.apache.org/jira/browse/PIO" />


[08/29] predictionio git commit: [PIO-156] Update release on download page

Posted by sh...@apache.org.
[PIO-156] Update release on download page


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/b6303674
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/b6303674
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/b6303674

Branch: refs/heads/master
Commit: b6303674b0f9352c7665b2b442d363090b39d57d
Parents: 439b87e
Author: Chan Lee <ch...@gmail.com>
Authored: Thu Mar 15 13:10:15 2018 -0700
Committer: Chan Lee <ch...@gmail.com>
Committed: Thu Mar 15 13:10:15 2018 -0700

----------------------------------------------------------------------
 .../install/install-sourcecode.html.md.erb      | 22 +++++++++++++-------
 1 file changed, 14 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/b6303674/docs/manual/source/install/install-sourcecode.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/install/install-sourcecode.html.md.erb b/docs/manual/source/install/install-sourcecode.html.md.erb
index 6b9bd63..fda6ee9 100644
--- a/docs/manual/source/install/install-sourcecode.html.md.erb
+++ b/docs/manual/source/install/install-sourcecode.html.md.erb
@@ -32,22 +32,28 @@ building against
 * Hadoop 2.7.3
 * Elasticsearch 5.5.2
 
-Download and extract binary release.
+Download binary release from an Apache [mirror](
+https://www.apache.org/dyn/closer.cgi/predictionio/<%= data.versions.pio
+%>/apache-predictionio-<%= data.versions.pio %>-bin.tar.gz)
+and verify the release.
+
+Extract the binary distribution and proceed to [Installing Dependencies](
+#installing-dependencies).
 
 ```
-$ curl -L https://dist.apache.org/repos/dist/release/predictionio/<%= data.versions.pio %>/apache-predictionio-<%= data.versions.pio %>-bin.tar.gz > PredictionIO-<%= data.versions.pio %>.tar.gz
-$ tar zxvf PredictionIO-<%= data.versions.pio %>.tar.gz
+$ tar zxvf apache-predictionio-<%= data.versions.pio %>.tar.gz
 ```
 
-Proceed to [Installing Dependencies](#installing-dependencies).
-
 ## Downloading Source Code
 
-Download Apache PredictionIO <%= data.versions.pio %> from an
+Download Apache PredictionIO source <%= data.versions.pio %> from an
 Apache [mirror](https://www.apache.org/dyn/closer.cgi/predictionio/<%=
-data.versions.pio %>/apache-predictionio-<%= data.versions.pio %>.tar.gz). 
+data.versions.pio %>/apache-predictionio-<%= data.versions.pio %>.tar.gz) and
+verify the release.
+
+### Verifying Release
 
-Verify this release using [signatures and checksums]
+Verify binary/source release using [signatures and checksums]
 (https://www.apache.org/dist/predictionio/<%= data.versions.pio %>/)
 and [project release KEYS](https://www.apache.org/dist/predictionio/KEYS).
 


[21/29] predictionio git commit: Merge branch 'livedoc' into develop

Posted by sh...@apache.org.
Merge branch 'livedoc' into develop


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/a18475ac
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/a18475ac
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/a18475ac

Branch: refs/heads/master
Commit: a18475ace48f8151a3613c569edf6824463cbf7b
Parents: ff6a076 1c8ea8a
Author: Donald Szeto <do...@apache.org>
Authored: Mon Aug 27 16:24:14 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Mon Aug 27 16:24:14 2018 -0700

----------------------------------------------------------------------
 docs/manual/source/gallery/templates.yaml       |  14 ++
 .../images/intellij/intelliJ-scala-plugin.png   | Bin 89212 -> 187820 bytes
 .../images/intellij/intellij-config-2.png       | Bin 259619 -> 0 bytes
 .../images/intellij/intellij-dependencies.png   | Bin 238042 -> 0 bytes
 .../intellij/intellij-module-settings.png       | Bin 0 -> 471191 bytes
 .../images/intellij/intellij-scala-plugin-2.png | Bin 128386 -> 244855 bytes
 .../images/intellij/pio-runtime-jar-deps.png    | Bin 258163 -> 0 bytes
 .../source/images/intellij/pio-runtime-jars.png | Bin 650385 -> 0 bytes
 .../images/intellij/pio-train-env-vars.png      | Bin 0 -> 212997 bytes
 .../manual/source/images/intellij/pio-train.png | Bin 0 -> 274725 bytes
 .../source/resources/intellij.html.md.erb       | 218 +++++++++++--------
 11 files changed, 136 insertions(+), 96 deletions(-)
----------------------------------------------------------------------



[26/29] predictionio git commit: [PIO-141] Web-page nit picks

Posted by sh...@apache.org.
[PIO-141] Web-page nit picks

Address comments from the community


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/52a08919
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/52a08919
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/52a08919

Branch: refs/heads/master
Commit: 52a089195ba1e06be5798161e7d88669be58d72e
Parents: fdd3e84
Author: Donald Szeto <do...@apache.org>
Authored: Mon Sep 10 13:25:18 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Mon Sep 10 13:25:18 2018 -0700

----------------------------------------------------------------------
 docs/manual/data/nav/main.yml                       |  2 +-
 docs/manual/source/community/contribute-sdk.html.md |  6 +++---
 docs/manual/source/evaluation/index.html.md         |  2 +-
 docs/manual/source/index.html.md.erb                | 11 +++++------
 docs/manual/source/partials/_footer.html.slim       |  4 ++--
 5 files changed, 12 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/52a08919/docs/manual/data/nav/main.yml
----------------------------------------------------------------------
diff --git a/docs/manual/data/nav/main.yml b/docs/manual/data/nav/main.yml
index 24ad8d6..95516be 100644
--- a/docs/manual/data/nav/main.yml
+++ b/docs/manual/data/nav/main.yml
@@ -118,7 +118,7 @@ root:
         body: 'Event Server Plugin'
         url: '/datacollection/plugin/'
   -
-    body: 'Choosing an Algorithm(s)'
+    body: 'Choosing an Algorithm'
     url: '#'
     children:
       -

http://git-wip-us.apache.org/repos/asf/predictionio/blob/52a08919/docs/manual/source/community/contribute-sdk.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/community/contribute-sdk.html.md b/docs/manual/source/community/contribute-sdk.html.md
index 7065e30..2f9f7a2 100644
--- a/docs/manual/source/community/contribute-sdk.html.md
+++ b/docs/manual/source/community/contribute-sdk.html.md
@@ -19,9 +19,9 @@ See the License for the specific language governing permissions and
 limitations under the License.
 -->
 
-A SDK should provide convenient methods for client applications to easily
-record users' behaviors in Apache PredictionIO's Event Server and
-also query recommendations from the ML Engines. Therefore, a SDK typically has 2
+A SDK should provide convenient methods for client applications to easily record
+users' behaviors in Apache PredictionIO's Event Server and also query
+recommendations from machine learning Engines. Therefore, a SDK typically has 2
 corresponding clients: `Event Client` and `Engine Client`.
 
 The following guideline bases on the REST API provided by Apache PredictionIO's

http://git-wip-us.apache.org/repos/asf/predictionio/blob/52a08919/docs/manual/source/evaluation/index.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/evaluation/index.html.md b/docs/manual/source/evaluation/index.html.md
index 66943e1..1cf01f4 100644
--- a/docs/manual/source/evaluation/index.html.md
+++ b/docs/manual/source/evaluation/index.html.md
@@ -1,5 +1,5 @@
 ---
-title: ML Tuning and Evaluation
+title: Tuning and Evaluation
 ---
 
 <!--

http://git-wip-us.apache.org/repos/asf/predictionio/blob/52a08919/docs/manual/source/index.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/index.html.md.erb b/docs/manual/source/index.html.md.erb
index 09eaed8..db320e5 100644
--- a/docs/manual/source/index.html.md.erb
+++ b/docs/manual/source/index.html.md.erb
@@ -45,9 +45,9 @@ learning stack, bundled with **Apache Spark**, **MLlib**, **HBase**, **Spray**
 and **Elasticsearch**, which simplifies and accelerates scalable machine
 learning infrastructure management.
 
-| Getting Started | Developer Guides | ML Education and Usage | PredictionIO SDKs |
-| --------------- | ---------------- | ---------------------- | ----------------- |
-| [Quick Intro](/start/) | [System Architecture](/system/) | [Comics Recommendation](/demo/tapster/) | [Java](/sdk/java/) |
+| Getting Started | Developer Guides | Machine Learning Education and Usage | PredictionIO SDKs |
+| --------------- | ---------------- | ------------------------------------ | ----------------- |
+| [Quick Intro](/start/) | [System Architecture](/system/) | [Demo: Recommending Comics](/demo/tapster/) | [Java](/sdk/java/) |
 | [Installation Guide](/install/) | [Event Server Overview](/datacollection/) | [Text Classification](/demo/textclassification/) | [PHP](/sdk/php/) |
 | [Downloading Template](/start/download/) | [Collecting Data](/datacollection/eventapi/) | [Community Contributed Demo](/demo/community/) | [Python](/sdk/python/) |
 | [Deploying an Engine](/start/deploy/) | [Learning DASE](/customize/) |[Dimensionality Reduction](/machinelearning/dimensionalityreduction/)| [Ruby](/sdk/ruby/) |
@@ -59,9 +59,8 @@ learning infrastructure management.
 
 ## Release Notes
 
-A summary of the changes in each release before migrating to Apache Software
-Foundation are on GitHub
-[here](https://github.com/PredictionIO/PredictionIO/blob/master/RELEASE.md).
+A summary of changes in each release can be found
+[here](https://github.com/apache/predictionio/blob/master/RELEASE.md).
 
 ## Licensing
 

http://git-wip-us.apache.org/repos/asf/predictionio/blob/52a08919/docs/manual/source/partials/_footer.html.slim
----------------------------------------------------------------------
diff --git a/docs/manual/source/partials/_footer.html.slim b/docs/manual/source/partials/_footer.html.slim
index 5a5c1a2..f7b91b8 100644
--- a/docs/manual/source/partials/_footer.html.slim
+++ b/docs/manual/source/partials/_footer.html.slim
@@ -34,8 +34,8 @@ footer
             = image_tag 'logos/logo-white.png', alt: 'PredictionIO'
             span ®
           #social-icons-wrapper
-            a.github-button> href="https://github.com/apache/predictionio" data-style="mega" data-count-href="/apache/predictionio/stargazers" data-count-api="/repos/apache/predictionio#stargazers_count" data-count-aria-label="# stargazers on GitHub" aria-label="Star apache/predictionio on GitHub" Star
-            a.github-button> href="https://github.com/apache/predictionio/fork" data-icon="octicon-git-branch" data-style="mega" data-count-href="/apache/predictionio/network" data-count-api="/repos/apache/predictionio#forks_count" data-count-aria-label="# forks on GitHub" aria-label="Fork apache/predictionio on GitHub" Fork
+            a.github-button> href="https://github.com/apache/predictionio" data-icon="octicon-star" data-show-count="true" aria-label="Star apache/predictionio on GitHub" Star
+            a.github-button> href="https://github.com/apache/predictionio/fork" data-icon="octicon-repo-forked" data-show-count="true" aria-label="Fork apache/predictionio on GitHub" Fork
             script#github-bjs(async defer src="https://buttons.github.io/buttons.js")
             a> href="https://twitter.com/predictionio" target="blank"
               = image_tag 'icons/twitter.png', alt: 'PredictionIO on Twitter'


[22/29] predictionio git commit: Update community.html.md

Posted by sh...@apache.org.
Update community.html.md

OnTapp website is offline now. Updated link to writeup.

Closes #460


Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/1a8babee
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/1a8babee
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/1a8babee

Branch: refs/heads/master
Commit: 1a8babeeaf66f71c5240482d1677cafba3120443
Parents: 1c8ea8a
Author: Julien Gremillot <ju...@gremillot.net>
Authored: Sun Sep 2 20:11:45 2018 -0700
Committer: Donald Szeto <do...@apache.org>
Committed: Sun Sep 2 20:12:24 2018 -0700

----------------------------------------------------------------------
 docs/manual/source/demo/community.html.md | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/predictionio/blob/1a8babee/docs/manual/source/demo/community.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/demo/community.html.md b/docs/manual/source/demo/community.html.md
index e88196c..afd2bac 100644
--- a/docs/manual/source/demo/community.html.md
+++ b/docs/manual/source/demo/community.html.md
@@ -51,9 +51,7 @@ URL: http://nogoodgamez.com
 
 Beer recommendation app built by [Victor Leung](https://twitter.com/victorleungtw).
 
-URL: http://ontappapp.com/
-
-Writeup: http://victorleungtw.com/prediction-io/
+Writeup: https://medium.com/@victorleungtw/beer-recommendation-engine-using-predictionio-36488ea0c50d
 
 
 ## Yelpio