Return-Path: X-Original-To: apmail-spark-user-archive@minotaur.apache.org Delivered-To: apmail-spark-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 805121177D for ; Wed, 30 Jul 2014 19:08:53 +0000 (UTC) Received: (qmail 14850 invoked by uid 500); 30 Jul 2014 19:08:51 -0000 Delivered-To: apmail-spark-user-archive@spark.apache.org Received: (qmail 14798 invoked by uid 500); 30 Jul 2014 19:08:51 -0000 Mailing-List: contact user-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@spark.apache.org Delivered-To: mailing list user@spark.apache.org Received: (qmail 14784 invoked by uid 99); 30 Jul 2014 19:08:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 19:08:51 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of skrishna.id@gmail.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Jul 2014 19:08:49 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XCZEe-0004EG-MS for user@spark.incubator.apache.org; Wed, 30 Jul 2014 12:08:24 -0700 Date: Wed, 30 Jul 2014 12:08:24 -0700 (PDT) From: SK To: user@spark.incubator.apache.org Message-ID: <1406747304688-10980.post@n3.nabble.com> In-Reply-To: References: <1406596058872-10822.post@n3.nabble.com> Subject: Re: evaluating classification accuracy MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I am using 1.0.1 and I am running locally (I am not providing any master URL). But the zip() does not produce the correct count as I mentioned above. So not sure if the issue has been fixed in 1.0.1. However, instead of using zip, I am now using the code that Sean has mentioned and am getting the correct count. So the issue is resolved. thanks. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/evaluating-classification-accuracy-tp10822p10980.html Sent from the Apache Spark User List mailing list archive at Nabble.com.