fix "$pio eval" command

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

Closes #455


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

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

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


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

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

Reply via email to