From commits-return-4930-archive-asf-public=cust-asf.ponee.io@predictionio.apache.org Fri Jun 29 05:06:58 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 38CB0180662 for ; Fri, 29 Jun 2018 05:06:58 +0200 (CEST) Received: (qmail 93594 invoked by uid 500); 29 Jun 2018 03:06:56 -0000 Mailing-List: contact commits-help@predictionio.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@predictionio.apache.org Delivered-To: mailing list commits@predictionio.apache.org Received: (qmail 93585 invoked by uid 99); 29 Jun 2018 03:06:56 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jun 2018 03:06:56 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 54790C057F for ; Fri, 29 Jun 2018 03:06:56 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -11.701 X-Spam-Level: X-Spam-Status: No, score=-11.701 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id IYQPgFPbsStH for ; Fri, 29 Jun 2018 03:06:54 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id E6EB55F2AA for ; Fri, 29 Jun 2018 03:06:53 +0000 (UTC) Received: (qmail 93577 invoked by uid 99); 29 Jun 2018 03:06:52 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jun 2018 03:06:52 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id B7B09E0A9F; Fri, 29 Jun 2018 03:06:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tchan@apache.org To: commits@predictionio.incubator.apache.org Message-Id: <3266e8a956d64a31a182ee04ab5e0ede@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: predictionio git commit: fix "$pio eval" command Date: Fri, 29 Jun 2018 03:06:52 +0000 (UTC) Repository: predictionio Updated Branches: refs/heads/livedoc a7c94c313 -> 37c179354 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/livedoc Commit: 37c17935475cf9f753f6be4d9ab22dbbd7d3cd4a Parents: a7c94c3 Author: Tom Chan Authored: Thu Jun 28 20:01:17 2018 -0700 Committer: Tom Chan 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: