predictionio-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From don...@apache.org
Subject [4/4] incubator-predictionio-template-attribute-based-classifier git commit: 0.11.0-incubating release
Date Thu, 04 May 2017 17:32:31 GMT
0.11.0-incubating release


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/commit/903f9eef
Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/tree/903f9eef
Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/diff/903f9eef

Branch: refs/heads/develop
Commit: 903f9eef4179025fdb7168620bf440f7236588d0
Parents: a7e13de
Author: Donald Szeto <donald@apache.org>
Authored: Thu May 4 10:32:03 2017 -0700
Committer: Donald Szeto <donald@apache.org>
Committed: Thu May 4 10:32:03 2017 -0700

----------------------------------------------------------------------
 README.md                                | 7 +++++++
 build.sbt                                | 2 --
 engine.json                              | 2 +-
 src/main/scala/CompleteEvaluation.scala  | 2 +-
 src/main/scala/DataSource.scala          | 2 +-
 src/main/scala/Engine.scala              | 2 +-
 src/main/scala/Evaluation.scala          | 2 +-
 src/main/scala/NaiveBayesAlgorithm.scala | 2 +-
 src/main/scala/PrecisionEvaluation.scala | 2 +-
 src/main/scala/Preparator.scala          | 2 +-
 src/main/scala/Serving.scala             | 2 +-
 11 files changed, 16 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/blob/903f9eef/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 031c09f..d8bac33 100644
--- a/README.md
+++ b/README.md
@@ -6,6 +6,13 @@ Please refer to http://predictionio.incubator.apache.org/templates/classificatio
 
 ## Versions
 
+### v0.11.0-incubating
+
+- Bump version number to track PredictionIO version
+- Rename Scala package name
+- Update SBT version
+- Add Python 3 support to scripts
+
 ### v0.4.0
 
 Update for Apache PredictionIO 0.10.0-incubating

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/blob/903f9eef/build.sbt
----------------------------------------------------------------------
diff --git a/build.sbt b/build.sbt
index 13544fd..560eb77 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,7 +1,5 @@
 name := "template-scala-parallel-classification"
 
-organization := "org.apache.predictionio"
-
 libraryDependencies ++= Seq(
   "org.apache.predictionio" %% "apache-predictionio-core" % "0.11.0-incubating" % "provided",
   "org.apache.spark"        %% "spark-core"               % "1.3.1" % "provided",

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/blob/903f9eef/engine.json
----------------------------------------------------------------------
diff --git a/engine.json b/engine.json
index 833c831..97d8d30 100644
--- a/engine.json
+++ b/engine.json
@@ -1,7 +1,7 @@
 {
   "id": "default",
   "description": "Default settings",
-  "engineFactory": "org.template.classification.ClassificationEngine",
+  "engineFactory": "org.example.classification.ClassificationEngine",
   "datasource": {
     "params": {
       "appName": "INVALID_APP_NAME"

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/blob/903f9eef/src/main/scala/CompleteEvaluation.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/CompleteEvaluation.scala b/src/main/scala/CompleteEvaluation.scala
index 3dd1d1d..68ea134 100644
--- a/src/main/scala/CompleteEvaluation.scala
+++ b/src/main/scala/CompleteEvaluation.scala
@@ -1,4 +1,4 @@
-package org.template.classification
+package org.example.classification
 
 import org.apache.predictionio.controller.Evaluation
 import org.apache.predictionio.controller.MetricEvaluator

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/blob/903f9eef/src/main/scala/DataSource.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/DataSource.scala b/src/main/scala/DataSource.scala
index eb2e6e8..96d245e 100644
--- a/src/main/scala/DataSource.scala
+++ b/src/main/scala/DataSource.scala
@@ -1,4 +1,4 @@
-package org.template.classification
+package org.example.classification
 
 import org.apache.predictionio.controller.PDataSource
 import org.apache.predictionio.controller.EmptyEvaluationInfo

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/blob/903f9eef/src/main/scala/Engine.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/Engine.scala b/src/main/scala/Engine.scala
index 885f56d..72c2515 100644
--- a/src/main/scala/Engine.scala
+++ b/src/main/scala/Engine.scala
@@ -1,4 +1,4 @@
-package org.template.classification
+package org.example.classification
 
 import org.apache.predictionio.controller.EngineFactory
 import org.apache.predictionio.controller.Engine

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/blob/903f9eef/src/main/scala/Evaluation.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/Evaluation.scala b/src/main/scala/Evaluation.scala
index 5f58cfa..9916f03 100644
--- a/src/main/scala/Evaluation.scala
+++ b/src/main/scala/Evaluation.scala
@@ -1,4 +1,4 @@
-package org.template.classification
+package org.example.classification
 
 import org.apache.predictionio.controller.AverageMetric
 import org.apache.predictionio.controller.EmptyEvaluationInfo

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/blob/903f9eef/src/main/scala/NaiveBayesAlgorithm.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/NaiveBayesAlgorithm.scala b/src/main/scala/NaiveBayesAlgorithm.scala
index c40f31f..5723bc1 100644
--- a/src/main/scala/NaiveBayesAlgorithm.scala
+++ b/src/main/scala/NaiveBayesAlgorithm.scala
@@ -1,4 +1,4 @@
-package org.template.classification
+package org.example.classification
 
 import org.apache.predictionio.controller.P2LAlgorithm
 import org.apache.predictionio.controller.Params

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/blob/903f9eef/src/main/scala/PrecisionEvaluation.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/PrecisionEvaluation.scala b/src/main/scala/PrecisionEvaluation.scala
index 299c43f..71d391a 100644
--- a/src/main/scala/PrecisionEvaluation.scala
+++ b/src/main/scala/PrecisionEvaluation.scala
@@ -1,4 +1,4 @@
-package org.template.classification
+package org.example.classification
 
 import org.apache.predictionio.controller.OptionAverageMetric
 import org.apache.predictionio.controller.EmptyEvaluationInfo

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/blob/903f9eef/src/main/scala/Preparator.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/Preparator.scala b/src/main/scala/Preparator.scala
index 8a1e41d..880021a 100644
--- a/src/main/scala/Preparator.scala
+++ b/src/main/scala/Preparator.scala
@@ -1,4 +1,4 @@
-package org.template.classification
+package org.example.classification
 
 import org.apache.predictionio.controller.PPreparator
 

http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-attribute-based-classifier/blob/903f9eef/src/main/scala/Serving.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/Serving.scala b/src/main/scala/Serving.scala
index 9722883..3ee6c83 100644
--- a/src/main/scala/Serving.scala
+++ b/src/main/scala/Serving.scala
@@ -1,4 +1,4 @@
-package org.template.classification
+package org.example.classification
 
 import org.apache.predictionio.controller.LServing
 


Mime
View raw message