predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From don...@apache.org
Subject [1/2] incubator-predictionio-template-skeleton git commit: Update template for PIO v0.10.0-incubating
Date Tue, 01 Nov 2016 21:39:22 GMT
Repository: incubator-predictionio-template-skeleton
Updated Branches:
  refs/heads/develop 31c62a817 -> 2b74bddea


Update template for PIO v0.10.0-incubating


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

Branch: refs/heads/develop
Commit: 0294d7d5aa4ad3ae6b672d81a97d01769587a9a5
Parents: 31c62a8
Author: Chan Lee <chanlee514@gmail.com>
Authored: Tue Nov 1 14:37:47 2016 -0700
Committer: Donald Szeto <dszeto@salesforce.com>
Committed: Tue Nov 1 14:37:47 2016 -0700

----------------------------------------------------------------------
 build.sbt                       |  8 ++++----
 project/pio-build.sbt           |  1 -
 src/main/scala/Algorithm.scala  |  4 ++--
 src/main/scala/DataSource.scala | 12 ++++++------
 src/main/scala/Engine.scala     |  4 ++--
 src/main/scala/Preparator.scala |  4 ++--
 src/main/scala/Serving.scala    |  2 +-
 template.json                   |  2 +-
 8 files changed, 18 insertions(+), 19 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-skeleton/blob/0294d7d5/build.sbt
----------------------------------------------------------------------
diff --git a/build.sbt b/build.sbt
index 2c7a35f..eed327e 100644
--- a/build.sbt
+++ b/build.sbt
@@ -4,9 +4,9 @@ assemblySettings
 
 name := "template-scala-parallel-vanilla"
 
-organization := "io.prediction"
+organization := "org.apache.predictionio"
 
 libraryDependencies ++= Seq(
-  "io.prediction"    %% "core"          % pioVersion.value % "provided",
-  "org.apache.spark" %% "spark-core"    % "1.3.0" % "provided",
-  "org.apache.spark" %% "spark-mllib"   % "1.3.0" % "provided")
+  "org.apache.predictionio" %% "apache-predictionio-core" % "0.10.0-incubating" % "provided",
+  "org.apache.spark"        %% "spark-core"               % "1.3.0" % "provided",
+  "org.apache.spark"        %% "spark-mllib"              % "1.3.0" % "provided")

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-skeleton/blob/0294d7d5/project/pio-build.sbt
----------------------------------------------------------------------
diff --git a/project/pio-build.sbt b/project/pio-build.sbt
deleted file mode 100644
index 8346a96..0000000
--- a/project/pio-build.sbt
+++ /dev/null
@@ -1 +0,0 @@
-addSbtPlugin("io.prediction" % "pio-build" % "0.9.0")

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-skeleton/blob/0294d7d5/src/main/scala/Algorithm.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/Algorithm.scala b/src/main/scala/Algorithm.scala
index ee7169d..7c6c9a5 100644
--- a/src/main/scala/Algorithm.scala
+++ b/src/main/scala/Algorithm.scala
@@ -1,7 +1,7 @@
 package org.template.vanilla
 
-import io.prediction.controller.P2LAlgorithm
-import io.prediction.controller.Params
+import org.apache.predictionio.controller.P2LAlgorithm
+import org.apache.predictionio.controller.Params
 
 import org.apache.spark.SparkContext
 import org.apache.spark.SparkContext._

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-skeleton/blob/0294d7d5/src/main/scala/DataSource.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/DataSource.scala b/src/main/scala/DataSource.scala
index 210387e..4f4026f 100644
--- a/src/main/scala/DataSource.scala
+++ b/src/main/scala/DataSource.scala
@@ -1,11 +1,11 @@
 package org.template.vanilla
 
-import io.prediction.controller.PDataSource
-import io.prediction.controller.EmptyEvaluationInfo
-import io.prediction.controller.EmptyActualResult
-import io.prediction.controller.Params
-import io.prediction.data.storage.Event
-import io.prediction.data.store.PEventStore
+import org.apache.predictionio.controller.PDataSource
+import org.apache.predictionio.controller.EmptyEvaluationInfo
+import org.apache.predictionio.controller.EmptyActualResult
+import org.apache.predictionio.controller.Params
+import org.apache.predictionio.data.storage.Event
+import org.apache.predictionio.data.store.PEventStore
 
 import org.apache.spark.SparkContext
 import org.apache.spark.SparkContext._

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-skeleton/blob/0294d7d5/src/main/scala/Engine.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/Engine.scala b/src/main/scala/Engine.scala
index f2b4734..bfecacc 100644
--- a/src/main/scala/Engine.scala
+++ b/src/main/scala/Engine.scala
@@ -1,7 +1,7 @@
 package org.template.vanilla
 
-import io.prediction.controller.IEngineFactory
-import io.prediction.controller.Engine
+import org.apache.predictionio.controller.IEngineFactory
+import org.apache.predictionio.controller.Engine
 
 case class Query(q: String) extends Serializable
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-skeleton/blob/0294d7d5/src/main/scala/Preparator.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/Preparator.scala b/src/main/scala/Preparator.scala
index 552a94d..1504cbd 100644
--- a/src/main/scala/Preparator.scala
+++ b/src/main/scala/Preparator.scala
@@ -1,7 +1,7 @@
 package org.template.vanilla
 
-import io.prediction.controller.PPreparator
-import io.prediction.data.storage.Event
+import org.apache.predictionio.controller.PPreparator
+import org.apache.predictionio.data.storage.Event
 
 import org.apache.spark.SparkContext
 import org.apache.spark.SparkContext._

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-skeleton/blob/0294d7d5/src/main/scala/Serving.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/Serving.scala b/src/main/scala/Serving.scala
index 0477f08..c8d62c9 100644
--- a/src/main/scala/Serving.scala
+++ b/src/main/scala/Serving.scala
@@ -1,6 +1,6 @@
 package org.template.vanilla
 
-import io.prediction.controller.LServing
+import org.apache.predictionio.controller.LServing
 
 class Serving
   extends LServing[Query, PredictedResult] {

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-skeleton/blob/0294d7d5/template.json
----------------------------------------------------------------------
diff --git a/template.json b/template.json
index fb4a50b..d076ec5 100644
--- a/template.json
+++ b/template.json
@@ -1 +1 @@
-{"pio": {"version": { "min": "0.9.2" }}}
+{"pio": {"version": { "min": "0.10.0-incubating" }}}


Mime
View raw message