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/07/18 20:18:04 UTC

[33/34] incubator-predictionio git commit: also change docs

also change docs


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

Branch: refs/heads/develop
Commit: ed9d62d7894979412b11c258a28d5ca28f357e88
Parents: 64280b1
Author: Xusen Yin <yi...@gmail.com>
Authored: Thu Jul 7 23:50:02 2016 -0700
Committer: Xusen Yin <yi...@gmail.com>
Committed: Thu Jul 7 23:50:02 2016 -0700

----------------------------------------------------------------------
 docs/javadoc/javadoc-overview.html              |  8 +++----
 .../manual/obsolete/cookbook/evaluation.html.md |  4 ++--
 .../cookbook/filteringunavailable.html.md       |  6 ++---
 docs/manual/obsolete/engines/index.html.md      |  4 ++--
 .../obsolete/engines/itemrank/index.html.md     | 10 ++++----
 .../obsolete/engines/itemrec/index.html.md      |  2 +-
 .../obsolete/engines/itemsim/index.html.md      |  2 +-
 .../enginebuilders/local-helloworld.html.md     |  6 ++---
 .../stepbystep/combiningalgorithms.html.md      | 10 ++++----
 .../stepbystep/dataalgorithm.html.md            | 12 +++++-----
 .../stepbystep/evaluation.html.md               | 12 +++++-----
 .../stepbystep/testcomponents.html.md           |  4 ++--
 .../tutorials/engines/quickstart.html.md        | 22 +++++++++---------
 .../tutorials/recommendation/movielens.html.md  |  6 ++---
 .../tutorials/recommendation/yelp.html.md       | 10 ++++----
 .../source/community/contribute-webhook.html.md | 24 ++++++++++----------
 docs/manual/source/customize/dase.html.md.erb   | 14 ++++++------
 .../source/customize/troubleshooting.html.md    | 14 ++++++------
 .../source/datacollection/eventapi.html.md      |  2 +-
 .../datacollection/eventmodel.html.md.erb       | 10 ++++----
 .../source/demo/textclassification.html.md      |  6 ++---
 .../dimensionalityreduction.html.md             |  6 ++---
 .../shared/install/_dependent_services.html.erb |  4 ++--
 docs/manual/source/resources/faq.html.md        |  4 ++--
 .../source/resources/intellij.html.md.erb       |  6 ++---
 docs/manual/source/resources/upgrade.html.md    | 20 ++++++++--------
 docs/manual/source/sdk/java.html.md.erb         |  2 +-
 docs/manual/source/sdk/php.html.md.erb          |  2 +-
 .../source/system/anotherdatastore.html.md      |  4 ++--
 .../classification/quickstart.html.md.erb       |  6 ++---
 .../quickstart.html.md.erb                      |  6 ++---
 .../quickstart.html.md.erb                      |  6 ++---
 .../quickstart.html.md.erb                      |  6 ++---
 .../leadscoring/quickstart.html.md.erb          |  6 ++---
 .../productranking/quickstart.html.md.erb       |  6 ++---
 .../recommendation/batch-evaluator.html.md      | 24 ++++++++++----------
 .../recommendation/customize-data-prep.html.md  |  2 +-
 .../recommendation/customize-serving.html.md    |  4 ++--
 .../recommendation/quickstart.html.md.erb       |  6 ++---
 .../multi-events-multi-algos.html.md.erb        |  2 +-
 .../similarproduct/quickstart.html.md.erb       |  6 ++---
 .../templates/vanilla/quickstart.html.md.erb    |  2 +-
 docs/scaladoc/rootdoc.txt                       |  4 ++--
 43 files changed, 161 insertions(+), 161 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/javadoc/javadoc-overview.html
----------------------------------------------------------------------
diff --git a/docs/javadoc/javadoc-overview.html b/docs/javadoc/javadoc-overview.html
index d93a61c..8561f1e 100644
--- a/docs/javadoc/javadoc-overview.html
+++ b/docs/javadoc/javadoc-overview.html
@@ -5,13 +5,13 @@
   <p>
     If you are building a prediction engine, the most interesting package would
     be <a
-    href="{@docRoot}/io/prediction/controller/java/package-summary.html">io.prediction.controller.java</a>
+    href="{@docRoot}/org.apache.predictionio/controller/java/package-summary.html">org.apache.predictionio.controller.java</a>
     and <a
-    href="{@docRoot}/io/prediction/data/store/java/package-summary.html">io.prediction.data.store.java</a>
+    href="{@docRoot}/org.apache.predictionio/data/store/java/package-summary.html">org.apache.predictionio.data.store.java</a>
     You may also want to look at <a
-    href="{@docRoot}/io/prediction/controller/package-summary.html">io.prediction.controller</a>,
+    href="{@docRoot}/org.apache.predictionio/controller/package-summary.html">org.apache.predictionio.controller</a>,
     as some functionality, such as custom model persistence {@link
-    io.prediction.controller.PersistentModel}, are provided directly by that
+    org.apache.predictionio.controller.PersistentModel}, are provided directly by that
     package.
   </p>
 </body>

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/cookbook/evaluation.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/cookbook/evaluation.html.md b/docs/manual/obsolete/cookbook/evaluation.html.md
index 683a449..66b4914 100644
--- a/docs/manual/obsolete/cookbook/evaluation.html.md
+++ b/docs/manual/obsolete/cookbook/evaluation.html.md
@@ -300,7 +300,7 @@ up and running.
 
 ```
 $ cd $PIO_HOME/examples/scala-local-movielens-evaluation
-$ $PIO_HOME/bin/pio run io.prediction.examples.mlc.Evaluation1 -- \
+$ $PIO_HOME/bin/pio run org.apache.predictionio.examples.mlc.Evaluation1 -- \
   --master spark://`hostname`:7077
 ...
 2014-10-07 19:09:47,136 INFO  workflow.CoreWorkflow$ - Saved engine instance with ID: nfUVwwgMQOqgpb5QEUdAGg
@@ -331,7 +331,7 @@ the evaluation to 12 periods, each period last 1 week. `Evaluation2` perform
 this task. We can run it with the following command:
 
 ```
-$ $PIO_HOME/bin/pio run io.prediction.examples.mlc.Evaluation2 -- \
+$ $PIO_HOME/bin/pio run org.apache.predictionio.examples.mlc.Evaluation2 -- \
   --master spark://`hostname`:7077
 ```
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/cookbook/filteringunavailable.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/cookbook/filteringunavailable.html.md b/docs/manual/obsolete/cookbook/filteringunavailable.html.md
index 1ee0c6c..765d7c3 100644
--- a/docs/manual/obsolete/cookbook/filteringunavailable.html.md
+++ b/docs/manual/obsolete/cookbook/filteringunavailable.html.md
@@ -21,7 +21,7 @@ When a Query comes in, it is passed to the Algorithm components for making Predi
 Predictions into one, and returns it.
 
 The ItemRec Engine's component can be found it its static factory class
-`io.prediction.engines.itemrec.ItemRecEngine`. It looks like the following:
+`org.apache.predictionio.engines.itemrec.ItemRecEngine`. It looks like the following:
 
 ```scala
 object ItemRecEngine extends IEngineFactory {
@@ -75,7 +75,7 @@ You can create new engine project in any directory.
 $ $PIO_HOME/bin/pio new scala-local-movielens-filtering
 # Copy ItemRec Engine default settings to the same directory
 $ $PIO_HOME/bin/pio instance --directory-name scala-local-movielens-filtering \
-    io.prediction.engines.itemrec
+    org.apache.predictionio.engines.itemrec
 $ cd scala-local-movielens-filtering
 ```
 
@@ -145,7 +145,7 @@ This project depends on the builtin engines, hence in `build.sbt` under project
 ```scala
 libraryDependencies ++= Seq(
   ...
-  "io.prediction"    %% "engines"       % "0.8.2" % "provided",
+  "org.apache.predictionio"    %% "engines"       % "0.8.2" % "provided",
   ...
 ```
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/engines/index.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/engines/index.html.md b/docs/manual/obsolete/engines/index.html.md
index a055ad7..0cebfb7 100644
--- a/docs/manual/obsolete/engines/index.html.md
+++ b/docs/manual/obsolete/engines/index.html.md
@@ -18,8 +18,8 @@ based on the default Item Recommendation Engine. The new project will contain
 configuration for your engine instance.
 
 ```
-$ $PIO_HOME/bin/pio instance io.prediction.engines.itemrec
-$ cd io.prediction.engines.itemrec
+$ $PIO_HOME/bin/pio instance org.apache.predictionio.engines.itemrec
+$ cd org.apache.predictionio.engines.itemrec
 $ $PIO_HOME/bin/pio register
 ```
 where `$PIO_HOME` is your installation path of PredictionIO.

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/engines/itemrank/index.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/engines/itemrank/index.html.md b/docs/manual/obsolete/engines/itemrank/index.html.md
index 96d872e..118751a 100644
--- a/docs/manual/obsolete/engines/itemrank/index.html.md
+++ b/docs/manual/obsolete/engines/itemrank/index.html.md
@@ -88,7 +88,7 @@ event_client.set_user('id_1',
   <div data-tab="Java SDK" data-lang="java">
 ```java
 import com.google.common.collect.ImmutableMap;
-import io.prediction.EventClient;
+import org.apache.predictionio.EventClient;
 import org.joda.time.DateTime;
 
 EventClient eventClient = new EventClient(1);
@@ -155,7 +155,7 @@ event_client.set_item('id_3',
 ```java
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
-import io.prediction.EventClient;
+import org.apache.predictionio.EventClient;
 import java.util.Map;
 import org.joda.time.DateTime;
 
@@ -223,7 +223,7 @@ event_client.record_user_action_on_item('view', 'id_1', 'id_3',
   <div data-tab="Java SDK" data-lang="java">
 ```java
 import com.google.common.collect.ImmutableMap;
-import io.prediction.EventClient;
+import org.apache.predictionio.EventClient;
 import org.joda.time.DateTime;
 
 eventClient.userActionItem("view", "id_1", "id_3", ImmutableMap.<String, Object>of(),
@@ -288,7 +288,7 @@ event_client.record_user_action_on_item('view', 'id_1', 'id_3',
   <div data-tab="Java SDK" data-lang="java">
 ```java
 import com.google.common.collect.ImmutableMap;
-import io.prediction.EventClient;
+import org.apache.predictionio.EventClient;
 import java.util.Map;
 import org.joda.time.DateTime;
 
@@ -442,7 +442,7 @@ puts predictions
 ```java
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 import org.joda.time.DateTime;
 
 EngineClient engineClient = new EngineClient(apiURL);

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/engines/itemrec/index.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/engines/itemrec/index.html.md b/docs/manual/obsolete/engines/itemrec/index.html.md
index e30e548..3de6500 100644
--- a/docs/manual/obsolete/engines/itemrec/index.html.md
+++ b/docs/manual/obsolete/engines/itemrec/index.html.md
@@ -106,7 +106,7 @@ puts predictions
   <div data-tab="Java SDK" data-lang="java">
 ```java
 import com.google.common.collect.ImmutableMap;
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 EngineClient engineClient = new EngineClient("http://localhost:9993");
 engineClient.sendQuery(ImmutableMap.<String, Object>of(

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/engines/itemsim/index.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/engines/itemsim/index.html.md b/docs/manual/obsolete/engines/itemsim/index.html.md
index 73595c0..ba41c48 100644
--- a/docs/manual/obsolete/engines/itemsim/index.html.md
+++ b/docs/manual/obsolete/engines/itemsim/index.html.md
@@ -104,7 +104,7 @@ puts predictions
 ```java
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 EngineClient engineClient = new EngineClient("http://localhost:9997");
 engineClient.sendQuery(ImmutableMap.<String, Object>of(

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/tutorials/enginebuilders/local-helloworld.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/tutorials/enginebuilders/local-helloworld.html.md b/docs/manual/obsolete/tutorials/enginebuilders/local-helloworld.html.md
index afddd83..75a1f8e 100644
--- a/docs/manual/obsolete/tutorials/enginebuilders/local-helloworld.html.md
+++ b/docs/manual/obsolete/tutorials/enginebuilders/local-helloworld.html.md
@@ -250,7 +250,7 @@ Create a new file <code>src/main/java/MyDataSource.java</code>:
 ```java
 package myorg;
 
-import io.prediction.controller.java.*;
+import org.apache.predictionio.controller.java.*;
 
 import java.util.List;
 import java.util.ArrayList;
@@ -329,7 +329,7 @@ Create a new file <code>src/main/java/MyAlgorithm.java</code>:
 ```java
 package myorg;
 
-import io.prediction.controller.java.*;
+import org.apache.predictionio.controller.java.*;
 
 import java.util.Map;
 import java.util.HashMap;
@@ -402,7 +402,7 @@ Create a new file <code>src/main/java/MyEngineFactory.java</code>:
 ```java
 package myorg;
 
-import io.prediction.controller.java.*;
+import org.apache.predictionio.controller.java.*;
 
 public class MyEngineFactory implements IJavaEngineFactory {
   public JavaSimpleEngine<MyTrainingData, EmptyDataParams, MyQuery, MyPredictedResult,

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/combiningalgorithms.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/combiningalgorithms.html.md b/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/combiningalgorithms.html.md
index d24fdd9..4a09a3a 100644
--- a/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/combiningalgorithms.html.md
+++ b/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/combiningalgorithms.html.md
@@ -74,7 +74,7 @@ This part is simliar to earlier tutorials.
 
 ```
 $ cd $PIO_HOME/examples/java-local-tutorial
-$ ../../bin/pio run io.prediction.examples.java.recommendations.tutorial4.Runner4a -- -- data/ml-100k/
+$ ../../bin/pio run org.apache.predictionio.examples.java.recommendations.tutorial4.Runner4a -- -- data/ml-100k/
 ```
 where `$PIO_HOME` is the root directory of the PredictionIO code tree.
 
@@ -128,7 +128,7 @@ And you can test it out with
 
 ```bash
 $ cd $PIO_HOME/examples/java-local-tutorial
-$ ../../bin/pio run io.prediction.examples.java.recommendations.tutorial4.Runner4b -- -- data/ml-100k/
+$ ../../bin/pio run org.apache.predictionio.examples.java.recommendations.tutorial4.Runner4b -- -- data/ml-100k/
 ```
 
 You should see
@@ -210,7 +210,7 @@ engine](https://github.com/PredictionIO/PredictionIO/tree/master/examples/java-l
 
 ```bash
 $ cd $PIO_HOME/examples/java-local-tutorial
-$ ../../bin/pio run io.prediction.examples.java.recommendations.tutorial4.Runner4c -- -- data/ml-100k/
+$ ../../bin/pio run org.apache.predictionio.examples.java.recommendations.tutorial4.Runner4c -- -- data/ml-100k/
 ```
 
 ## Deployment
@@ -374,10 +374,10 @@ for the engine, and register it with PredictionIO. Here's the content:
 
 ```json
 {
-  "id": "io.prediction.examples.java.recommendations.tutorial4.EngineFactory",
+  "id": "org.apache.predictionio.examples.java.recommendations.tutorial4.EngineFactory",
   "version": "0.8.2",
   "name": "FeatureBased Recommendations Engine",
-  "engineFactory": "io.prediction.examples.java.recommendations.tutorial4.EngineFactory"
+  "engineFactory": "org.apache.predictionio.examples.java.recommendations.tutorial4.EngineFactory"
 }
 ```
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/dataalgorithm.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/dataalgorithm.html.md b/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/dataalgorithm.html.md
index 4b65912..1e109ed 100644
--- a/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/dataalgorithm.html.md
+++ b/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/dataalgorithm.html.md
@@ -78,7 +78,7 @@ the path of file containing the rating data.
 Note that each controller component (*DataSource, Preparator, Algorithm, Serving
 and Metrics*) is restricted to having empty constructor or constructor which
 takes exactly one argument which must implement the
-`io.prediction.controller.java.JavaParams` interface.
+`org.apache.predictionio.controller.java.JavaParams` interface.
 
 We can define the DataSource parameter class as following (in
 `DataSourceParams.java`):
@@ -94,7 +94,7 @@ public class DataSourceParams implements JavaParams {
 ```
 
 The *DataSource* component must extend
-`io.prediction.controller.java.LJavaDataSource`:
+`org.apache.predictionio.controller.java.LJavaDataSource`:
 
 ```java
 public abstract class LJavaDataSource<DSP extends Params,DP,TD,Q,A>
@@ -185,7 +185,7 @@ public class Model implements Serializable {
 ```
 
 The *Algorithm* component must extend
-`io.prediction.controller.java.LJavaAlgorithm`.
+`org.apache.predictionio.controller.java.LJavaAlgorithm`.
 
 ```java
 public abstract class LJavaAlgorithm<AP extends Params,PD,M,Q,P>
@@ -238,7 +238,7 @@ PredictionIO framework requires an *Engine Factory* which returns an *Engine*
 with the controller components defined.
 
 The *Engine Factory* must implement the
-`io.prediction.controller.java.IJavaEngineFactory` interface and implement the
+`org.apache.predictionio.controller.java.IJavaEngineFactory` interface and implement the
 `apply()` method (as shown in `EngineFactory.java`):
 
 ```java
@@ -286,10 +286,10 @@ An engine manifest `engine.json` is needed to describe the Engine:
 
 ```json
 {
-  "id": "io.prediction.examples.java.recommendations.tutorial1.EngineFactory",
+  "id": "org.apache.predictionio.examples.java.recommendations.tutorial1.EngineFactory",
   "version": "0.8.2",
   "name": "Simple Recommendations Engine",
-  "engineFactory": "io.prediction.examples.java.recommendations.tutorial1.EngineFactory"
+  "engineFactory": "org.apache.predictionio.examples.java.recommendations.tutorial1.EngineFactory"
 }
 ```
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/evaluation.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/evaluation.html.md b/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/evaluation.html.md
index ea5a860..3a4612b 100644
--- a/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/evaluation.html.md
+++ b/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/evaluation.html.md
@@ -16,7 +16,7 @@ modify `DataSource.java` to do a random split of the rating data to generate
 the *Test Set*. For demonstration purpose, the modified `DataSource.java` is put
 under directory `tutorial3/`.
 
-Recall that `io.prediction.controller.java.LJavaDataSource` takes the
+Recall that `org.apache.predictionio.controller.java.LJavaDataSource` takes the
 following type parameters:
 
 ```java
@@ -68,7 +68,7 @@ result by the *Evaluator*.
 
 We will implement a Root Mean Square Error (RMSE) evaluator. You can find the
 implementation in `Evaluator.java`. The *Evaluator* extends
-`io.prediction.controller.java.JavaEvaluator`, which requires the following type
+`org.apache.predictionio.controller.java.JavaEvaluator`, which requires the following type
 parameters:
 
 ```java
@@ -167,7 +167,7 @@ Execute the following command:
 
 ```
 $ cd $PIO_HOME/examples/java-local-tutorial
-$ ../../bin/pio run io.prediction.examples.java.recommendations.tutorial3.Runner3 -- -- data/test/ratings.csv
+$ ../../bin/pio run org.apache.predictionio.examples.java.recommendations.tutorial3.Runner3 -- -- data/test/ratings.csv
 ```
 where `$PIO_HOME` is the root directory of the PredictionIO code tree.
 
@@ -206,16 +206,16 @@ $ ./fetch.sh
 Re-run `Runner3` with the `ml-100k` data set:
 
 ```
-$ ../../bin/pio run io.prediction.examples.java.recommendations.tutorial3.Runner3 -- -- `pwd`/data/ml-100k/u.data
+$ ../../bin/pio run org.apache.predictionio.examples.java.recommendations.tutorial3.Runner3 -- -- `pwd`/data/ml-100k/u.data
 ```
 
 You should see the following output when it finishes running.
 
 ```
 2014-09-30 17:06:34,033 INFO  spark.SparkContext - Job finished: collect at Workflow.scala:597, took 0.103821 s
-2014-09-30 17:06:34,033 INFO  workflow.CoreWorkflow$ - DataSourceParams: io.prediction.examples.java.recommendations.tutorial1.DataSourceParams@3b9f69ce
+2014-09-30 17:06:34,033 INFO  workflow.CoreWorkflow$ - DataSourceParams: org.apache.predictionio.examples.java.recommendations.tutorial1.DataSourceParams@3b9f69ce
 2014-09-30 17:06:34,033 INFO  workflow.CoreWorkflow$ - PreparatorParams: Empty
-2014-09-30 17:06:34,034 INFO  workflow.CoreWorkflow$ - Algo: 0 Name: MyRecommendationAlgo Params: io.prediction.examples.java.recommendations.tutorial1.AlgoParams@76171b1
+2014-09-30 17:06:34,034 INFO  workflow.CoreWorkflow$ - Algo: 0 Name: MyRecommendationAlgo Params: org.apache.predictionio.examples.java.recommendations.tutorial1.AlgoParams@76171b1
 2014-09-30 17:06:34,034 INFO  workflow.CoreWorkflow$ - ServingParams: Empty
 2014-09-30 17:06:34,035 INFO  workflow.CoreWorkflow$ - EvaluatorParams: Empty
 2014-09-30 17:06:34,035 INFO  workflow.CoreWorkflow$ - [(null,1.052046904037191), (null,1.042766938101085), (null,1.0490312745374106)]

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/testcomponents.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/testcomponents.html.md b/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/testcomponents.html.md
index 4a921fd..faea9eb 100644
--- a/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/testcomponents.html.md
+++ b/docs/manual/obsolete/tutorials/enginebuilders/stepbystep/testcomponents.html.md
@@ -64,7 +64,7 @@ compile and package the JARs):
 
 ```
 $ cd $PIO_HOME/examples/java-local-tutorial
-$ ../../bin/pio run io.prediction.examples.java.recommendations.tutorial2.Runner1 -- -- data/test/ratings.csv
+$ ../../bin/pio run org.apache.predictionio.examples.java.recommendations.tutorial2.Runner1 -- -- data/test/ratings.csv
 ```
 where `$PIO_HOME` is the root directory of the PredictionIO code tree. The two
 `--` are to separate parameters passed to `pio run` (the `Runner1` class in this
@@ -118,7 +118,7 @@ Execute the following command to run:
 
 ```
 $ cd $PIO_HOME/examples/java-local-tutorial
-$ ../../bin/pio run io.prediction.examples.java.recommendations.tutorial2.Runner2 -- -- data/test/ratings.csv
+$ ../../bin/pio run org.apache.predictionio.examples.java.recommendations.tutorial2.Runner2 -- -- data/test/ratings.csv
 ```
 
 You should see the *Model* generated by the Algorithm at the end of the console

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/tutorials/engines/quickstart.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/tutorials/engines/quickstart.html.md b/docs/manual/obsolete/tutorials/engines/quickstart.html.md
index a3c587d..f2747d1 100644
--- a/docs/manual/obsolete/tutorials/engines/quickstart.html.md
+++ b/docs/manual/obsolete/tutorials/engines/quickstart.html.md
@@ -41,12 +41,12 @@ specific programming language:
 <div class="tabs">
   <div data-tab="PHP SDK" data-lang="php">
 <p>To use the PredictionIO PHP SDK, we are going to install it with Composer:</p>
-<p>1. Create a file called ``composer.json`` in your project directory, which adds predictionio/predictionio as a dependency. It should look like this:</p>
+<p>1. Create a file called ``composer.json`` in your project directory, which adds predictionorg.apache.predictionioio as a dependency. It should look like this:</p>
 
 ```json
 {
     "require": {
-        "predictionio/predictionio": "~0.8.0"
+        "predictionorg.apache.predictionioio": "~0.8.0"
     }
 }
 ```
@@ -85,7 +85,7 @@ section of your project's <code>pom.xml</code> file:
 ```bash
 <dependencies>
   <dependency>
-    <groupId>io.prediction</groupId>
+    <groupId>org.apache.predictionio</groupId>
     <artifactId>client</artifactId>
     <version>0.8.0</version>
   </dependency>
@@ -248,16 +248,16 @@ $ ruby import.rb
   </div>
   <div data-tab="Java SDK" data-lang="java">
 <p><em>QuickstartImport.java</em> is located under
-PredictionIO-Java-SDK/examples/quickstart_import/src/main/java/io/prediction/samples/.
+PredictionIO-Java-SDK/examples/quickstart_import/src/main/java/org.apache.predictionio/samples/.
 Replace <code>your_app_id</code> with your app id (integer).</p>
 
 ```java
-package io.prediction.samples;
+package org.apache.predictionio.samples;
 
 import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
 
-import io.prediction.EventClient;
+import org.apache.predictionio.EventClient;
 
 import java.io.IOException;
 import java.util.Map;
@@ -327,8 +327,8 @@ To deploy an engine instance for *quickstartapp*, first create an engine
 instance project:
 
 ```bash
-$ $PIO_HOME/bin/pio instance io.prediction.engines.itemrank
-$ cd io.prediction.engines.itemrank
+$ $PIO_HOME/bin/pio instance org.apache.predictionio.engines.itemrank
+$ cd org.apache.predictionio.engines.itemrank
 $ $PIO_HOME/bin/pio register
 ```
 
@@ -455,14 +455,14 @@ $ ruby show.rb
   </div>
   <div data-tab="Java SDK" data-lang="java">
 <p><em>QuickstartShow.java</em> is located under
-PredictionIO-Java-SDK/examples/quickstart_show/src/main/java/io/prediction/samples/.</p>
+PredictionIO-Java-SDK/examples/quickstart_show/src/main/java/org.apache.predictionio/samples/.</p>
 
 ```java
-package io.prediction.samples;
+package org.apache.predictionio.samples;
 
 import com.google.common.collect.ImmutableList;
 
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 import java.io.IOException;
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/tutorials/recommendation/movielens.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/tutorials/recommendation/movielens.html.md b/docs/manual/obsolete/tutorials/recommendation/movielens.html.md
index b321df0..ac94757 100644
--- a/docs/manual/obsolete/tutorials/recommendation/movielens.html.md
+++ b/docs/manual/obsolete/tutorials/recommendation/movielens.html.md
@@ -68,12 +68,12 @@ Create an engine instance project base on the default Item Recommendation
 Engine.
 
 ```
-$ $PIO_HOME/bin/pio instance io.prediction.engines.itemrec
-$ cd io.prediction.engines.itemrec
+$ $PIO_HOME/bin/pio instance org.apache.predictionio.engines.itemrec
+$ cd org.apache.predictionio.engines.itemrec
 $ $PIO_HOME/bin/pio register
 ```
 where `$PIO_HOME` is your installation path of PredictionIO.
-Under the directory `io.prediction.engines.itemrec`, you will see a
+Under the directory `org.apache.predictionio.engines.itemrec`, you will see a
 self-contained set of configuation files for an instance of Item Recommendation
 Engine.
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/obsolete/tutorials/recommendation/yelp.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/obsolete/tutorials/recommendation/yelp.html.md b/docs/manual/obsolete/tutorials/recommendation/yelp.html.md
index 7abee97..4c69547 100644
--- a/docs/manual/obsolete/tutorials/recommendation/yelp.html.md
+++ b/docs/manual/obsolete/tutorials/recommendation/yelp.html.md
@@ -106,8 +106,8 @@ An engine represents a type of prediction. For our purposes we will be using the
 [item recommendation engine](/engines/itemrec/).
 
 ```
-$ $PIO_HOME/bin/pio instance io.prediction.engines.itemrec
-$ cd io.prediction.engines.itemrec
+$ $PIO_HOME/bin/pio instance org.apache.predictionio.engines.itemrec
+$ cd org.apache.predictionio.engines.itemrec
 $ $PIO_HOME/bin/pio register
 ```
 
@@ -143,7 +143,7 @@ Before you can deploy your engine you need to train it.
 First you need to **change into the engine instance folder:**
 
 ```
-$ cd $PIO_HOME/io.prediction.engines.itemrec
+$ cd $PIO_HOME/org.apache.predictionio.engines.itemrec
 ```
 
 Train the engine with the imported data:
@@ -165,7 +165,7 @@ Now it is time to launch the engine.
 First you need to **change into the engine instance folder:**
 
 ```
-$ cd $PIO_HOME/io.prediction.engines.itemrec
+$ cd $PIO_HOME/org.apache.predictionio.engines.itemrec
 ```
 
 Then you can deploy with:
@@ -218,7 +218,7 @@ For our example we could train and deploy every 6 hours with the following:
 ```
 $ crontab -e
 
-0 */6 * * *     cd $PIO_HOME/io.prediction.engines.itemrec; $PIO_HOME/bin/pio train; $PIO_HOME/bin/pio deploy
+0 */6 * * *     cd $PIO_HOME/org.apache.predictionio.engines.itemrec; $PIO_HOME/bin/pio train; $PIO_HOME/bin/pio deploy
 ```
 
 It is not necessary to undeploy, the deploy command will do that automatically.

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/community/contribute-webhook.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/community/contribute-webhook.html.md b/docs/manual/source/community/contribute-webhook.html.md
index 5919cc4..e2612be 100644
--- a/docs/manual/source/community/contribute-webhook.html.md
+++ b/docs/manual/source/community/contribute-webhook.html.md
@@ -11,10 +11,10 @@ Currently we support two types of connectors: `JsonConnector` and `FormConnector
 **JsonConnector**:
 
 ```scala
-package io.prediction.data.webhooks
+package org.apache.predictionio.data.webhooks
 
 /** Connector for Webhooks connection */
-private[prediction] trait JsonConnector {
+private[predictionio] trait JsonConnector {
 
   /** Convert from original JObject to Event JObject
     * @param data original JObject recevived through webhooks
@@ -38,11 +38,11 @@ Note that you may collect Webhooks data into default channel (without the `chann
 **FormConnector**:
 
 ```scala
-package io.prediction.data.webhooks
+package org.apache.predictionio.data.webhooks
 
 /** Connector for Webhooks connection with Form submission data format
   */
-private[prediction] trait FormConnector {
+private[predictionio] trait FormConnector {
 
   /** Convert from original Form submission data to Event JObject
     * @param data Map of key-value pairs in String type received through webhooks
@@ -93,7 +93,7 @@ Because the data sent by this third-party "ExampleJson" site is in JSON format,
 
 
 ```scala
-private[prediction] object ExampleJsonConnector extends JsonConnector {
+private[predictionio] object ExampleJsonConnector extends JsonConnector {
 
   implicit val json4sFormats: Formats = DefaultFormats
 
@@ -161,22 +161,22 @@ private[prediction] object ExampleJsonConnector extends JsonConnector {
 }
 ```
 
-You can find the complete example in [the GitHub repo](https://github.com/PredictionIO/PredictionIO/blob/develop/data/src/main/scala/io/prediction/data/webhooks/examplejson/ExampleJsonConnector.scala) and how to write [tests for the connector](https://github.com/PredictionIO/PredictionIO/blob/develop/data/src/test/scala/io/prediction/data/webhooks/examplejson/ExampleJsonConnectorSpec.scala).
+You can find the complete example in [the GitHub repo](https://github.com/PredictionIO/PredictionIO/blob/develop/data/src/main/scala/org.apache.predictionio/data/webhooks/examplejson/ExampleJsonConnector.scala) and how to write [tests for the connector](https://github.com/PredictionIO/PredictionIO/blob/develop/data/src/test/scala/org.apache.predictionio/data/webhooks/examplejson/ExampleJsonConnectorSpec.scala).
 
 
 Please put the connector code in a separate directory for each site. For example, code for segmentio connector should be in
 
 ```
-data/src/main/scala/io/prediction/data/webhooks/segmentio/
+data/src/main/scala/org.apache.predictionio/data/webhooks/segmentio/
 ```
 
 and tests should be in
 
 ```
-data/src/test/scala/io/prediction/data/webhooks/segmentio/
+data/src/test/scala/org.apache.predictionio/data/webhooks/segmentio/
 ```
 
-**For form-submission data**, you can find the comple example [the GitHub repo](https://github.com/PredictionIO/PredictionIO/blob/develop/data/src/main/scala/io/prediction/data/webhooks/exampleform/ExampleFormConnector.scala) and how to write [tests for the connector](https://github.com/PredictionIO/PredictionIO/blob/develop/data/src/test/scala/io/prediction/data/webhooks/exampleform/ExampleFormConnectorSpec.scala).
+**For form-submission data**, you can find the comple example [the GitHub repo](https://github.com/PredictionIO/PredictionIO/blob/develop/data/src/main/scala/org.apache.predictionio/data/webhooks/exampleform/ExampleFormConnector.scala) and how to write [tests for the connector](https://github.com/PredictionIO/PredictionIO/blob/develop/data/src/test/scala/org.apache.predictionio/data/webhooks/exampleform/ExampleFormConnectorSpec.scala).
 
 
 ## 2. Integrate the Connector into Event Server
@@ -184,13 +184,13 @@ data/src/test/scala/io/prediction/data/webhooks/segmentio/
 Once we have the connector implemented, we can add this to the EventServer so we can collect real-time data.
 
 Add the connector to [`WebhooksConnectors` object](
-https://github.com/PredictionIO/PredictionIO/blob/develop/data/src/main/scala/io/prediction/data/api/WebhooksConnectors.scala):
+https://github.com/PredictionIO/PredictionIO/blob/develop/data/src/main/scala/org.apache.predictionio/data/api/WebhooksConnectors.scala):
 
 ```scala
 
-import io.prediction.data.webhooks.examplejson.ExampleJsonConnector // ADDED
+import org.apache.predictionio.data.webhooks.examplejson.ExampleJsonConnector // ADDED
 
-private[prediction] object WebhooksConnectors {
+private[predictionio] object WebhooksConnectors {
 
   // Map of Connector Name to Connector
   val json: Map[String, JsonConnector] = Map(

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/customize/dase.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/customize/dase.html.md.erb b/docs/manual/source/customize/dase.html.md.erb
index 78a0194..85ed22c 100644
--- a/docs/manual/source/customize/dase.html.md.erb
+++ b/docs/manual/source/customize/dase.html.md.erb
@@ -10,7 +10,7 @@ DataSource reads and selects useful data from the Event Store (data store of the
 
 ## readTraining()
 
-You need to implment readTraining() of [PDataSource](https://docs.prediction.io/api/current/#io.prediction.controller.PDataSource), where you can use the [PEventStore Engine API](https://docs.prediction.io/api/current/#io.prediction.data.store.PEventStore$) to read the events and create the TrainingData based on the events.
+You need to implment readTraining() of [PDataSource](https://docs.prediction.io/api/current/#org.apache.predictionio.controller.PDataSource), where you can use the [PEventStore Engine API](https://docs.prediction.io/api/current/#org.apache.predictionio.data.store.PEventStore$) to read the events and create the TrainingData based on the events.
 
 The following code example reads user "view" and "buy" item events, filters specific type of events for future processing and returns TrainingData accordingly.
 
@@ -49,7 +49,7 @@ class DataSource(val dsp: DataSourceParams)
 
 Please see [Event Server Overview](https://docs.prediction.io/datacollection/) to understand [EventAPI](https://docs.prediction.io/datacollection/eventapi/) and [event modeling](https://docs.prediction.io/datacollection/eventmodel/).
 
-With [PEventStore Engine API](https://docs.prediction.io/api/current/#io.prediction.data.store.PEventStore$), you can easily read different events in DataSource and get the information you need.
+With [PEventStore Engine API](https://docs.prediction.io/api/current/#org.apache.predictionio.data.store.PEventStore$), you can easily read different events in DataSource and get the information you need.
 
 For example, let's say you have events like the following:
 
@@ -146,7 +146,7 @@ A few example usages of Preparator:
 
 ## prepare()
 
-You need to implement the `prepare()` method of [PPrepartor](https://docs.prediction.io/api/current/#io.prediction.controller.PPreparator) to perform such tasks.
+You need to implement the `prepare()` method of [PPrepartor](https://docs.prediction.io/api/current/#org.apache.predictionio.controller.PPreparator) to perform such tasks.
 
 Example:
 
@@ -167,8 +167,8 @@ predict() is responsible for using this model to make prediction. It is called w
 
 PredictionIO supports two types of algorithms:
 
-- **[P2LAlgorithm](https://docs.prediction.io/api/current/#io.prediction.controller.P2LAlgorithm)**: trains a Model which does not contain RDD
-- **[PAlgorithm](https://docs.prediction.io/api/current/#io.prediction.controller.PAlgorithm)**: trains a Model which contains RDD
+- **[P2LAlgorithm](https://docs.prediction.io/api/current/#org.apache.predictionio.controller.P2LAlgorithm)**: trains a Model which does not contain RDD
+- **[PAlgorithm](https://docs.prediction.io/api/current/#org.apache.predictionio.controller.PAlgorithm)**: trains a Model which contains RDD
 
 ## P2LAlgorithm
 
@@ -194,7 +194,7 @@ Example:
 
 ## using LEventStore Engine API in predict()
 
-You may use [LEventStore.findByEntity()](https://docs.prediction.io/api/current/#io.prediction.data.store.LEventStore$) to retrieve events of a specific entity. For example, retrieve recent events of the user specified in the query) and use these recent events to make prediction in real time.
+You may use [LEventStore.findByEntity()](https://docs.prediction.io/api/current/#org.apache.predictionio.data.store.LEventStore$) to retrieve events of a specific entity. For example, retrieve recent events of the user specified in the query) and use these recent events to make prediction in real time.
 
 
 For example, the following code reads the recent 10 view events of `query.user`:
@@ -234,7 +234,7 @@ Example:
 
 ## serve()
 
-You need to implement the serve() method of the class [LServing](https://docs.prediction.io/api/current/#io.prediction.controller.LServing). The serve() method processes predicted result. It is also responsible for combining multiple predicted results into one if you have more than one predictive model.
+You need to implement the serve() method of the class [LServing](https://docs.prediction.io/api/current/#org.apache.predictionio.controller.LServing). The serve() method processes predicted result. It is also responsible for combining multiple predicted results into one if you have more than one predictive model.
 
 Example:
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/customize/troubleshooting.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/customize/troubleshooting.html.md b/docs/manual/source/customize/troubleshooting.html.md
index 201a8de..d17b605 100644
--- a/docs/manual/source/customize/troubleshooting.html.md
+++ b/docs/manual/source/customize/troubleshooting.html.md
@@ -28,7 +28,7 @@ training process stops after the TrainingData is printed.
 [INFO] [CoreWorkflow$] TrainingData:
 [INFO] [CoreWorkflow$] ratings: [1501] (List(Rating(3,0,4.0), Rating(3,1,4.0))...)
 ...
-[INFO] [CoreWorkflow$] Training interrupted by io.prediction.workflow.StopAfterReadInterruption.
+[INFO] [CoreWorkflow$] Training interrupted by org.apache.predictionio.workflow.StopAfterReadInterruption.
 ```
 
 Similarly, you can stop the training after the Preparator phase by using
@@ -55,7 +55,7 @@ For example, to print TrainingData to console and check if the `ratings` is empt
 do the following:
 
 ```scala
-import io.prediction.controller.SanityCheck // ADDED
+import org.apache.predictionio.controller.SanityCheck // ADDED
 
 class TrainingData(
   val ratings: RDD[Rating]
@@ -89,8 +89,8 @@ If your data is empty, you should see the following error thrown by the
 Exception in thread "main" java.lang.IllegalArgumentException: requirement failed: ratings cannot be empty!
 	at scala.Predef$.require(Predef.scala:233)
 	at org.template.recommendation.TrainingData.sanityCheck(DataSource.scala:73)
-	at io.prediction.workflow.CoreWorkflow$$anonfun$runTypelessContext$7.apply(Workflow.scala:474)
-	at io.prediction.workflow.CoreWorkflow$$anonfun$runTypelessContext$7.apply(Workflow.scala:465)
+	at org.apache.predictionio.workflow.CoreWorkflow$$anonfun$runTypelessContext$7.apply(Workflow.scala:474)
+	at org.apache.predictionio.workflow.CoreWorkflow$$anonfun$runTypelessContext$7.apply(Workflow.scala:465)
 	at scala.collection.immutable.Map$Map1.foreach(Map.scala:109)
   ...
 ```
@@ -107,7 +107,7 @@ You should see the checking is skipped such as the following output:
 [INFO] [CoreWorkflow$] Data sanity checking is off.
 [INFO] [CoreWorkflow$] Data Source
 ...
-[INFO] [CoreWorkflow$] Training interrupted by io.prediction.workflow.StopAfterReadInterruption.
+[INFO] [CoreWorkflow$] Training interrupted by org.apache.predictionio.workflow.StopAfterReadInterruption.
 ```
 
 ## Engine Status Page
@@ -132,7 +132,7 @@ Note that the Spark context is available as variable `sc` inside the shell.
 For example, to get the events of `MyApp1` using PEventStore API inside the pio-shell and collect them into an array `c`. run the following in the shell:
 
 ```
-> import io.prediction.data.store.PEventStore
+> import org.apache.predictionio.data.store.PEventStore
 > val eventsRDD = PEventStore.find(appName="MyApp1")(sc)
 > val c = eventsRDD.collect()
 ```
@@ -142,5 +142,5 @@ Then you should see following returned in the shell:
 ```
 ...
 15/05/18 14:24:42 INFO DAGScheduler: Job 0 finished: collect at <console>:24, took 1.850779 s
-c: Array[io.prediction.data.storage.Event] = Array(Event(id=Some(AaQUUBsFZxteRpDV_7fDGQAAAU1ZfRW1tX9LSWdZSb0),event=$set,eType=item,eId=i42,tType=None,tId=None,p=DataMap(Map(categories -> JArray(List(JString(c2), JString(c1), JString(c6), JString(c3))))),t=2015-05-15T21:31:19.349Z,tags=List(),pKey=None,ct=2015-05-15T21:31:19.354Z), Event(id=Some(DjvP3Dnci9F4CWmiqoLabQAAAU1ZfROaqdRYO-pZ_no),event=$set,eType=user,eId=u9,tType=None,tId=None,p=DataMap(Map()),t=2015-05-15T21:31:18.810Z,tags=List(),pKey=None,ct=2015-05-15T21:31:18.817Z), Event(id=Some(DjvP3Dnci9F4CWmiqoLabQAAAU1ZfRq7tsanlemwmZQ),event=view,eType=user,eId=u9,tType=Some(item),tId=Some(i25),p=DataMap(Map()),t=2015-05-15T21:31:20.635Z,tags=List(),pKey=None,ct=2015-05-15T21:31:20.639Z), Event(id=Some(DjvP3Dnci9F4CWmiqoLabQAAAU1ZfR...
+c: Array[org.apache.predictionio.data.storage.Event] = Array(Event(id=Some(AaQUUBsFZxteRpDV_7fDGQAAAU1ZfRW1tX9LSWdZSb0),event=$set,eType=item,eId=i42,tType=None,tId=None,p=DataMap(Map(categories -> JArray(List(JString(c2), JString(c1), JString(c6), JString(c3))))),t=2015-05-15T21:31:19.349Z,tags=List(),pKey=None,ct=2015-05-15T21:31:19.354Z), Event(id=Some(DjvP3Dnci9F4CWmiqoLabQAAAU1ZfROaqdRYO-pZ_no),event=$set,eType=user,eId=u9,tType=None,tId=None,p=DataMap(Map()),t=2015-05-15T21:31:18.810Z,tags=List(),pKey=None,ct=2015-05-15T21:31:18.817Z), Event(id=Some(DjvP3Dnci9F4CWmiqoLabQAAAU1ZfRq7tsanlemwmZQ),event=view,eType=user,eId=u9,tType=Some(item),tId=Some(i25),p=DataMap(Map()),t=2015-05-15T21:31:20.635Z,tags=List(),pKey=None,ct=2015-05-15T21:31:20.639Z), Event(id=Some(DjvP3Dnci9F4CWmiqoLabQAAAU1ZfR...
 ```

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 9fb3716..12c93f2 100644
--- a/docs/manual/source/datacollection/eventapi.html.md
+++ b/docs/manual/source/datacollection/eventapi.html.md
@@ -9,7 +9,7 @@ PredictionIO's SDKs.
 
 INFO: All PredictionIO-compliant engines support accessing the Event Store (i.e. the
 data store of Event Server) through [PredictionIO's Storage
-API](http://docs.prediction.io/api/current/index.html#io.prediction.data.storage.package).
+API](http://docs.prediction.io/api/current/index.html#org.apache.predictionio.data.storage.package).
 
 ## Launching the Event Server
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/datacollection/eventmodel.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/datacollection/eventmodel.html.md.erb b/docs/manual/source/datacollection/eventmodel.html.md.erb
index bd875dd..91b3f65 100644
--- a/docs/manual/source/datacollection/eventmodel.html.md.erb
+++ b/docs/manual/source/datacollection/eventmodel.html.md.erb
@@ -87,7 +87,7 @@ For example, setting entity `user-1`'s properties `birthday` and `address`:
 }
 ```
 
-**Note** that the properties values of the entity will be aggregated based on these special events and the eventTime. The state of the entity is different depending on the time you are looking at the data. In engine's DataSource, you can use [PEventStore.aggregateProperties() API](https://docs.prediction.io/api/current/#io.prediction.data.store.PEventStore$) to retrieve the state of entity's properties (based on time).
+**Note** that the properties values of the entity will be aggregated based on these special events and the eventTime. The state of the entity is different depending on the time you are looking at the data. In engine's DataSource, you can use [PEventStore.aggregateProperties() API](https://docs.prediction.io/api/current/#org.apache.predictionio.data.store.PEventStore$) to retrieve the state of entity's properties (based on time).
 
 NOTE: Although it doesn't hurt to import duplicated special events for an entity (exactly same properties) into event server (it just means that the entity changes to the same state as before and new duplicated event provides no new information about the user), it could waste storage space.
 
@@ -223,7 +223,7 @@ NOTE: Note that you should quote the entire URL by using single or double quotes
 
 You should see all events being created for this user-2.
 
-Now, let's retrieve the user-2's properties using the [PEventStore API](https://docs.prediction.io/api/current/#io.prediction.data.store.PEventStore$).
+Now, let's retrieve the user-2's properties using the [PEventStore API](https://docs.prediction.io/api/current/#org.apache.predictionio.data.store.PEventStore$).
 
 First, start `pio-shell` by running:
 
@@ -246,14 +246,14 @@ Run the following code in PIO shell (Replace `"MyTestApp"` with your app name):
 
 ```scala
 scala> val appName="MyTestApp"
-scala> import io.prediction.data.store.PEventStore
+scala> import org.apache.predictionio.data.store.PEventStore
 scala> PEventStore.aggregateProperties(appName=appName, entityType="user")(sc).collect()
 ```
 
 This command is using PEventStore to aggregate the user properties as a Map of user Id and the PropertyMap. `collect()` will return the data as array. You should see the following output at the end, which indicates there is user id 2 with empty properties because that's the state of user 2 with all imported events taken into account.
 
 ```
-res0: Array[(String, io.prediction.data.storage.PropertyMap)] =
+res0: Array[(String, org.apache.predictionio.data.storage.PropertyMap)] =
 Array((2,PropertyMap(Map(), 2014-09-09T16:17:42.937-08:00, 2014-09-13T16:17:42.143-08:00)))
 ```
 
@@ -269,7 +269,7 @@ scala> PEventStore.aggregateProperties(appName=appName, entityType="user", until
 You should see the following ouptut and the aggregated properties matches what we expected as described earlier (right befor event 3): user-2 has properties of a = 3, b = 5 and c = 6.
 
 ```
-res2: Array[(String, io.prediction.data.storage.PropertyMap)] =
+res2: Array[(String, org.apache.predictionio.data.storage.PropertyMap)] =
 Array((2,PropertyMap(Map(b -> JInt(5), a -> JInt(3), c -> JInt(6)), 2014-09-09T16:17:42.937-08:00, 2014-09-10T13:12:04.937-08:00))
 ```
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/demo/textclassification.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/demo/textclassification.html.md b/docs/manual/source/demo/textclassification.html.md
index 7b819e3..b76f9da 100644
--- a/docs/manual/source/demo/textclassification.html.md
+++ b/docs/manual/source/demo/textclassification.html.md
@@ -470,7 +470,7 @@ The last and final object implemented in this class simply creates a Map with ke
 The algorithm components in this engine, `NBAlgorithm` and `LRAlgorithm`, actually follows a very general form. Firstly, a parameter class must again be initialized to feed in the corresponding Algorithm model parameters. For example, NBAlgorithm incorporates NBAlgorithmParams which holds the appropriate additive smoothing parameter lambda for the Naive Bayes model.
 
 
-The main class of interest in this component is the class that extends [P2LAlgorithm](https://docs.prediction.io/api/current/#io.prediction.controller.P2LAlgorithm). This class must implement a method named train which will output your predictive model (as a concrete object, this will be implemented via a Scala  class). It must also implement a predict method that transforms a query to an appropriate feature vector, and uses this to predict with the fitted model. The vectorization function is implemented by a PreparedData object, and the categorization (prediction) is handled by an instance of the NBModel implementation. Again, this demonstrates the facility with which different models can be incorporated into PredictionIO's DASE architecture.
+The main class of interest in this component is the class that extends [P2LAlgorithm](https://docs.prediction.io/api/current/#org.apache.predictionio.controller.P2LAlgorithm). This class must implement a method named train which will output your predictive model (as a concrete object, this will be implemented via a Scala  class). It must also implement a predict method that transforms a query to an appropriate feature vector, and uses this to predict with the fitted model. The vectorization function is implemented by a PreparedData object, and the categorization (prediction) is handled by an instance of the NBModel implementation. Again, this demonstrates the facility with which different models can be incorporated into PredictionIO's DASE architecture.
 
 The model class itself will be discussed in the following section, however, turn your attention to the TextManipulationEngine object defined in the script `Engine.scala`. You can see here that the engine is initialized by specifying the DataSource, Preparator, and Serving classes, as well as a Map of algorithm names to Algorithm classes. This tells the engine which algorithms to run. In practice, you can have as many statistical learning models as you'd like, you simply have to implement a new algorithm component to do this. However, this general design form will persist, and the main meat of the work should be in the implementation of your model class.
 
@@ -580,7 +580,7 @@ To use the alternative multinomial logistic regression algorithm change your `en
 
 ## Serving: Delivering the Final Prediction
 
-The serving component is the final stage in the engine, and in a sense, the most important. This is the final stage in which you combine the results obtained from the different models you choose to run. The Serving class extends the [LServing](https://docs.prediction.io/api/current/#io.prediction.controller.LServing) class which must implement a method called serve. This takes a query and an associated sequence of predicted results, which contains the predicted results from the different algorithms that are implemented in your engine, and combines the results to yield a final prediction.  It is this final prediction that you will receive after sending a query.
+The serving component is the final stage in the engine, and in a sense, the most important. This is the final stage in which you combine the results obtained from the different models you choose to run. The Serving class extends the [LServing](https://docs.prediction.io/api/current/#org.apache.predictionio.controller.LServing) class which must implement a method called serve. This takes a query and an associated sequence of predicted results, which contains the predicted results from the different algorithms that are implemented in your engine, and combines the results to yield a final prediction.  It is this final prediction that you will receive after sending a query.
 
 For example, you could choose to slightly modify the implementation to return class probabilities coming from a mixture of model estimates for class probabilities, or any other technique you could conceive for combining your results. The default engine setting has this set to yield the label from the model predicting with greater confidence.
 
@@ -590,7 +590,7 @@ For example, you could choose to slightly modify the implementation to return cl
 
  A predictive model needs to be evaluated to see how it will generalize to future observations. PredictionIO uses cross-validation to perform model performance metric estimates needed to assess your particular choice of model. The script `Evaluation.scala` available with the engine template exemplifies what a usual evaluator setup will look like. First, you must define an appropriate metric. In the engine template, since the topic is text classification, the default metric implemented is category accuracy.
 
- Second you must define an evaluation object (i.e. extends the class [Evaluation](https://docs.prediction.io/api/current/#io.prediction.controller.Evaluation)).
+ Second you must define an evaluation object (i.e. extends the class [Evaluation](https://docs.prediction.io/api/current/#org.apache.predictionio.controller.Evaluation)).
 Here, you must specify the actual engine and metric components that are to be used for the evaluation. In the engine template, the specified engine is the TextManipulationEngine object, and metric, Accuracy. Lastly, you must specify the parameter values that you want to test in the cross validation. You see in the following block of code:
 
 ```scala

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/machinelearning/dimensionalityreduction.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/machinelearning/dimensionalityreduction.html.md b/docs/manual/source/machinelearning/dimensionalityreduction.html.md
index 931b063..90a85dd 100644
--- a/docs/manual/source/machinelearning/dimensionalityreduction.html.md
+++ b/docs/manual/source/machinelearning/dimensionalityreduction.html.md
@@ -276,7 +276,7 @@ Remember that the Data Preparator is the engine component that takes care of the
 To make sure there is no confusion, replace the import statements in the `Preparator.scala` script with the following:
 
 ```scala
-import io.prediction.controller.{Params, PPreparator}
+import org.apache.predictionio.controller.{Params, PPreparator}
 import org.apache.spark.SparkContext
 import org.apache.spark.mllib.feature.{StandardScaler, StandardScalerModel}
 import org.apache.spark.mllib.linalg.distributed.RowMatrix
@@ -362,8 +362,8 @@ The following code is taken from the [text classification engine template](http:
 ```scala
 package FeatureReduction
 
-import io.prediction.controller.Params
-import io.prediction.controller.P2LAlgorithm
+import org.apache.predictionio.controller.Params
+import org.apache.predictionio.controller.P2LAlgorithm
 import org.apache.spark.SparkContext
 import org.apache.spark.ml.classification.LogisticRegression
 import org.apache.spark.sql.DataFrame

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/partials/shared/install/_dependent_services.html.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/partials/shared/install/_dependent_services.html.erb b/docs/manual/source/partials/shared/install/_dependent_services.html.erb
index 073baad..8aa39da 100644
--- a/docs/manual/source/partials/shared/install/_dependent_services.html.erb
+++ b/docs/manual/source/partials/shared/install/_dependent_services.html.erb
@@ -22,7 +22,7 @@ You may use `jps` to verify that you have everything started:
 ```
 $ jps -l
 15344 org.apache.hadoop.hbase.master.HMaster
-15409 io.prediction.tools.console.Console
+15409 org.apache.predictionio.tools.console.Console
 15256 org.elasticsearch.bootstrap.Elasticsearch
 15469 sun.tools.jps.Jps
 $
@@ -30,7 +30,7 @@ $
 
 A running setup will have these up and running:
 
-- io.prediction.tools.console.Console
+- org.apache.predictionio.tools.console.Console
 - org.apache.hadoop.hbase.master.HMaster
 - org.elasticsearch.bootstrap.Elasticsearch
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 11779d0..e404d8b 100644
--- a/docs/manual/source/resources/faq.html.md
+++ b/docs/manual/source/resources/faq.html.md
@@ -160,11 +160,11 @@ $ pio deploy -- --driver-memory 8G
 
 ## Building PredictionIO
 
-### Q: How to resolve "Error: Could not find or load main class io.prediction.tools.Console" after ./make_distribution.sh?
+### Q: How to resolve "Error: Could not find or load main class org.apache.predictionio.tools.Console" after ./make_distribution.sh?
 
 ```
 $ bin/pio app
-Error: Could not find or load main class io.prediction.tools.Console
+Error: Could not find or load main class org.apache.predictionio.tools.Console
 ```
 
 When PredictionIO bumps a version, it creates another JAR file with the new

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 6c87443..ab5d8bc 100644
--- a/docs/manual/source/resources/intellij.html.md.erb
+++ b/docs/manual/source/resources/intellij.html.md.erb
@@ -108,7 +108,7 @@ Configurations...*. Click on the **+** button and select *Application*. Name it
 `pio train` and put in the following.
 
 ```
-Main class: io.prediction.workflow.CreateWorkflow
+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
 ```
@@ -156,7 +156,7 @@ For `pio deploy`, simply duplicate the previous configuration and replace with
 the following.
 
 ```
-Main class: io.prediction.workflow.CreateServer
+Main class: org.apache.predictionio.workflow.CreateServer
 Program Arguments: --engineInstanceId **replace_with_the_id_from_pio_train**
 ```
 
@@ -199,4 +199,4 @@ Now, before opening the template with Intellij, run the following command in the
 $ 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.
\ No newline at end of file
+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.

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/resources/upgrade.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/resources/upgrade.html.md b/docs/manual/source/resources/upgrade.html.md
index 53c5c4d..a26cedc 100644
--- a/docs/manual/source/resources/upgrade.html.md
+++ b/docs/manual/source/resources/upgrade.html.md
@@ -45,13 +45,13 @@ NOTE: The following changes are not required for using 0.9.2 but it's recommende
 - remove this line of code:
 
     ```scala
-    import io.prediction.data.storage.Storage
+    import org.apache.predictionio.data.storage.Storage
     ```
 
     and replace it by
 
     ```scala
-    import io.prediction.data.store.PEventStore
+    import org.apache.predictionio.data.store.PEventStore
     ```
 
 - Change `appId: Int` to `appName: String` in DataSourceParams
@@ -94,9 +94,9 @@ NOTE: The following changes are not required for using 0.9.2 but it's recommende
 
 If Storage.getLEvents() is also used in Algorithm (such as ALSAlgorithm of E-Commerce Recommendation template), you also need to do following:
 
-NOTE: If `io.prediction.data.storage.Storage` is not used at all (such as Recommendation, Similar Product, Classification, Lead Scoring, Product Ranking template), there is no need to change Algorithm and can go to the later **engine.json** section.
+NOTE: If `org.apache.predictionio.data.storage.Storage` is not used at all (such as Recommendation, Similar Product, Classification, Lead Scoring, Product Ranking template), there is no need to change Algorithm and can go to the later **engine.json** section.
 
-- remove `import io.prediction.data.storage.Storage` and replace it by `import io.prediction.data.store.LEventStore`
+- remove `import org.apache.predictionio.data.storage.Storage` and replace it by `import org.apache.predictionio.data.store.LEventStore`
 - change `appId` to `appName` in the XXXAlgorithmParams class.
 - remove this line of code: `@transient lazy val lEventsDb = Storage.getLEvents()`
 - locate where `LEventStore.findByEntity()` is used, change it to `LEventStore.findByEntity()`:
@@ -230,22 +230,22 @@ Follow instructions below to modify existing engine templates to be compatible w
     import org.apache.spark.SparkContext
     ```
 
-2. Modify the file `build.sbt` in your template directory to use `pioVersion.value` as the version of io.prediction.core dependency:
+2. Modify the file `build.sbt` in your template directory to use `pioVersion.value` as the version of org.apache.predictionio.core dependency:
 
     Under your template's root directory, you should see a file `build.sbt` which has the following content:
 
     ```
     libraryDependencies ++= Seq(
-      "io.prediction"    %% "core"          % "0.8.6" % "provided",
+      "org.apache.predictionio"    %% "core"          % "0.8.6" % "provided",
       "org.apache.spark" %% "spark-core"    % "1.2.0" % "provided",
       "org.apache.spark" %% "spark-mllib"   % "1.2.0" % "provided")
     ```
 
-    Change the version of `"io.prediction" && "core"` to `pioVersion.value`:
+    Change the version of `"org.apache.predictionio" && "core"` to `pioVersion.value`:
 
     ```
     libraryDependencies ++= Seq(
-      "io.prediction"    %% "core"          % pioVersion.value % "provided",
+      "org.apache.predictionio"    %% "core"          % pioVersion.value % "provided",
       "org.apache.spark" %% "spark-core"    % "1.2.0" % "provided",
       "org.apache.spark" %% "spark-mllib"   % "1.2.0" % "provided")
     ```
@@ -253,7 +253,7 @@ Follow instructions below to modify existing engine templates to be compatible w
 3. Create a new file `pio-build.sbt` in template's **project/** directory with the following content:
 
     ```
-    addSbtPlugin("io.prediction" % "pio-build" % "0.9.0")
+    addSbtPlugin("org.apache.predictionio" % "pio-build" % "0.9.0")
     ```
 
     Then, you should see the following two files in the **project/** directory:
@@ -404,5 +404,5 @@ Replace by the returned app ID: ( is the original app ID used in 0.8.0/0.8.2.)
 $ set -a
 $ source conf/pio-env.sh
 $ set +a
-$ sbt/sbt "data/run-main io.prediction.data.storage.hbase.upgrade.Upgrade <from app ID>" "<to app ID>"
+$ sbt/sbt "data/run-main org.apache.predictionio.data.storage.hbase.upgrade.Upgrade <from app ID>" "<to app ID>"
 ```

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/sdk/java.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/sdk/java.html.md.erb b/docs/manual/source/sdk/java.html.md.erb
index 314579c..8b8762e 100644
--- a/docs/manual/source/sdk/java.html.md.erb
+++ b/docs/manual/source/sdk/java.html.md.erb
@@ -8,7 +8,7 @@ title: Java & Android SDK
 
 ## Central Repository
 
-[Browse](http://search.maven.org/#search%7Cga%7C1%7Cio.prediction)
+[Browse](http://search.maven.org/#search%7Cga%7C1%7Corg.apache.predictionio)
 
 ## GitHub
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/sdk/php.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/sdk/php.html.md.erb b/docs/manual/source/sdk/php.html.md.erb
index 5606c9b..a16f44d 100644
--- a/docs/manual/source/sdk/php.html.md.erb
+++ b/docs/manual/source/sdk/php.html.md.erb
@@ -8,7 +8,7 @@ title: PHP SDK
 
 ## Packagist
 
-[Browse](https://packagist.org/packages/predictionio/predictionio)
+[Browse](https://packagist.org/packages/predictionorg.apache.predictionioio)
 
 ## GitHub
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/system/anotherdatastore.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/system/anotherdatastore.html.md b/docs/manual/source/system/anotherdatastore.html.md
index 563430b..28fde14 100644
--- a/docs/manual/source/system/anotherdatastore.html.md
+++ b/docs/manual/source/system/anotherdatastore.html.md
@@ -280,8 +280,8 @@ supported.
 
 It is quite straightforward to implement support of other backends. A good
 starting point is to reference the JDBC implementation inside the
-[io.prediction.data.storage.jdbc
-package](https://github.com/PredictionIO/PredictionIO/tree/develop/data/src/main/scala/io/prediction/data/storage/jdbc).
+[org.apache.predictionio.data.storage.jdbc
+package](https://github.com/PredictionIO/PredictionIO/tree/develop/data/src/main/scala/org.apache.predictionio/data/storage/jdbc).
 
 Contributions of different backends implementation is highly encouraged. To
 start contributing, please refer to [this guide](/community/contribute-code/).

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 327c1b3..12a01aa 100644
--- a/docs/manual/source/templates/classification/quickstart.html.md.erb
+++ b/docs/manual/source/templates/classification/quickstart.html.md.erb
@@ -150,8 +150,8 @@ client.create_event(
   <div data-tab="Java SDK" data-lang="java">
 ```java
 import com.google.common.collect.ImmutableMap;
-import io.prediction.Event;
-import io.prediction.EventClient;
+import org.apache.predictionio.Event;
+import org.apache.predictionio.EventClient;
 
 EventClient client = new EventClient(<ACCESS KEY>, <URL OF EVENTSERVER>);
 
@@ -429,7 +429,7 @@ import com.google.common.collect.ImmutableList;
 import com.google.common.collect.ImmutableMap;
 import com.google.gson.JsonObject;
 
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 EngineClient engineClient = new EngineClient(<ENGINE DEPLOY URL>);
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 651ec7b..25b6e2b 100644
--- a/docs/manual/source/templates/complementarypurchase/quickstart.html.md.erb
+++ b/docs/manual/source/templates/complementarypurchase/quickstart.html.md.erb
@@ -159,8 +159,8 @@ client.create_event(
   </div>
   <div data-tab="Java SDK" data-lang="java">
 ```java
-import io.prediction.Event;
-import io.prediction.EventClient;
+import org.apache.predictionio.Event;
+import org.apache.predictionio.EventClient;
 
 import com.google.common.collect.ImmutableList;
 
@@ -297,7 +297,7 @@ import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.ImmutableList;
 import com.google.gson.JsonObject;
 
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 // create client object
 EngineClient engineClient = new EngineClient("http://localhost:8000");

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 fc31650..ea2c425 100644
--- a/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb
+++ b/docs/manual/source/templates/ecommercerecommendation/quickstart.html.md.erb
@@ -147,8 +147,8 @@ client.create_event(
   </div>
   <div data-tab="Java SDK" data-lang="java">
 ```java
-import io.prediction.Event;
-import io.prediction.EventClient;
+import org.apache.predictionio.Event;
+import org.apache.predictionio.EventClient;
 
 import com.google.common.collect.ImmutableList;
 
@@ -495,7 +495,7 @@ import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.ImmutableList;
 import com.google.gson.JsonObject;
 
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 // create client object
 EngineClient engineClient = new EngineClient("http://localhost:8000");

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 fe8354b..5dc2061 100644
--- a/docs/manual/source/templates/javaecommercerecommendation/quickstart.html.md.erb
+++ b/docs/manual/source/templates/javaecommercerecommendation/quickstart.html.md.erb
@@ -148,8 +148,8 @@ client.create_event(
   </div>
   <div data-tab="Java SDK" data-lang="java">
 ```java
-import io.prediction.Event;
-import io.prediction.EventClient;
+import org.apache.predictionio.Event;
+import org.apache.predictionio.EventClient;
 
 import com.google.common.collect.ImmutableList;
 
@@ -495,7 +495,7 @@ import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.ImmutableList;
 import com.google.gson.JsonObject;
 
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 // create client object
 EngineClient engineClient = new EngineClient("http://localhost:8000");

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 081111c..5d5723c 100644
--- a/docs/manual/source/templates/leadscoring/quickstart.html.md.erb
+++ b/docs/manual/source/templates/leadscoring/quickstart.html.md.erb
@@ -152,8 +152,8 @@ client.create_event(
   </div>
   <div data-tab="Java SDK" data-lang="java">
 ```java
-import io.prediction.Event;
-import io.prediction.EventClient;
+import org.apache.predictionio.Event;
+import org.apache.predictionio.EventClient;
 
 import com.google.common.collect.ImmutableList;
 
@@ -372,7 +372,7 @@ import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.ImmutableList;
 import com.google.gson.JsonObject;
 
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 // create client object
 EngineClient engineClient = new EngineClient("http://localhost:8000");

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 759fd02..555390a 100644
--- a/docs/manual/source/templates/productranking/quickstart.html.md.erb
+++ b/docs/manual/source/templates/productranking/quickstart.html.md.erb
@@ -116,8 +116,8 @@ client.create_event(
   </div>
   <div data-tab="Java SDK" data-lang="java">
 ```java
-import io.prediction.Event;
-import io.prediction.EventClient;
+import org.apache.predictionio.Event;
+import org.apache.predictionio.EventClient;
 
 import com.google.common.collect.ImmutableList;
 
@@ -372,7 +372,7 @@ import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.ImmutableList;
 import com.google.gson.JsonObject;
 
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 // create client object
 EngineClient engineClient = new EngineClient("http://localhost:8000");

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 b574036..3d66645 100644
--- a/docs/manual/source/templates/recommendation/batch-evaluator.html.md
+++ b/docs/manual/source/templates/recommendation/batch-evaluator.html.md
@@ -60,15 +60,15 @@ Note that output directory is specified by the variable `outputDir`.
 ```scala
 package org.template.recommendation
 
-import io.prediction.controller.EmptyEvaluationInfo
-import io.prediction.controller.Engine
-import io.prediction.controller.EngineParams
-import io.prediction.controller.EngineParamsGenerator
-import io.prediction.controller.Evaluation
-import io.prediction.controller.Params
-import io.prediction.core.BaseEvaluator
-import io.prediction.core.BaseEvaluatorResult
-import io.prediction.workflow.WorkflowParams
+import org.apache.predictionio.controller.EmptyEvaluationInfo
+import org.apache.predictionio.controller.Engine
+import org.apache.predictionio.controller.EngineParams
+import org.apache.predictionio.controller.EngineParamsGenerator
+import org.apache.predictionio.controller.Evaluation
+import org.apache.predictionio.controller.Params
+import org.apache.predictionio.core.BaseEvaluator
+import org.apache.predictionio.core.BaseEvaluatorResult
+import org.apache.predictionio.workflow.WorkflowParams
 
 import org.apache.spark.SparkContext
 import org.apache.spark.rdd.RDD
@@ -153,9 +153,9 @@ Modify the appName parameter in `DataSourceParams` to match your app name.
 ```scala
 package org.template.recommendation
 
-import io.prediction.controller.EngineParamsGenerator
-import io.prediction.controller.EngineParams
-import io.prediction.controller.Evaluation
+import org.apache.predictionio.controller.EngineParamsGenerator
+import org.apache.predictionio.controller.EngineParams
+import org.apache.predictionio.controller.Evaluation
 
 object BatchEvaluation extends Evaluation {
   // Define Engine and Evaluator used in Evaluation

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/templates/recommendation/customize-data-prep.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/recommendation/customize-data-prep.html.md b/docs/manual/source/templates/recommendation/customize-data-prep.html.md
index d4b0119..dc22572 100644
--- a/docs/manual/source/templates/recommendation/customize-data-prep.html.md
+++ b/docs/manual/source/templates/recommendation/customize-data-prep.html.md
@@ -138,7 +138,7 @@ Modify `src/main/scala/Preparator.scala` again in the *MyRecommendation*
 directory to:
 
 ```scala
-import io.prediction.controller.Params // ADDED
+import org.apache.predictionio.controller.Params // ADDED
 
  // ADDED CustomPreparatorParams case class
 case class CustomPreparatorParams(

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/templates/recommendation/customize-serving.html.md
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/recommendation/customize-serving.html.md b/docs/manual/source/templates/recommendation/customize-serving.html.md
index c7d2afd..e49960f 100644
--- a/docs/manual/source/templates/recommendation/customize-serving.html.md
+++ b/docs/manual/source/templates/recommendation/customize-serving.html.md
@@ -171,7 +171,7 @@ directory to:
 ```scala
 import scala.io.Source
 
-import io.prediction.controller.Params  // ADDED
+import org.apache.predictionio.controller.Params  // ADDED
 
 // ADDED ServingParams to specify the blacklisting file location.
 case class ServingParams(filepath: String) extends Params
@@ -219,4 +219,4 @@ $ pio deploy
 
 You can change the `filepath` value without re-building the code next time.
 
-#### [Next: Filter Recommended Items by Blacklist in Query](blacklist-items.html)
\ No newline at end of file
+#### [Next: Filter Recommended Items by Blacklist in Query](blacklist-items.html)

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 46d15b9..f84e9d1 100644
--- a/docs/manual/source/templates/recommendation/quickstart.html.md.erb
+++ b/docs/manual/source/templates/recommendation/quickstart.html.md.erb
@@ -137,8 +137,8 @@ client.create_event(
   </div>
   <div data-tab="Java SDK" data-lang="java">
 ```java
-import io.prediction.Event;
-import io.prediction.EventClient;
+import org.apache.predictionio.Event;
+import org.apache.predictionio.EventClient;
 
 EventClient client = new EventClient(<ACCESS KEY>, <URL OF EVENTSERVER>);
 
@@ -323,7 +323,7 @@ puts response
 import com.google.common.collect.ImmutableMap;
 import com.google.gson.JsonObject;
 
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 // create client object
 EngineClient engineClient = new EngineClient(<ENGINE DEPLOY URL>);

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 b30dc1b..d4fb789 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
@@ -162,7 +162,7 @@ It is shown in the code below:
 ```scala
 package org.template.similarproduct
 
-import io.prediction.data.storage.BiMap
+import org.apache.predictionio.data.storage.BiMap
 
 import org.apache.spark.SparkContext
 import org.apache.spark.SparkContext._

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/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 b55f511..8f8c6d1 100644
--- a/docs/manual/source/templates/similarproduct/quickstart.html.md.erb
+++ b/docs/manual/source/templates/similarproduct/quickstart.html.md.erb
@@ -139,8 +139,8 @@ client.create_event(
   </div>
   <div data-tab="Java SDK" data-lang="java">
 ```java
-import io.prediction.Event;
-import io.prediction.EventClient;
+import org.apache.predictionio.Event;
+import org.apache.predictionio.EventClient;
 
 import com.google.common.collect.ImmutableList;
 
@@ -401,7 +401,7 @@ import com.google.common.collect.ImmutableMap;
 import com.google.common.collect.ImmutableList;
 import com.google.gson.JsonObject;
 
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 // create client object
 EngineClient engineClient = new EngineClient("http://localhost:8000");

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/manual/source/templates/vanilla/quickstart.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/templates/vanilla/quickstart.html.md.erb b/docs/manual/source/templates/vanilla/quickstart.html.md.erb
index 4c0f200..6e24038 100644
--- a/docs/manual/source/templates/vanilla/quickstart.html.md.erb
+++ b/docs/manual/source/templates/vanilla/quickstart.html.md.erb
@@ -100,7 +100,7 @@ puts response
 import com.google.common.collect.ImmutableMap;
 import com.google.gson.JsonObject;
 
-import io.prediction.EngineClient;
+import org.apache.predictionio.EngineClient;
 
 // create client object
 EngineClient engineClient = new EngineClient(<ENGINE DEPLOY URL>);

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/ed9d62d7/docs/scaladoc/rootdoc.txt
----------------------------------------------------------------------
diff --git a/docs/scaladoc/rootdoc.txt b/docs/scaladoc/rootdoc.txt
index c546369..00db0ed 100644
--- a/docs/scaladoc/rootdoc.txt
+++ b/docs/scaladoc/rootdoc.txt
@@ -2,8 +2,8 @@ This is the API documentation of PredictionIO.
 
 == Package Structure ==
 
- - [[io.prediction.controller]] - The common starting point. Building blocks of a prediction engine.
- - [[io.prediction.data.store]] - Event Store API.
+ - [[org.apache.predictionio.controller]] - The common starting point. Building blocks of a prediction engine.
+ - [[org.apache.predictionio.data.store]] - Event Store API.
 
 == Experimental Features ==