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 94240200AE3 for ; Wed, 4 May 2016 19:20:14 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 92C7B160A02; Wed, 4 May 2016 17:20:14 +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 1655D1609FC for ; Wed, 4 May 2016 19:20:13 +0200 (CEST) Received: (qmail 70247 invoked by uid 500); 4 May 2016 17:20:13 -0000 Mailing-List: contact issues-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@spark.apache.org Received: (qmail 70204 invoked by uid 99); 4 May 2016 17:20:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 May 2016 17:20:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0959F2C1F68 for ; Wed, 4 May 2016 17:20:13 +0000 (UTC) Date: Wed, 4 May 2016 17:20:13 +0000 (UTC) From: "Miao Wang (JIRA)" To: issues@spark.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SPARK-14900) spark.ml classification metrics should include accuracy MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 04 May 2016 17:20:14 -0000 [ https://issues.apache.org/jira/browse/SPARK-14900?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15271023#comment-15271023 ] Miao Wang commented on SPARK-14900: ----------------------------------- Yes, "accuracy" makes more sense for binary classification problems. I will create a JIRA for it and work on it. For the MulticalssMetrics, I will make changes to deprecate "precision" by accuracy. > spark.ml classification metrics should include accuracy > ------------------------------------------------------- > > Key: SPARK-14900 > URL: https://issues.apache.org/jira/browse/SPARK-14900 > Project: Spark > Issue Type: New Feature > Components: ML > Reporter: Joseph K. Bradley > Priority: Minor > > To compute "accuracy" (0/1 classification accuracy), users can use {{precision}} in MulticlassMetrics and MulticlassClassificationEvaluator.metricName. We should also support "accuracy" directly as an alias to help users familiar with that name. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org For additional commands, e-mail: issues-help@spark.apache.org