Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id AE0F5200BB4 for ; Tue, 1 Nov 2016 22:24:36 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id ACDAB160B07; Tue, 1 Nov 2016 21:24:36 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0712D160ADA for ; Tue, 1 Nov 2016 22:24:35 +0100 (CET) Received: (qmail 55573 invoked by uid 500); 1 Nov 2016 21:24:35 -0000 Mailing-List: contact commits-help@predictionio.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@predictionio.incubator.apache.org Delivered-To: mailing list commits@predictionio.incubator.apache.org Received: (qmail 55560 invoked by uid 99); 1 Nov 2016 21:24:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Nov 2016 21:24:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A57951A7ABC for ; Tue, 1 Nov 2016 21:24:34 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -6.219 X-Spam-Level: X-Spam-Status: No, score=-6.219 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id j3DdZ5K4nH3R for ; Tue, 1 Nov 2016 21:24:33 +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 177C75FC76 for ; Tue, 1 Nov 2016 21:24:32 +0000 (UTC) Received: (qmail 55537 invoked by uid 99); 1 Nov 2016 21:24:32 -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; Tue, 01 Nov 2016 21:24:32 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 19C1DE1772; Tue, 1 Nov 2016 21:24:32 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: donald@apache.org To: commits@predictionio.incubator.apache.org Date: Tue, 01 Nov 2016 21:24:32 -0000 Message-Id: <913f5c7c2de74b80ab09f68e5133c2cd@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/5] incubator-predictionio-template-recommender git commit: usage in Evaluation.scala archived-at: Tue, 01 Nov 2016 21:24:36 -0000 Repository: incubator-predictionio-template-recommender Updated Branches: refs/heads/master 68350fa32 -> e835140f8 usage in Evaluation.scala Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-recommender/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-recommender/commit/c588fd0d Tree: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-recommender/tree/c588fd0d Diff: http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-recommender/diff/c588fd0d Branch: refs/heads/master Commit: c588fd0d3dadd88e5662b66fc79058a91d425c6f Parents: ef2f80a Author: Alex Simes Authored: Mon May 2 15:02:59 2016 +0200 Committer: Alex Simes Committed: Mon May 2 15:02:59 2016 +0200 ---------------------------------------------------------------------- src/main/scala/Evaluation.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-predictionio-template-recommender/blob/c588fd0d/src/main/scala/Evaluation.scala ---------------------------------------------------------------------- diff --git a/src/main/scala/Evaluation.scala b/src/main/scala/Evaluation.scala index f744677..428fb8e 100644 --- a/src/main/scala/Evaluation.scala +++ b/src/main/scala/Evaluation.scala @@ -10,7 +10,7 @@ import io.prediction.controller.MetricEvaluator // Usage: // $ pio eval org.template.recommendation.RecommendationEvaluation \ -// org.template.recommendation.ParamsList +// org.template.recommendation.EngineParamsList case class PrecisionAtK(k: Int, ratingThreshold: Double = 2.0) extends OptionAverageMetric[EmptyEvaluationInfo, Query, PredictedResult, ActualResult] {