Return-Path: Delivered-To: apmail-incubator-opennlp-dev-archive@minotaur.apache.org Received: (qmail 62615 invoked from network); 5 Jan 2011 10:51:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Jan 2011 10:51:40 -0000 Received: (qmail 23949 invoked by uid 500); 5 Jan 2011 10:51:40 -0000 Delivered-To: apmail-incubator-opennlp-dev-archive@incubator.apache.org Received: (qmail 23907 invoked by uid 500); 5 Jan 2011 10:51:39 -0000 Mailing-List: contact opennlp-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: opennlp-dev@incubator.apache.org Delivered-To: mailing list opennlp-dev@incubator.apache.org Received: (qmail 23897 invoked by uid 99); 5 Jan 2011 10:51:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 10:51:39 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kottmann@gmail.com designates 209.85.214.47 as permitted sender) Received: from [209.85.214.47] (HELO mail-bw0-f47.google.com) (209.85.214.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jan 2011 10:51:31 +0000 Received: by bwz10 with SMTP id 10so14745462bwz.6 for ; Wed, 05 Jan 2011 02:51:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=JoQVrP+Ft3M/MS2lYKwxid3mnvF1or/MGwGos9JiAww=; b=R6rAMIZ9ELrDWZCC57IKDZ3Ro15DqlejclxgDsqG9kLHF1c89dABD/8U7r9w6C0Bkr lqeVLXulDZmCWZYB4GzukE1fuLqiDbLhnCMyG20Dr63zDHoX1kjuW+u58en/Pd0pg1yZ PuICmAPqATCzAf6Eh3tGVl2h/8L5LWH1aKunI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=h0ly2IDbFtjIgiYvNPKmC4RnGJH4cQaBaiwJIbVlmRbDZI4TnFXw3IJwZXePAsFVXO G7AgPVfUKTMBq/UypAlARInx45oajP3i+o4lHqn9zvgEY0Qz3B6nSEmRExy+Ry0RA/Sr UQPc+AQmW6438h6n6NjwjgylDF4r7W0AMlCbw= Received: by 10.204.100.136 with SMTP id y8mr17427016bkn.171.1294224669790; Wed, 05 Jan 2011 02:51:09 -0800 (PST) Received: from [192.168.47.20] (p54BEF217.dip.t-dialin.net [84.190.242.23]) by mx.google.com with ESMTPS id v25sm12682710bkt.6.2011.01.05.02.51.08 (version=SSLv3 cipher=RC4-MD5); Wed, 05 Jan 2011 02:51:08 -0800 (PST) Message-ID: <4D244D1E.3060708@gmail.com> Date: Wed, 05 Jan 2011 11:51:10 +0100 From: =?ISO-8859-1?Q?J=F6rn_Kottmann?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: opennlp-dev@incubator.apache.org Subject: Re: Bad precision using FMeasure References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit On 1/4/11 7:43 PM, william.colen@gmail.com wrote: > Hi, > > I noticed a bad precision of FMeasure class. I think the issue is that the > current implementation is summing divisions. It computes the precision and > recall for every sample, and after adds it all to compute the overall > result. By doing that, the error related to each division are summed and can > impact the final result. > I tried a new implementation that can fix it. If everyone agrees I'll create > an issue at Jira to commit the modified version. > > Regards > William > Thanks for catching that, yeah sure open a jira issue and check in your fix. J�rn