You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by do...@apache.org on 2016/08/11 17:14:32 UTC

[1/5] incubator-predictionio git commit: Miscellaneous typos and corrections in documentation

Repository: incubator-predictionio
Updated Branches:
  refs/heads/develop 326e910a5 -> 8565a7394


Miscellaneous typos and corrections in documentation


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

Branch: refs/heads/develop
Commit: 9e110ce15fd205b98db79c6e8cb386767bd78ad8
Parents: 326e910
Author: hyukjinkwon <gu...@gmail.com>
Authored: Wed Aug 10 10:19:16 2016 +0900
Committer: hyukjinkwon <gu...@gmail.com>
Committed: Wed Aug 10 11:04:29 2016 +0900

----------------------------------------------------------------------
 data/test-normal.sh                                   |  2 +-
 data/test3.sh                                         | 14 +++++++-------
 .../tutorials/enginebuilders/stepbystep/index.html.md |  2 +-
 docs/manual/source/datacollection/eventapi.html.md    |  2 +-
 .../source/partials/shared/install/_postgres.html.erb |  2 +-
 .../source/templates/classification/dase.html.md.erb  |  2 +-
 .../templates/classification/quickstart.html.md.erb   |  8 ++++----
 .../complementarypurchase/quickstart.html.md.erb      |  2 +-
 .../ecommercerecommendation/dase.html.md.erb          |  2 +-
 .../ecommercerecommendation/quickstart.html.md.erb    |  8 ++++----
 .../quickstart.html.md.erb                            |  8 ++++----
 .../templates/leadscoring/quickstart.html.md.erb      |  4 ++--
 .../source/templates/productranking/dase.html.md.erb  |  2 +-
 .../templates/productranking/quickstart.html.md.erb   |  6 +++---
 .../source/templates/similarproduct/dase.html.md.erb  |  2 +-
 .../multi-events-multi-algos.html.md.erb              |  2 +-
 16 files changed, 34 insertions(+), 34 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/data/test-normal.sh
----------------------------------------------------------------------
diff --git a/data/test-normal.sh b/data/test-normal.sh
index 20b60d6..55a3c86 100755
--- a/data/test-normal.sh
+++ b/data/test-normal.sh
@@ -23,7 +23,7 @@ curl -i -X POST http://localhost:7070/events.json?accessKey=$1 \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "my_event1",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "uid",
   "eventTime" : "2004-12-13T21:39:45.618-07:00"
 }' \

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/data/test3.sh
----------------------------------------------------------------------
diff --git a/data/test3.sh b/data/test3.sh
index 98dac9d..488c7c0 100755
--- a/data/test3.sh
+++ b/data/test3.sh
@@ -21,7 +21,7 @@ curl -i -X POST http://localhost:7070/events.json?accessKey=testingkeyasdfasdf \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "my_event1",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "uid",
   "eventTime" : "2004-12-13T21:39:45.618-07:00"
 }'
@@ -30,7 +30,7 @@ curl -i -X POST http://localhost:7070/events.json?accessKey=yT8WHQMkQLBPxGdcGWst
 -H "Content-Type: application/json" \
 -d '{
   "event" : "my_event1",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "uid",
   "eventTime" : "2004-12-13T21:39:45.618-07:00"
 }'
@@ -40,7 +40,7 @@ curl -i -X POST http://localhost:7070/events.json \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "my_event2",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "uid",
   "eventTime" : "2004-12-14T21:39:45.618-07:00"
 }'
@@ -50,7 +50,7 @@ curl -i -X POST http://localhost:7070/events.json \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "my_event3",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "uid",
   "eventTime" : "2004-12-11T21:39:45.618-07:00"
 }'
@@ -59,7 +59,7 @@ curl -i -X POST http://localhost:7070/events.json \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "my_event4",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "uid2",
   "eventTime" : "2004-12-11T22:39:45.618-07:00"
 }'
@@ -68,7 +68,7 @@ curl -i -X POST http://localhost:7070/events.json \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "my_event5",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "uid2",
   "eventTime" : "2004-12-14T21:39:45.618-07:00"
 }'
@@ -77,7 +77,7 @@ curl -i -X POST http://localhost:7070/events.json \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "my_event1",
-  "entityType" : "item"
+  "entityType" : "item",
   "entityId" : "uid",
   "eventTime" : "2004-12-13T21:39:45.618-07:00"
 }'

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/index.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/index.html.md b/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/index.html.md
index 9d9aaa7..7e3d9d2 100644
--- a/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/index.html.md
+++ b/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/index.html.md
@@ -10,7 +10,7 @@ These series of tutorials will walk through each components of **PredictionIO**.
 We will demonstrate how to develop your machine learning algorithms and
 prediction engines, deploy them and serve real time prediction queries, develop
 your metrics to run offline evaluations, and improve prediction engine by using
-multiple algoritms.
+multiple algorithms.
 
 > You need to build PredictionIO from source in order to build your own engine.
 Please follow instructions to build from source

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/docs/manual/source/datacollection/eventapi.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/datacollection/eventapi.html.md b/docs/manual/source/datacollection/eventapi.html.md
index 0e59c0a..5fcf852 100644
--- a/docs/manual/source/datacollection/eventapi.html.md
+++ b/docs/manual/source/datacollection/eventapi.html.md
@@ -94,7 +94,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=WPgcXKd42FPQpZHVbV
 -H "Content-Type: application/json" \
 -d '{
   "event" : "my_event",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "uid",
   "properties" : {
     "prop1" : 1,

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/docs/manual/source/partials/shared/install/_postgres.html.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/partials/shared/install/_postgres.html.erb b/docs/manual/source/partials/shared/install/_postgres.html.erb
index 4b19116..15c6024 100644
--- a/docs/manual/source/partials/shared/install/_postgres.html.erb
+++ b/docs/manual/source/partials/shared/install/_postgres.html.erb
@@ -12,7 +12,7 @@ apt-get install postgresql-9.4
 
 Now that PostgreSQL is installed use the following comands
 
-`$ createdb pio` 
+`$ createdb pio`
 
 If you get an error of the form `could not connect to server: No such file or directory`, then you must first start the server manually,:
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/docs/manual/source/templates/classification/dase.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/classification/dase.html.md.erb b/docs/manual/source/templates/classification/dase.html.md.erb
index f3ac648..b7df1b6 100644
--- a/docs/manual/source/templates/classification/dase.html.md.erb
+++ b/docs/manual/source/templates/classification/dase.html.md.erb
@@ -219,7 +219,7 @@ MyClassification/***engine.json***:
 ```
 
 PredictionIO will automatically loads these values into the constructor `ap`,
-which has a corresponding case case `AlgorithmParams`:
+which has a corresponding case class `AlgorithmParams`:
 
 ```scala
 case class AlgorithmParams(

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/docs/manual/source/templates/classification/quickstart.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/classification/quickstart.html.md.erb b/docs/manual/source/templates/classification/quickstart.html.md.erb
index 12a01aa..fe75aca 100644
--- a/docs/manual/source/templates/classification/quickstart.html.md.erb
+++ b/docs/manual/source/templates/classification/quickstart.html.md.erb
@@ -66,7 +66,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "properties" : {
     "attr0" : 0,
@@ -183,7 +183,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u1",
   "properties" : {
     "attr0" : 0
@@ -195,7 +195,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u1",
   "properties" : {
     "attr1" : 1,
@@ -208,7 +208,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u1",
   "properties" : {
     "plan" : 1

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/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 25b6e2b..b9eb964 100644
--- a/docs/manual/source/templates/complementarypurchase/quickstart.html.md.erb
+++ b/docs/manual/source/templates/complementarypurchase/quickstart.html.md.erb
@@ -60,7 +60,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "buy",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "targetEntityType" : "item",
   "targetEntityId" : "i0",

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/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 d3bf111..6a25a78 100644
--- a/docs/manual/source/templates/ecommercerecommendation/dase.html.md.erb
+++ b/docs/manual/source/templates/ecommercerecommendation/dase.html.md.erb
@@ -495,7 +495,7 @@ MyECommerceRecommendation/***engine.json***:
 The parameters `appName`, `unseenOnly`, `seenEvents` and `similarEvents` are used during `predict()`, which will be explained later.
 
 PredictionIO will automatically loads these values into the constructor `ap`,
-which has a corresponding case case `ECommAlgorithmParams`.
+which has a corresponding case class `ECommAlgorithmParams`.
 
 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).
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/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 ea2c425..57f8c46 100644
--- a/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb
+++ b/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb
@@ -80,7 +80,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "eventTime" : "2014-11-02T09:39:45.618-08:00"
 }'
@@ -173,7 +173,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "item"
+  "entityType" : "item",
   "entityId" : "i0",
   "properties" : {
     "categories" : ["c1", "c2"]
@@ -247,7 +247,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "view",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "targetEntityType" : "item",
   "targetEntityId" : "i0",
@@ -320,7 +320,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "buy",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "targetEntityType" : "item",
   "targetEntityId" : "i0",

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/docs/manual/source/templates/javaecommercerecommendation/quickstart.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/javaecommercerecommendation/quickstart.html.md.erb b/docs/manual/source/templates/javaecommercerecommendation/quickstart.html.md.erb
index 5dc2061..9b2de9b 100644
--- a/docs/manual/source/templates/javaecommercerecommendation/quickstart.html.md.erb
+++ b/docs/manual/source/templates/javaecommercerecommendation/quickstart.html.md.erb
@@ -81,7 +81,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "eventTime" : "2014-11-02T09:39:45.618-08:00"
 }'
@@ -174,7 +174,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "item"
+  "entityType" : "item",
   "entityId" : "i0",
   "properties" : {
     "categories" : ["c1", "c2"]
@@ -248,7 +248,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "view",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "targetEntityType" : "item",
   "targetEntityId" : "i0",
@@ -321,7 +321,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "buy",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "targetEntityType" : "item",
   "targetEntityId" : "i0",

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/docs/manual/source/templates/leadscoring/quickstart.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/leadscoring/quickstart.html.md.erb b/docs/manual/source/templates/leadscoring/quickstart.html.md.erb
index 5d5723c..8a66bbb 100644
--- a/docs/manual/source/templates/leadscoring/quickstart.html.md.erb
+++ b/docs/manual/source/templates/leadscoring/quickstart.html.md.erb
@@ -64,7 +64,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "view",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "targetEntityType" : "page",
   "targetEntityId" : "example.com/page0",
@@ -184,7 +184,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "buy",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "targetEntityType" : "item",
   "targetEntityId" : "i0",

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/docs/manual/source/templates/productranking/dase.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/productranking/dase.html.md.erb b/docs/manual/source/templates/productranking/dase.html.md.erb
index 6d27416..70ac2cc 100644
--- a/docs/manual/source/templates/productranking/dase.html.md.erb
+++ b/docs/manual/source/templates/productranking/dase.html.md.erb
@@ -416,7 +416,7 @@ MyProductRanking/***engine.json***:
 ```
 
 PredictionIO will automatically loads these values into the constructor `ap`,
-which has a corresponding case case `ALSAlgorithmParams`:
+which has a corresponding case class `ALSAlgorithmParams`:
 
 ```scala
 case class ALSAlgorithmParams(

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/docs/manual/source/templates/productranking/quickstart.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/productranking/quickstart.html.md.erb b/docs/manual/source/templates/productranking/quickstart.html.md.erb
index 555390a..1761780 100644
--- a/docs/manual/source/templates/productranking/quickstart.html.md.erb
+++ b/docs/manual/source/templates/productranking/quickstart.html.md.erb
@@ -57,7 +57,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "eventTime" : "2014-11-02T09:39:45.618-08:00"
 }'
@@ -144,7 +144,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "item"
+  "entityType" : "item",
   "entityId" : "i0",
   "eventTime" : "2014-11-02T09:39:45.618-08:00"
 }'
@@ -209,7 +209,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "view",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "targetEntityType" : "item",
   "targetEntityId" : "i0",

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/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 cac2b8e..64cfb67 100644
--- a/docs/manual/source/templates/similarproduct/dase.html.md.erb
+++ b/docs/manual/source/templates/similarproduct/dase.html.md.erb
@@ -425,7 +425,7 @@ MySimilarProduct/***engine.json***:
 ```
 
 PredictionIO will automatically loads these values into the constructor `ap`,
-which has a corresponding case case `ALSAlgorithmParams`:
+which has a corresponding case class `ALSAlgorithmParams`:
 
 ```scala
 case class ALSAlgorithmParams(

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/9e110ce1/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 d4fb789..b09f73d 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
@@ -267,7 +267,7 @@ class LikeAlgorithm(ap: ALSAlgorithmParams) extends ALSAlgorithm(ap) {
 
 ### Step 4. Modify Serving to combine multiple algorithms' outputs
 
-When the engine is deployed, the Query is sent to all algorithms of the engine. The PredictedResults returned by all algoritms are passed to Serving component for further processing, as you could see that the argument `predictedResults` of the `serve()` function is type of `Seq[PredictedResult]`.
+When the engine is deployed, the Query is sent to all algorithms of the engine. The PredictedResults returned by all algorithms are passed to Serving component for further processing, as you could see that the argument `predictedResults` of the `serve()` function is type of `Seq[PredictedResult]`.
 
 In this example, the `serve()` function at first standardizes the PredictedResults of each algorithm so that we can combine the scores of multiple algorithms by adding the scores of the same item. Then we can take the top N items as defined in `query`.
 


[2/5] incubator-predictionio git commit: Fix JSON

Posted by do...@apache.org.
Fix JSON

The JSON was malformed in a few examples.

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

Branch: refs/heads/develop
Commit: e8859151bbfff169309ff96a527d28e42754d78c
Parents: 9e110ce
Author: James Ward <ja...@jamesward.com>
Authored: Wed May 4 17:30:10 2016 -0600
Committer: hyukjinkwon <gu...@gmail.com>
Committed: Wed Aug 10 11:04:53 2016 +0900

----------------------------------------------------------------------
 .../source/templates/similarproduct/quickstart.html.md.erb     | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/e8859151/docs/manual/source/templates/similarproduct/quickstart.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/similarproduct/quickstart.html.md.erb b/docs/manual/source/templates/similarproduct/quickstart.html.md.erb
index 8f8c6d1..82af17f 100644
--- a/docs/manual/source/templates/similarproduct/quickstart.html.md.erb
+++ b/docs/manual/source/templates/similarproduct/quickstart.html.md.erb
@@ -77,7 +77,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "eventTime" : "2014-11-02T09:39:45.618-08:00"
 }'
@@ -165,7 +165,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "$set",
-  "entityType" : "item"
+  "entityType" : "item",
   "entityId" : "i0",
   "properties" : {
     "categories" : ["c1", "c2"]
@@ -243,7 +243,7 @@ $ curl -i -X POST http://localhost:7070/events.json?accessKey=$ACCESS_KEY \
 -H "Content-Type: application/json" \
 -d '{
   "event" : "view",
-  "entityType" : "user"
+  "entityType" : "user",
   "entityId" : "u0",
   "targetEntityType" : "item",
   "targetEntityId" : "i0",


[5/5] incubator-predictionio git commit: Fix spelling mistakes

Posted by do...@apache.org.
Fix spelling mistakes

Fix all of the mispelled "algorithm" spelling mistakes and that engne.json to engine.json

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

Branch: refs/heads/develop
Commit: 8565a7394ca8da2b7686e24afb7d9ddb68e76d63
Parents: ba4d2ce
Author: IAlwaysBeCoding <er...@gmail.com>
Authored: Sat May 21 21:49:09 2016 -0500
Committer: hyukjinkwon <gu...@gmail.com>
Committed: Wed Aug 10 11:05:26 2016 +0900

----------------------------------------------------------------------
 .../source/templates/classification/add-algorithm.html.md      | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/8565a739/docs/manual/source/templates/classification/add-algorithm.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/classification/add-algorithm.html.md b/docs/manual/source/templates/classification/add-algorithm.html.md
index c1a1e8b..f8665ee 100644
--- a/docs/manual/source/templates/classification/add-algorithm.html.md
+++ b/docs/manual/source/templates/classification/add-algorithm.html.md
@@ -26,7 +26,7 @@ import org.apache.spark.mllib.tree.RandomForest // CHANGED
 import org.apache.spark.mllib.tree.model.RandomForestModel // CHANGED
 ```
 
-These are the necessary classes in order to use the MLLib's Random Forest algporithm.
+These are the necessary classes in order to use the MLLib's Random Forest algorithm.
 
 Modify the `AlgorithmParams` class for the Random Forest algorithm:
 
@@ -88,10 +88,10 @@ class RandomForestAlgorithm(val ap: RandomForestAlgorithmParams) // CHANGED
 
 }
 ```
-Note that the MLlib Random Forest algorithm takes the same training data as the Navie Bayes algoithm (ie, RDD[LabeledPoint]) so you don't need to modify the `DataSource`, `TrainigData` and `PreparedData` classes. If the new algoritm to be added requires different types of training data, then you need to modify these classes accordingly to accomodate your new algorithm.
+Note that the MLlib Random Forest algorithm takes the same training data as the Navie Bayes algorithm (ie, RDD[LabeledPoint]) so you don't need to modify the `DataSource`, `TrainigData` and `PreparedData` classes. If the new algorithm to be added requires different types of training data, then you need to modify these classes accordingly to accomodate your new algorithm.
 ##  Update Engine.scala
 
-Modify the EngineFactory to add the new algorithm class `RandomForestAlgorithm` you just defined and give it a name `"randomforest"`. The name will be used in `engne.json` to specify which algorithm to use.
+Modify the EngineFactory to add the new algorithm class `RandomForestAlgorithm` you just defined and give it a name `"randomforest"`. The name will be used in `engine.json` to specify which algorithm to use.
 
 ```scala
 object ClassificationEngine extends IEngineFactory {


[4/5] incubator-predictionio git commit: Update dase.html.md.erb

Posted by do...@apache.org.
Update dase.html.md.erb

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

Branch: refs/heads/develop
Commit: ba4d2ce1b41a6f57d8e8beee12a2c5695cacddb9
Parents: 8b8b38b
Author: LinkThrow <hu...@uselinkthrow.com>
Authored: Thu Apr 21 13:42:10 2016 +0100
Committer: hyukjinkwon <gu...@gmail.com>
Committed: Wed Aug 10 11:05:24 2016 +0900

----------------------------------------------------------------------
 docs/manual/source/templates/recommendation/dase.html.md.erb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ba4d2ce1/docs/manual/source/templates/recommendation/dase.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/recommendation/dase.html.md.erb b/docs/manual/source/templates/recommendation/dase.html.md.erb
index 1924d21..72b7860 100644
--- a/docs/manual/source/templates/recommendation/dase.html.md.erb
+++ b/docs/manual/source/templates/recommendation/dase.html.md.erb
@@ -323,7 +323,7 @@ MyRecommendation/***engine.json***:
 ```
 
 PredictionIO will automatically loads these values into the constructor `ap`,
-which has a corresponding case case `ALSAlgorithmParams`:
+which has a corresponding case class `ALSAlgorithmParams`:
 
 ```scala
 case class ALSAlgorithmParams(


[3/5] incubator-predictionio git commit: Fix postgres code highlight

Posted by do...@apache.org.
Fix postgres code highlight


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

Branch: refs/heads/develop
Commit: 8b8b38b9096b0dd478c1e5192af9c78899fd9b9c
Parents: e885915
Author: Shane Auckland <sh...@gmail.com>
Authored: Tue Apr 12 14:58:52 2016 +0100
Committer: hyukjinkwon <gu...@gmail.com>
Committed: Wed Aug 10 11:05:16 2016 +0900

----------------------------------------------------------------------
 .../source/partials/shared/install/_postgres.html.erb   | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/8b8b38b9/docs/manual/source/partials/shared/install/_postgres.html.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/partials/shared/install/_postgres.html.erb b/docs/manual/source/partials/shared/install/_postgres.html.erb
index 15c6024..4901a5c 100644
--- a/docs/manual/source/partials/shared/install/_postgres.html.erb
+++ b/docs/manual/source/partials/shared/install/_postgres.html.erb
@@ -12,14 +12,20 @@ apt-get install postgresql-9.4
 
 Now that PostgreSQL is installed use the following comands
 
-`$ createdb pio`
+```
+$ createdb pio
+``` 
 
 If you get an error of the form `could not connect to server: No such file or directory`, then you must first start the server manually,:
 
-`$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start`
+```
+$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
+```
 
 Finally use the command:
 
-`$ psql -c "create user pio with password 'pio'"
+```
+$ psql -c "create user pio with password 'pio'"
+```
 
 Your configuration  in `pio-env.sh` is now compatible to run with PostgreSQL.