Return-Path: Delivered-To: apmail-lucene-mahout-dev-archive@minotaur.apache.org Received: (qmail 61807 invoked from network); 9 Jun 2009 22:37:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jun 2009 22:37:07 -0000 Received: (qmail 49836 invoked by uid 500); 9 Jun 2009 22:37:19 -0000 Delivered-To: apmail-lucene-mahout-dev-archive@lucene.apache.org Received: (qmail 49764 invoked by uid 500); 9 Jun 2009 22:37:19 -0000 Mailing-List: contact mahout-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mahout-dev@lucene.apache.org Delivered-To: mailing list mahout-dev@lucene.apache.org Received: (qmail 49754 invoked by uid 99); 9 Jun 2009 22:37:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 22:37:19 +0000 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.132.81] (HELO spunkymail-a5.g.dreamhost.com) (208.97.132.81) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Jun 2009 22:37:09 +0000 Received: from [192.168.0.105] (adsl-074-229-189-244.sip.rmo.bellsouth.net [74.229.189.244]) by spunkymail-a5.g.dreamhost.com (Postfix) with ESMTP id 23F89203E2 for ; Tue, 9 Jun 2009 15:36:49 -0700 (PDT) Message-Id: <86AC32FC-7ABC-4FA8-ABBD-605BC054D121@apache.org> From: Grant Ingersoll To: mahout-dev@lucene.apache.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: A Bunch of Vector questions Date: Tue, 9 Jun 2009 18:36:48 -0400 References: X-Mailer: Apple Mail (2.935.3) X-Virus-Checked: Checked by ClamAV on apache.org On Jun 9, 2009, at 5:49 PM, Grant Ingersoll wrote: > I'm looking into the whole labels thing as well as Vector stuff and > I'm confused by a couple of things. > > 1. DirchletMapper assumes DenseVector implementation, no? Line 45? > > 2. Shouldn't DenseVector implement equals like SparseVector does? And, along those lines, do the equals() implementations really need to be class equivalent? In other words, isn't it possible to have a SparseVector and a DenseVector containing the same points be equals(), despite what the SparseVector.equals() method implements? Likewise for VectorView?