You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@predictionio.apache.org by ch...@apache.org on 2018/03/01 23:22:46 UTC
[18/20] predictionio git commit: [MINOR] Update org.template
reference to org.example
[MINOR] Update org.template reference to org.example
This closes #437
Project: http://git-wip-us.apache.org/repos/asf/predictionio/repo
Commit: http://git-wip-us.apache.org/repos/asf/predictionio/commit/2c61fbc5
Tree: http://git-wip-us.apache.org/repos/asf/predictionio/tree/2c61fbc5
Diff: http://git-wip-us.apache.org/repos/asf/predictionio/diff/2c61fbc5
Branch: refs/heads/livedoc
Commit: 2c61fbc5f0b55313694e177bb7650058d705cb4c
Parents: ef6a490
Author: Helene Brashear <si...@gmail.com>
Authored: Thu Mar 1 14:55:27 2018 -0800
Committer: Chan Lee <ch...@gmail.com>
Committed: Thu Mar 1 14:55:52 2018 -0800
----------------------------------------------------------------------
docs/manual/source/demo/textclassification.html.md.erb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/predictionio/blob/2c61fbc5/docs/manual/source/demo/textclassification.html.md.erb
----------------------------------------------------------------------
diff --git a/docs/manual/source/demo/textclassification.html.md.erb b/docs/manual/source/demo/textclassification.html.md.erb
index af60cb2..f638a44 100644
--- a/docs/manual/source/demo/textclassification.html.md.erb
+++ b/docs/manual/source/demo/textclassification.html.md.erb
@@ -100,7 +100,7 @@ Make sure the "appName" is same as the app you created in step1.
{
"id": "default",
"description": "Default settings",
- "engineFactory": "org.template.textclassification.TextClassificationEngine",
+ "engineFactory": "org.example.textclassification.TextClassificationEngine",
"datasource": {
"params": {
"appName": "MyTextApp"
@@ -193,7 +193,7 @@ you should see following outputs returned by the engine:
### 5.b.Evaluate your training model and tune parameters.
```
-$ pio eval org.template.textclassification.AccuracyEvaluation org.template.textclassification.EngineParamsList
+$ pio eval org.example.textclassification.AccuracyEvaluation org.example.textclassification.EngineParamsList
```
**Note:** Training and evaluation stages are generally different stages of engine development. Evaluation is there to help you choose the best [algorithm parameters](/evaluation/paramtuning/) to use for training an engine that is to be deployed as a web service.
@@ -582,7 +582,7 @@ To use the alternative multinomial logistic regression algorithm change your `en
{
"id": "default",
"description": "Default settings",
- "engineFactory": "org.template.textclassification.TextClassificationEngine",
+ "engineFactory": "org.example.textclassification.TextClassificationEngine",
"datasource": {
"params": {
"appName": "MyTextApp"
@@ -679,7 +679,7 @@ $ pio build
**2.a.** Evaluate your training model and tune parameters.
```
-$ pio eval org.template.textclassification.AccuracyEvaluation org.template.textclassification.EngineParamsList
+$ pio eval org.example.textclassification.AccuracyEvaluation org.example.textclassification.EngineParamsList
```
**2.b.** Train your model and deploy.