Return-Path: X-Original-To: apmail-mahout-dev-archive@www.apache.org Delivered-To: apmail-mahout-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A9469112 for ; Thu, 16 May 2013 18:59:18 +0000 (UTC) Received: (qmail 23649 invoked by uid 500); 16 May 2013 18:59:17 -0000 Delivered-To: apmail-mahout-dev-archive@mahout.apache.org Received: (qmail 23507 invoked by uid 500); 16 May 2013 18:59:17 -0000 Mailing-List: contact dev-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mahout.apache.org Delivered-To: mailing list dev@mahout.apache.org Received: (qmail 23499 invoked by uid 99); 16 May 2013 18:59:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 May 2013 18:59:17 +0000 Date: Thu, 16 May 2013 18:59:17 +0000 (UTC) From: "Suneel Marthi (JIRA)" To: dev@mahout.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MAHOUT-1217) Nearest neighbor searchers sometimes fail to remove points MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAHOUT-1217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13659829#comment-13659829 ] Suneel Marthi commented on MAHOUT-1217: --------------------------------------- a) This issue is not related to the Distance Measure that's being used. b) It only happens in FastProjection Search, works fine with Projection Search. I suspect its got to do with the Array sort that's happening in FastProjection Search. > Nearest neighbor searchers sometimes fail to remove points > ---------------------------------------------------------- > > Key: MAHOUT-1217 > URL: https://issues.apache.org/jira/browse/MAHOUT-1217 > Project: Mahout > Issue Type: Bug > Components: Math > Affects Versions: 0.8 > Reporter: Dan Filimon > > When updating a Centroid in StreamingKMeans, the Centroid needs to be removed and its updated version added. > When removing points in a searcher that are already there, sometimes the searcher fails to return the closest point (the one being searched for) causing a RuntimeException. > This has been observed for TF-IDF vectors with SquaredEuclideanDistance and CosineDistance and FastProjectionSearch. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira